Cannot import yolo_utils

Hi,

I get this error message ModuleNotFoundError: No module named 'yolo_utils’

Thanks.

That probably means that you are trying to run the old version of the YOLO notebook on the new version of the course. They updated everything in April of 2021 and notebooks saved from the previous version of the course no longer work on the new course. You can salvage some of the work by “copy/pasting” from the old versions, but you have to be careful with that. They changed the definitions of several of the APIs in this assignment in particular.

thanks @paulinpaloalto. I have not started to work on this assignment as the error appears right after running the first cell that loads the packages. How can I have access to the updated version? This is the version I get when I launch the assignment. Thanks again. Alan

Hmmmm, I don’t see any reference to yolo_utils in the current version of the notebook. I can’t explain how you got an old version, if you didn’t explicitly upload it.

The only theory I can come up with is that somehow your workspace did not get initialized correctly. One thing to try would be to use the “Get a Fresh Copy” procedure documented on the FAQ Thread. Please give that a try and let us know if it helps or not.

Ok thanks, will do and will keep you posted. Best. Alan

I followed the procedures described in the FAQ Thread and it worked!!: I was able to retrieve the latest version. I see that the first cell does not indeed invoke the yolo_utils. So it’s all good! Thanks again. Alan

That’s great! Thanks for confirming. I still can’t explain how this happened in the first place, but it’s good news there is a fix.