Pra*_*vin 5 python pytorch openmmlab
尝试训练模型但出现 mmcv 错误
No module named 'mmcv._ext'
Run Code Online (Sandbox Code Playgroud)
mmcv 库已安装并导入
mmcv version = 1.4.0
Cuda version = 10.0
Run Code Online (Sandbox Code Playgroud)
有什么建议来解决这个问题吗?
https://github.com/open-mmlab/mmdetection/issues/3271
基本上有两种解决方法。
Run Code Online (Sandbox Code Playgroud)Install latest mmdet and pip install mmcv-full or install pre-build ones from here. Install mmcv==0.6.2 and mmdet==2.2.1
或尝试
首先: pip uninstall mmcv 然后: pip install mmcv-full==latest+torch1.5.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html我的 mmdet 版本是 2.4.0,mmcv> =1.1.0