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==2.1.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.1.0. #3637

Open
DeShinHwa opened this issue Apr 14, 2024 · 3 comments

Comments

@DeShinHwa
Copy link

DeShinHwa commented Apr 14, 2024

I have encountered this problem when running inference_demo.ipynb with this line of code.

import torch
import matplotlib.pyplot as plt
from mmengine.model.utils import revert_sync_batchnorm
from mmseg.apis import init_model, inference_model, show_result_pyplot

my setup (cuda: 12.1, pytorch:2.1.0, mmseg: 1.2.2, mmcv: 2.1.0, mmengine: 0.10.3)

@AkramSyed002
Copy link

same with me did you guys find any solution

@DeShinHwa
Copy link
Author

same with me did you guys find any solution

just reinstall all packages should be fine.

@antoineedy
Copy link

same with me did you guys find any solution

just reinstall all packages should be fine.

No, it did not work. Same happens with all the demos of MMSegmentation, but MMDet as well, and probably others.

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

3 participants