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

Error in the demos with Google Colab #11684

Open
antoineedy opened this issue May 6, 2024 · 0 comments
Open

Error in the demos with Google Colab #11684

antoineedy opened this issue May 6, 2024 · 0 comments
Assignees

Comments

@antoineedy
Copy link

Some (all?) demos do not work anymore on Google Colab.

To reproduce:
Open any demo in the demo folder, like this one.

Open in Google Colab and run the file. The third output cell is the following:

AssertionError                            Traceback (most recent call last)
<ipython-input-3-a857150f8e0e> in <cell line: 4>()
      2 from mmengine.utils.dl_utils import collect_env as collect_base_env
      3 
----> 4 import mmdet
      5 
      6 

/content/mmdetection/mmdet/__init__.py in <module>
     15 
     16 assert (mmcv_version >= digit_version(mmcv_minimum_version)
---> 17         and mmcv_version < digit_version(mmcv_maximum_version)), \
     18     f'MMCV=={mmcv.__version__} is used but incompatible. ' \
     19     f'Please install mmcv>={mmcv_minimum_version}, <{mmcv_maximum_version}.'

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

This error does not match the !mim install "mmcv>=2.0.0rc4" of the cell above. I tried with changing the version of mmcv to one between 2.0.0rc4 & 2.2.0, but the same error keeps occurring.

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