MMDetection安装的问题
1. 安装mmcv-full报错(gcc版本不符)
可以离线pip install mmcv-full。
参考mmcv官方文档:https://github.com/open-mmlab/mmcv链接: link.
根据cuda版本和pytorch版本离线下载相应的mmcv-full版本文件。在命令窗口打开文件所在目录,通过语句pip install + 文件名 就可以完成安装。
https://download.openmmlab.com/mmcv/dist/{
cu_version}/{
torch_version}/index.html
https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html
2. 安装mypycocotools报错
建议命令行安装
2.1 open-mmlab/cocoapi
https://github.com/open-mmlab/cocoapi
下载zip后,在pycocotools目录下通过命令行,pip install -v -e.安装