TransFusion icon indicating copy to clipboard operation
TransFusion copied to clipboard

weird mmcv version error

Open YangHan-Morningstar opened this issue 2 years ago • 8 comments

Hi there, thanks for your great work! When I'm training, my packages' version are all right, but I still get an error:

AssertionError: MMCV==1.4.8 is used but incompatible. Please install mmcv>=1.2.4, <=1.4.0.

When I reinstall using 'pip install mmcv-full==1.2.5', I get another similar error which says ''MMCV==1.2.5 is used but incompatible. Please install......''

Could your help me?

YangHan-Morningstar avatar Jul 02 '22 14:07 YangHan-Morningstar

By the way, I reinstall my whole environment and the init mmcv's version is 1.4.0, but still get the similar error just like above. There is always this version error....

YangHan-Morningstar avatar Jul 02 '22 14:07 YangHan-Morningstar

I also encountered the similar problem, have you found the solution for this? Or anyone knows how to solve this ?

Richard-LYF avatar Sep 20 '22 16:09 Richard-LYF

I also encountered the similar problem, I cannot install this.

hlsheng1 avatar Sep 24 '22 06:09 hlsheng1

By the way, I reinstall my whole environment and the init mmcv's version is 1.4.0, but still get the similar error just like above. There is always this version error....

Did you solve this mmcv version error? I faced same error and couldn't solve it yet.

z-tufekci avatar May 31 '23 16:05 z-tufekci

I have the same error, any updates?

Rennylex avatar Jun 30 '23 00:06 Rennylex

By the way, I reinstall my whole environment and the init mmcv's version is 1.4.0, but still get the similar error just like above. There is always this version error....

Did you solve this mmcv version error? I faced same error and couldn't solve it yet.

Did you solve yours?

Rennylex avatar Jun 30 '23 15:06 Rennylex

Hi there, we can find the correct versions in /.../mmdet/init.py and other init.py. image If you have installed mmsegmentation, you should make sure your mmcv's version also correct in /.../mmseg/init.py.

YangHan-Morningstar avatar Jul 09 '23 23:07 YangHan-Morningstar

Hi there, we can find the correct versions in /.../mmdet/init.py and other init.py. image If you have installed mmsegmentation, you should make sure your mmcv's version also correct in /.../mmseg/init.py.

Hi,

I've also encountered the same problem when I tried to prepare data with python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes. Unfortunately, all combinations between mmcv (1.2.4 to 1.3.0) and mmdet (2.5.0 to 3.0.0) have been tried and none of them worked.

Could you please share you version info if that on your side works?

(More info of mine: 2 A6000 GPU Ubuntu 20.04 CUDA 11.1 PyTorch 1.9.1 mmdet3d 0.11.0)

Thanks :)

changxu-zhang avatar Jul 11 '23 18:07 changxu-zhang