下载1.2.1版本:
Releases · open-mmlab/mmsegmentation · GitHub
安装环境
本地torch环境为1.9.1
pip install -U openmim
mim install mmengine
mim install "mmcv>=2.0.0"
报mmcv版本不匹配的问题,形如:'MMCV==X.X.X is used but incompatible. Please install mmcv>=2.0.0rc4.'
mim install "mmcv==2.0.0rc4"
如果你出现了“xxxDataset is not in the dataset registry”的报错提示,在终端运行下面两行指令:
python setup.py