pycocotools的安装

  Windows使用如下命令:

pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

  linux使用如下命令:

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

  使用如下命令进行测试:

from pycocotools.coco import COCO
上一篇:运行SEAM实验的一些问题


下一篇:windows电脑安装pycocotools解决问题