问题
用以下命令安装了mmcv-full,但是用的时候报错mmcv-full有问题,可以尝试卸载掉,用mmcv的官方代码安装:
pip install -U openmim
mim install mmcv-full
解决方案
这个没有对torch和cuda版本进行对应,可以参考官方网站:Installation — mmcv 1.7.0 documentation
选择对应的操作系统、cuda版本、torch版本,用自带命令进行安装比如:
pip install mmcv-full==1.7.0 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html