pooya-mohammadi / yolov5-gradcam

Visualizing Yolov5's layers using GradCam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to import name 'Box' from 'deep_utils'

MadanMl opened this issue · comments

Even with a trained custom model of version yolov5-v6.1 I am not able to resolve the error. Could you please provide details of your python env and other requirements? Thanks

I was able to solve the issue by altering the ".....site-packages\deep_utils\utils\box_util_init_.py" file and uncommenting the "from .boxes import Box, Point" line

Thanks to @MadanMl , I can solve the same problem. Colab users can navigate to the parent directory of '/content' and find the files mentioned via '/usr/local/lib/python3.9/dist-packages/..'

Thanks to @MadanMl and @SurimJang ,If you encounter such an error in the virtual environment, locate the file in the virtual environment. Mine is:
/lib/python3.9/site-packages/deep_utils/utils/box_utils/init.py
uncommenting the "from .boxes import Box, Point" line