进入如下网址:
https://download.openmmlab.com/mmcv/dist/cu113/torch1.10.0/index.html
选择与创建conda虚拟环境的python版本匹配的whl文件,下载到本地~
上传至服务器指定目录,进入conda环境后,使用 pip install 命令安装。
mmcv网址:
https://mmcv.readthedocs.io/en/latest/get_started/installation.html
根据环境版本安装mmcv例如:
pip install mmcv==2.2.0 -f https://download.openmmlab.com/mmcv/dist/cu118/torch2.4/index.html
对于安装mmcv-full,首要条件是与设备cuda版本必须对应,torch版本的选择可以向下兼容。另外python版本同样需要与conda环境设置一致~