Question about Class4 Week4 Ex1 Function triplet_loss:

I got the following error

“Wrong value. Check your implementation”

The expected output for the loss is 527.2598

When I dumped the test data y_pred and did the calculation outside, it matched with my result (the loss before taking maximum with 0 is a negative number). An interesting thing is that in the outside calculation, the loss for the 2nd training data is 527.2598 which is the same as the expected output.

I am wondering if you can help to confirm the data I am using is correct:

The first few numbers of the anchor data in the 2nd training data are

5.8039265 5.8779097 5.9752083 5.8801894 5.920625 6.1118054 5.9972296

The first few numbers of the positive data in the 2nd training data are

0.72219205 2.2433765 0.3589372 -0.46951807 1.6213002 0.51767194

The first few numbers of the negative data in the 2nd training data are

0.17599607 5.79429 1.3546346 5.6569986 -1.5418763 8.477266