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

MMCV version #54

Open
KevinHuang1102 opened this issue Apr 5, 2024 · 1 comment
Open

MMCV version #54

KevinHuang1102 opened this issue Apr 5, 2024 · 1 comment

Comments

@KevinHuang1102
Copy link

Sorry,I want to ask for advice.
When I run train.py, I have an error problem(ModuleNotFoundError: No module named 'mmcv')
But after I input (pip install mmcv) in cmd
There is another error(ImportError: cannot import name 'Config' from 'mmcv')
How can I slove this problem?
Or there are specific version I should download?

@Epiee
Copy link

Epiee commented Oct 25, 2024

it worked for me,might be useful.
!pip install torch==1.12.0+cu113 torchvision==0.13.0+cu113 torchaudio==0.12.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html
!pip install -U openmim
!pip install mmcv-full==1.7.1 -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.12.0/index.html
!mim install mmdet==2.28.2

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