dinov2
dinov2 copied to clipboard
No module named 'dinov2
I was having trouble running dinov2 after running
I would appreciate it if you could let me know if there is a solution
(dinov2) abe@ganesa:~/kuma-ssl/dinov2$ python dinov2/run/train/train.py --nodes 1 --config-file dinov2/configs/train/vitl16_short.yaml
Traceback (most recent call last):
File "/home/abe/kuma-ssl/dinov2/dinov2/run/train/train.py", line 11, in <module>
from dinov2.logging import setup_logging
ModuleNotFoundError: No module named 'dinov2'
(dinov2) abe@ganesa:~/kuma-ssl/dinov2$ ls
CODE_OF_CONDUCT.md LICENSE README.md demo.py hubconf.py requirements-dev.txt scripts setup.py
CONTRIBUTING.md MODEL_CARD.md conda.yaml dinov2 pyproject.toml requirements.txt setup.cfg
(dinov2) abe@ganesa:~/kuma-ssl/dinov2$ cd dinov2/
(dinov2) abe@ganesa:~/kuma-ssl/dinov2/dinov2$ ls
__init__.py __pycache__ configs data distributed eval fsdp layers logging loss models run train utils