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

猜你喜欢

转载自blog.csdn.net/fukangwei_lite/article/details/121500492