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 and mmsegmentation versions incompatability in Docker environment #183

Open
kaavyyaashri opened this issue Aug 28, 2024 · 0 comments
Open

Comments

@kaavyyaashri
Copy link

I am trying to run the code in a docker container, using the pytorch image of version 1.11.0-cuda11.3-cudnn8
the error:
Traceback (most recent call last):
File "SRRM.py", line 20, in
from vit_adapter import build_vit_adapter
File "/app/ViT-Adapter/segmentation/mmseg_custom/models/backbones/vit_adapter.py", line 8, in
from mmseg.models.builder import BACKBONES
File "/opt/conda/lib/python3.8/site-packages/mmseg/init.py", line 61, in
assert (mmcv_min_version <= mmcv_version < mmcv_max_version),
AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4.

I am trying to use the semantic segmentation which is pre-trained on the ADE20K dataset on the custom dataset
Please help me with this issue.

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

1 participant