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

No module named 'detectron2' #1

Open
WebDevXpert opened this issue Dec 17, 2020 · 4 comments
Open

No module named 'detectron2' #1

WebDevXpert opened this issue Dec 17, 2020 · 4 comments

Comments

@WebDevXpert
Copy link

Hello Saad.
I am trying to test this repo on my windows 10, and I am facing this issue.

2020-12-17 20:49:49.429230: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-12-17 20:49:49.477961: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "Gui.py", line 16, in
from detectron2.engine import DefaultPredictor
ModuleNotFoundError: No module named 'detectron2'

I have followed the step you said in Readme. Could you please help me how to resolve this error?

@saadhaxxan
Copy link
Owner

You haven't added the detectron2 build directory in site-packages of your python installation

@WebDevXpert
Copy link
Author

means I have to clone detectron2 in the python Lib folder?

@saadhaxxan
Copy link
Owner

No copy the detectron2 build folder to site-packages of your python installation

@WebDevXpert
Copy link
Author

I have tried this but I am facing this error. I have install pycocotools and visualcppbuild tools

image

image

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

2 participants