美文网首页
AssertionError: MMCV==2.2.0 is u

AssertionError: MMCV==2.2.0 is u

作者: JIAWEIJIAWEI | 来源:发表于2024-09-11 17:33 被阅读0次

通常

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

相关文章

网友评论

      本文标题:AssertionError: MMCV==2.2.0 is u

      本文链接:https://www.haomeiwen.com/subject/cpypljtx.html