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

Issue Report and Bug fix: AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0. #12312

Open
hansensamjohn opened this issue Feb 16, 2025 · 0 comments
Assignees

Comments

@hansensamjohn
Copy link

Issue report
File "/mnt/e/EWorkspace/mmdetection/mmdet/init.py", line 17, in and mmcv_version < digit_version(mmcv_maximum_version)),
AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Bug fix
go to line 17 and change "< digit_version(mmcv_maximum_version))" to "<= digit_version(mmcv_maximum_version))"
这里去line17改成<=即可,实测可以运行

@hansensamjohn hansensamjohn changed the title 报错File "/mnt/e/EWorkspace/mmdetection/mmdet/__init__.py", line 17, in <module> and mmcv_version < digit_version(mmcv_maximum_version)), \ AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0. 这里去line17改成<=即可 Issue Report and Bug fix: AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0. Feb 16, 2025
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