-
Notifications
You must be signed in to change notification settings - Fork 110
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
ModuleNotFoundError: No module named 'detectron2.modeling' #96
Comments
Hi, why python -m pip install --quiet 'git+https://github.com/MaureenZOU/detectron2-xyz.git' not working? We modify the d2 for our model. |
Hello,I have also met the same problem about the second instruction:python -m pip install 'git+https://github.com/MaureenZOU/detectron2-xyz.git' ,and it shows: × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. Can u solve it? thank u |
When installing libraries into colab,
!python -m pip install --quiet 'git+https://github.com/MaureenZOU/detectron2-xyz.git' not working so in installed detectron2 by the below method
!git clone https://github.com/facebookresearch/detectron2.git
Now, when importing
from semantic_sam import prepare_image, plot_multi_results, build_semantic_sam, SemanticSAMPredictor
its giving the error
"ModuleNotFoundError: No module named 'detectron2.modeling'"
The text was updated successfully, but these errors were encountered: