#首先将coco工具下载下来
git clone https://github.com/pdollar/coco.git
#切换到Python 对应的API文件夹
cd coco/PythonAPI
#安装方式有两种:
#第一种: install pycocotools locally
python setup.py build_ext --inplace
#第二种: install pycocotools to the Python site-packages
python setup.py build_ext install
Ubuntu编译pycocotools
猜你喜欢
转载自blog.csdn.net/sunmingyang1987/article/details/104231847
今日推荐
周排行