添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
pip install pycocotools


出现如下bug,则:

File "/...../lib/python3.6/site-packages/pycocotools/coco.py", line 308, in loadRes
if type(resFile) == str or type(resFile) == unicode:

NameError: name 'unicode' is not defined

解决:pip install -U 'git+ https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI '