Closed zxiol closed 1 year ago
I encountered the same problem as you, did you solve the problem?
Thank you for your interest in our work. This seems to be an incompatibility between package versions. Please try the following packages: torch1.4.0+cu92, mmcv-full1.3.0
Thanks for your reply about this issue, but according to the packages: torch1.4.0+cu92, mmcv-full1.3.0, the error still occurs. I'm wondering if there are incompatibilities between other package versions in requirements.txt?
f'MMCV=={mmcv.__version__} is used but incompatible. ' \
AssertionError: MMCV==1.7.1 is used but incompatible. Please install mmcv>=2.0.0rc4.
Hello, congratulations. Why do packages downloaded according to requirements report errors? Can you help me solve it? Moreover, directly following the instruction {pip install - r requirements. txt} will also result in an error. I really hope you can help me.
Traceback (most recent call last): File "train.py", line 13, in
import models
File "/mnt/cephfs/home/alvin/xionglin/Explicit-Visual-Prompt/models/init.py", line 2, in
from . import segformer, setr
File "/mnt/cephfs/home/alvin/xionglin/Explicit-Visual-Prompt/models/segformer.py", line 12, in
from .mmseg.models import build_segmentor
File "/mnt/cephfs/home/alvin/xionglin/Explicit-Visual-Prompt/models/mmseg/models/init.py", line 1, in
from .backbones import * # noqa: F401,F403
File "/mnt/cephfs/home/alvin/xionglin/Explicit-Visual-Prompt/models/mmseg/models/backbones/init.py", line 1, in
from .cgnet import CGNet
File "/mnt/cephfs/home/alvin/xionglin/Explicit-Visual-Prompt/models/mmseg/models/backbones/cgnet.py", line 10, in
from ...utils import get_root_logger
File "/mnt/cephfs/home/alvin/xionglin/Explicit-Visual-Prompt/models/mmseg/utils/init.py", line 1, in
from .collect_env import collect_env
File "/mnt/cephfs/home/alvin/xionglin/Explicit-Visual-Prompt/models/mmseg/utils/collect_env.py", line 4, in
import mmseg
File "/mnt/cephfs/home/alvin/anaconda3/envs/vpt/lib/python3.6/site-packages/mmseg/init.py", line 62, in
f'MMCV=={mmcv.version} is used but incompatible. ' \
AssertionError: MMCV==1.7.1 is used but incompatible. Please install mmcv>=2.0.0rc4.