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
andlvis-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
.
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"
- Change into pycocotools
- Run bdist.sh
- Upload generate wheel files using twine
- cocoapi of COCO dataset.
- lvis-api of LVIS dataset.