通常
mim install mmcv==2.0.0rc4
如果报错This error originates from a subprocess, and is likely not a problem with pip.
注释掉了 mmseg/ init.py中第 60 行到第 62 行的部分代码
# assert (mmcv_min_version <= mmcv_version < mmcv_max_version), \
# f'MMCV=={mmcv.__version__} is used but incompatible. ' \
# f'Please install mmcv>=2.0.0rc4.'
网友评论