Can't pass the Programming Assignment 1: Face Recognition even though my solution fits to the expected output

Hi together,

I tried to pass the programming assignment Face Recognition in Coursera. My results are equal to the expected output but it’s nowhere said that all tests are passed like usual (in green). After submitting the assignment I get 66 points of 100 but I need 70 to pass the assignment.
Something seems to go wrong. :frowning:
The Coursera guy was not able to help so I hope you can help me here.

What is the feedback that the grader is giving you, a screenshot!

Sorry, but what do you mean with grader? The thing that is giving feedback after a task? There is none:

Please use linalg.norm from Numpy, not from TensorFlow. If this does not resolve your issue, share a Grader feedback (where it says 66 points).

I’m sorry, but I don’t know where to use this linalg.norm. And in the whole notebook there’s no feedback about any ‘passed test’. Which matrix should I normalize?

The feedback of the grader is:
Code Cell UNQ_C1: Function ‘triplet_loss’ is correct.
Code Cell UNQ_C2: Unexpected error (TypeError(“ufunc ‘isfinite’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’”)) occurred during function check. We expected function verify to return verify test 1 failed. Please check that this function is defined properly.
Code Cell UNQ_C3: Function ‘who_is_it’ is correct.
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.

So, the bug is in your implementation of Exercise 2 - verify. Please check your code of this exercise again.

Hard to tell what’s wrong here if the output is correct:

Please use Numpy:

1 Like

Now it works…
Thanks for your help and your patience. :slight_smile:

But the lack of feedback after a task in this notebook is quite irritating.