赞
踩
目录
pip install mmdet
2022.10.15测试时,mmdet安装时不能自动安装mmcv。
set DISTUTILS_USE_SDK=1
pip install mmcv
如下是安装最新版 mmcv-full
的命令
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html
比如:
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.12.0/index.html
也可以参考这一篇:
ModuleNotFoundError: No module named ‘mmcv._ext‘_AI视觉网奇的博客-CSDN博客
win10上可以,服务器上没成功
'mmdet\ops\nms\src/soft_nms_cpu.pyx' doesn't match any files
2021.06.07报错:
File "E:\project\shibie\insightface-master\detection\scrfd\mmdet\datasets\pipelines\loading.py", line 7, in <module>
from mmdet.core import BitmapMasks, PolygonMasks
ImportError: cannot import name 'BitmapMasks' from 'mmdet.core' (E:\project\shibie\insightface-master\detection\scrfd\mmdet\core\__init__.py)
我的解决方法:
pip install mmdet 自动安装mmcv
win10上可以,服务器上没成功
这个没试过:
2. mmcv
pip install mmcv-full
3. mmdetection
git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
pip install -r requirements/build.txt
pip install -v -e . # or "python setup.py develop"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。