AssertionError: Wrong value on scores [0.855 0.828]

When creating a post, please add:
Week3 Convolutional Neural Networks
lab1

have debugged the code again and again but still getting the same error.

Please post a screen capture image that shows the error or any assert messages.

There is an error in your code in the yolo_non_max_suppression() function. The “scores” return value is incorrect when the “classes” are set to all-zeros.

Be sure you are using the newest version of this notebook and the unit_tests.py file. Both were updated in the last three weeks.

I started the assignment today.
how can i update to the latest versions?

That is covered on this thread. Make sure to read all the way to the end to see the discussion about how to handle the supporting files in addition to the notebook (ipynb file).

If you just started the assignment, you should automatically have the newest version.

Be very careful that you don’t use any guidance for this assignment that you find online - because it won’t apply to the new version.

Tom is right, of course. There’s also an easy way to check: the current version is v2.0 as shown in this screenshot:

How to solve this problem? I came up with the same issue here. It seems that scores return two elements but the result suppose to be one. I am not familar with tensorflow.

But when I submit the coding test, I got 100 points. Quite Weird.

It would be worth seeing your code to understand what the bug is that causes the test to fail for the case of the same label. It may be a problem with the grader that it does not also catch that bug. We can’t share code in a public thread, but please check your DMs for a message from me about how to proceed with that.