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

AssertionError: MMCV==2.0.0rc3 is used but incompatible. #781

Open
alaa-shubbak opened this issue Apr 24, 2024 · 2 comments
Open

AssertionError: MMCV==2.0.0rc3 is used but incompatible. #781

alaa-shubbak opened this issue Apr 24, 2024 · 2 comments
Assignees

Comments

@alaa-shubbak
Copy link

Checklist

  1. I have searched related issues but cannot get the expected help. yes
  2. I have read the FAQ documentation but cannot get the expected help. yes

I am running this function:
python tools/analysis_tools/count_parameters.py configs/selfsup/simclr/simclr_resnet50_8xb32-coslr-200e_ACID.py

unfortunately, I am stuck in an error of the version of mmcv as bellow :

Traceback (most recent call last):
File "tools/analysis_tools/count_parameters.py", line 6, in
from mmselfsup.models import build_algorithm
File "/home/shubbak/mmselfsup/mmselfsup/init.py", line 29, in
f'MMCV=={mmcv.version} is used but incompatible. '
AssertionError: MMCV==2.0.0rc3 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.1.0.

i think i am using old version but not sure , so how to solve this error ?

@alaa-shubbak
Copy link
Author

can you please help, until now I don't know how I can find those parameters.
as I told you before my model was designed in the old version of myselfsup

@alaa-shubbak
Copy link
Author

i am also trying your code in colab system , and all the time get this error

AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.1.0.

even when try to install mmcv==2.0.0rc4 , mmcv==2.0.0rc5, mmcv==2.0.0rc6 all give error . it seems that there is a bug in your system , right?

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