Skip to content

waikato-ufdl/cocoapi

 
 

Repository files navigation

OpenMMLab cocoapi

In this repo, we merged COCO and LVIS API into one repo.

For bug fixes and better compatability with OpenMMLab projects, we fork from original repo, which receive few updates is likely to cause problems with some latest dependencies like numpy. We remove some legacy codes and unify the api of COCO and LVIS since they share similar functions.

Notes:

  • We add snack case aliases for functions of COCO.
  • The package version requirement of lvis-api is relaxed.
  • The major version of cocoapi and lvis-api in this repo is offseted by 10. Namely, cocoapi@2.0.0->cocoapi@12.0.0, lvis-api@0.5.2->lvis-api@10.5.2.

Installation

Currently, you could install by run

# Install cocoapi
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
# Install lvis-api
pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=lvis"

Build wheel files (pycocotools)

Reference

Languages

  • Jupyter Notebook 93.2%
  • Python 4.9%
  • C++ 0.7%
  • Cython 0.6%
  • C 0.5%
  • Shell 0.1%