名词解释
- COCO 是什么?
Microsoft COCO 是一个标注过的图片数据集,可用以目标检测、分割和描述生成等。Yep, it's all about MS COCO API...
- Pycocotools 是什么?
顾名思义,python api tools of coco...
实操走起
git clone https://github.com/pdollar/coco.git
- 编译
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