Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import name 'Box' from 'deep_utils' #31

Open
MadanMl opened this issue Mar 28, 2023 · 3 comments
Open

Unable to import name 'Box' from 'deep_utils' #31

MadanMl opened this issue Mar 28, 2023 · 3 comments

Comments

@MadanMl
Copy link

MadanMl commented Mar 28, 2023

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

@MadanMl
Copy link
Author

MadanMl commented Mar 28, 2023

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

@SurimJang
Copy link

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/..'

@dapenglang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants