windows 安装 coco API

Linux 安装 COCO API 极为简单,但是由于官方的 COCO API 安装包不提供 Windows 支持,因此使用大神修改过的支持 Windows 版本的安装包。

  1. # 下载
  2. $ wget https://github.com/philferriere/cocoapi/archive/master.zip
  3. # 解压
  4. $ unzip master.zip -d cocoapi_master
  5. # 编译
  6. $ cd coco/PythonAPI
  7. $ python setup.py build_ext --inplace
  8. # install pycocotools to the Python site-packages
  9. $ python setup.py build_ext install
-------------本文结束 感谢阅读-------------
0%