XuyangBai / TransFusion

[PyTorch] Official implementation of CVPR2022 paper "TransFusion: Robust LiDAR-Camera Fusion for 3D Object Detection with Transformers". https://arxiv.org/abs/2203.11496
Apache License 2.0
619 stars 76 forks source link

weird mmcv version error #36

Open YangHan-Morningstar opened 2 years ago

YangHan-Morningstar commented 2 years ago

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 commented 2 years ago

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....

Richard-LYF commented 1 year ago

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

hlsheng1 commented 1 year ago

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

z-tufekci commented 1 year ago

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.

Rennylex commented 1 year ago

I have the same error, any updates?

Rennylex commented 1 year ago

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?

YangHan-Morningstar commented 1 year ago

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.

changxu-zhang commented 1 year ago

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 :)