首页 > 其他 > 详细

mmdetection安装问题

时间:2020-09-11 23:13:06      阅读:134      评论:0      收藏:0      [点我收藏+]

安装版本v2.0+

1. pycocotools错误

安装mmdetection forked的版本

# Install cocoapi
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
# Install lvis-api
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=lvis"

v1.x安装

pip install git+https://github.com/waleedka/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI

或者

git clone https://github.com/pdollar/coco.git

cd coco/PythonAPI
make
sudo make install
sudo python setup.py install

before doing above steps install cython

 

mmdetection安装问题

原文:https://www.cnblogs.com/haiyang21/p/13653794.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!