Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,4 +7,71 @@ sdk: static
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
More datasets to come! 🔥
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
<div align="center">
|
| 11 |
+
|
| 12 |
+
<img src="https://raw.githubusercontent.com/blinjrm/detection-datasets/main/images/dd_logo.png" alt="logo" width="100"/>
|
| 13 |
+
|
| 14 |
+
<br>
|
| 15 |
+
|
| 16 |
+
# Detection datasets
|
| 17 |
+
|
| 18 |
+
<a href="https://www.python.org/"><img alt="Python" src="https://img.shields.io/badge/-Python 3.7-blue?style=flat-square&logo=python&logoColor=white"></a>
|
| 19 |
+
<a href="https://black.readthedocs.io/en/stable/"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-black.svg?style=flat-square&labelColor=gray"></a>
|
| 20 |
+
<a href="https://github.com/blinjrm/detection-datasets/actions/workflows/ci.yaml"><img src="https://img.shields.io/github/workflow/status/blinjrm/detection-datasets/CI?label=CI&style=flat-square"/></a>
|
| 21 |
+
<a href="https://github.com/blinjrm/detection-datasets/actions/workflows/pypi.yaml"><img src="https://img.shields.io/github/workflow/status/blinjrm/detection-datasets/Python%20package?label=Build&style=flat-square"/></a>
|
| 22 |
+
<a href="https://pypi.org/project/detection-datasets/"><img src="https://img.shields.io/pypi/status/detection-datasets?style=flat-square"/></a>
|
| 23 |
+
|
| 24 |
+
<br>
|
| 25 |
+
|
| 26 |
+
*Easily load and transform datasets for object detection.*
|
| 27 |
+
|
| 28 |
+
</div>
|
| 29 |
+
<br>
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
**Documentation**: https://blinjrm.github.io/detection-datasets/
|
| 34 |
+
|
| 35 |
+
**Source Code**: https://github.com/blinjrm/detection-datasets
|
| 36 |
+
|
| 37 |
+
**Datasets on Hugging Face Hub**: https://huggingface.co/detection-datasets
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
<br>
|
| 42 |
+
|
| 43 |
+
`detection_datasets` aims to make it easier to work with detection datasets.
|
| 44 |
+
|
| 45 |
+
This library works alongside the [Detection dataset](https://huggingface.co/detection-datasets) organisation on the Hugging Face Hub, where some detection datasets have been uploaded in the format expected by the library, and are ready to use.
|
| 46 |
+
|
| 47 |
+
The main features are:
|
| 48 |
+
* **Read** the dataset :
|
| 49 |
+
* From disk if it has already been downloaded.
|
| 50 |
+
* Directly from the Hugging Face Hub if it [already exist](https://huggingface.co/detection-datasets).
|
| 51 |
+
* **Transform** the dataset:
|
| 52 |
+
* Select a subset of data.
|
| 53 |
+
* Remap categories.
|
| 54 |
+
* Create new train-val-test splits.
|
| 55 |
+
* **Visualize** the annotations and images.
|
| 56 |
+
* **Write** the dataset:
|
| 57 |
+
* To disk, selecting the target detection format: `COCO`, `YOLO` and more to come.
|
| 58 |
+
* To the Hugging Face Hub for easy reuse in a different environment and share with the community.
|
| 59 |
+
|
| 60 |
+
<br>
|
| 61 |
+
|
| 62 |
+
<div align="center">
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
*Read the quick start bellow, or directly jump to the tutorials:*
|
| 67 |
+
|
| 68 |
+
| Goal | Tutorial | Colab |
|
| 69 |
+
|--------------------------------------|:--------:|:-----:|
|
| 70 |
+
| Load from disk and upload to the Hub | [Open in the docs](https://blinjrm.github.io/detection-datasets/tutorials/1_Read/) | [](https://colab.research.google.com/github/blinjrm/detection-datasets/blob/main/docs/tutorials/1_Read.ipynb) |
|
| 71 |
+
| Load from the Hub and transform | [Open in the docs](https://blinjrm.github.io/detection-datasets/tutorials/2_Transform/) | [](https://colab.research.google.com/github/blinjrm/detection-datasets/blob/main/docs/tutorials/2_Transform.ipynb) |
|
| 72 |
+
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
</div>
|
| 76 |
+
|
| 77 |
More datasets to come! 🔥
|