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

ModuleNotFoundError: No module named 'detectron2.projects.uniref' #5

Open
juanit-ai opened this issue Jan 6, 2024 · 1 comment
Open

Comments

@juanit-ai
Copy link

Hello,

When running the script for evaluation (projects/UniRef/train_net.py), it seems that is looking for uniref in detectron2/projects when there is nothing in that directory.

This issue seems to be happening on line 28, when it tries to import

from detectron2.projects.uniref import add_uniref_config, build_detection_train_loader, build_detection_test_loader

thanks in advance, also really cool work :D

@wjn922
Copy link
Collaborator

wjn922 commented Jan 7, 2024

Thanks for your interest.

The script works fine for us. Did you follow the INSTALL.md to build the environment? Please note that detectron2 should be built from this repo.

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