这里写自定义目录标题
关于解决cuda和mmcv版本不匹配的问题
起初认为是 cudatoolkit包版本和安装的nvidia cuda ToolKit 版本不对应,卸载又重装,发现没有用。
解决方法
是因为mmcv-full的版本不对应,应该按照自己的cuda和torch版本去官网下载mmcv,(mmcv install 指南)
例如 我是下载 pytorch 1.10.0 cuda版本为11.3
下载官网目录为:https://download.openmmlab.com/mmcv/dist/cu113/torch1.10.0/index.html
其他版本具体 请参考
pip install mmcv-full=={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html
我安装地址为:
pip install mmcv-full==1.3.18 -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.10.0/index.html
mmcv版本号确认
!!!谨慎安装版本 1.4.0 !!!
个人建议
可以先去官网上看以下版本号,然后去下载!