https://github.com/shunk031/huggingface-datasets_cocoapi-tools
A helper library for easily converting MSCOCO format data using the loading script of huggingface datasets.
https://github.com/shunk031/huggingface-datasets_cocoapi-tools
huggingface-datasets mscoco mscoco-dataset
Last synced: 5 months ago
JSON representation
A helper library for easily converting MSCOCO format data using the loading script of huggingface datasets.
- Host: GitHub
- URL: https://github.com/shunk031/huggingface-datasets_cocoapi-tools
- Owner: shunk031
- Created: 2024-06-20T13:02:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-02T00:54:42.000Z (about 1 year ago)
- Last Synced: 2025-04-16T04:45:54.496Z (6 months ago)
- Topics: huggingface-datasets, mscoco, mscoco-dataset
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# COCO API tools for 🤗 Huggingface Dataset
[](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/ci.yaml)
[](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/release.yaml)
[](https://github.com/shunk031/huggingface-datasets_cocoapi-tools/actions/workflows/deploy.yaml)
[](https://pypi.python.org/pypi/huggingface-datasets-cocoapi-tools)
[](https://pypi.python.org/pypi/huggingface-datasets-cocoapi-tools)A helper library for easily converting [MSCOCO format data](https://cocodataset.org/#home) using [the loading script](https://huggingface.co/docs/datasets/dataset_script) of [🤗 huggingface datasets](https://github.com/huggingface/datasets).
## Installation
You can install the library via pip:
```shell
pip install huggingface-datasets-cocoapi-tools
```You can also install the library with the optional dependencies:
```shell
# for pycocotools
pip install 'huggingface-datasets-cocoapi-tools[cocoapi]'# for huggingface/datasets
pip install 'huggingface-datasets-cocoapi-tools[datasets]'# for all dependencies
pip install 'huggingface-datasets-cocoapi-tools[all]'
```## Acknowledgement
- cocodataset/cocoapi: COCO API - Dataset @ http://cocodataset.org/ https://github.com/cocodataset/cocoapi
- ppwwyyxx/cocoapi: Contains the "pycocotools" package on PyPI. Changes made to the official cocoapi about packaging. https://github.com/ppwwyyxx/cocoapi
- nightrome/cocostuffapi: COCO Stuff API https://github.com/nightrome/cocostuffapi