mmsegmentation
mmsegmentation copied to clipboard
MMCV==2.0.0 is used but incompatible.
I am trying to install mmseg following the instructions:
!mim install "mmcv>=2.0.0" -t /local_folder/
!mim install mmengine -t /local_folder/
!git clone https://github.com/open-mmlab/mmsegmentation.git
%cd mmsegmentation
!git checkout main
!pip install -e .
However, I get this error:
7 import mmcv
8 print(mmcv.__version__)
---> 10 from mmsegmentation.mmseg.apis import inference_segmentor, init_segmentor
....
AssertionError: MMCV==2.0.0 is used but incompatible. Please install mmcv>=1.3.17, <=1.5.0.
Why is it requesting MMCV 1.5.0 ? MMSEG is previewed for MMCV == 2.0.0.
Note: I am using torch==1.12.1+cu116.
I'm getting a similar error. Is there a solution to this?
AssertionError: MMCV==2.0.1 is used but incompatible. Please install mmcv>=(1, 3, 13, 0, 0, 0), <(1, 7, 0, 0, 0, 0).
I got a similiar error and I fixed it. You should install mmcv==2.0.0rc4 and mmcv_full==1.7.1 and pip install ftfy