Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,4 +1,17 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: image_id
|
|
@@ -25,15 +38,6 @@ dataset_info:
|
|
| 25 |
'0': Square
|
| 26 |
'1': Circle
|
| 27 |
'2': Triangle
|
| 28 |
-
splits:
|
| 29 |
-
- name: train
|
| 30 |
-
num_bytes: 1007276.0
|
| 31 |
-
num_examples: 1000
|
| 32 |
-
- name: test
|
| 33 |
-
num_bytes: 30228.0
|
| 34 |
-
num_examples: 30
|
| 35 |
-
download_size: 614257
|
| 36 |
-
dataset_size: 1037504.0
|
| 37 |
configs:
|
| 38 |
- config_name: default
|
| 39 |
data_files:
|
|
@@ -42,3 +46,41 @@ configs:
|
|
| 42 |
- split: test
|
| 43 |
path: data/test-*
|
| 44 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
pretty_name: Basic Shapes Object Detection
|
| 6 |
+
tags:
|
| 7 |
+
- object-detection
|
| 8 |
+
- simple
|
| 9 |
+
- example
|
| 10 |
+
- basic-geometric-shapes
|
| 11 |
+
annotations_creators:
|
| 12 |
+
- machine-generated
|
| 13 |
+
task_categories:
|
| 14 |
+
- object-detection
|
| 15 |
dataset_info:
|
| 16 |
features:
|
| 17 |
- name: image_id
|
|
|
|
| 38 |
'0': Square
|
| 39 |
'1': Circle
|
| 40 |
'2': Triangle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
configs:
|
| 42 |
- config_name: default
|
| 43 |
data_files:
|
|
|
|
| 46 |
- split: test
|
| 47 |
path: data/test-*
|
| 48 |
---
|
| 49 |
+
|
| 50 |
+
# Basic Shapes Object Detection
|
| 51 |
+
|
| 52 |
+
## Description
|
| 53 |
+
|
| 54 |
+
This Basic Shapes Object Detection dataset has been created to test fine-tuning of object detection models. Fine-tuning some model to detect the basic shapes should be rather easy: just a bit of training should be enough to get the model to do correct object detection quite fast.
|
| 55 |
+
|
| 56 |
+
Each entry in the dataset has a RGB PNG image with a white background and 3 basic geometric shapes:
|
| 57 |
+
|
| 58 |
+
* A blue square
|
| 59 |
+
* A red circle
|
| 60 |
+
* A green triangle
|
| 61 |
+
|
| 62 |
+
All images have the same size. Each image has exactly 1 square, 1 circle and 1 triangle, with their fixed colors. Each entry in the dataset has consequently 3 bounding boxes. The shapes do not overlap.The category IDs are 0, 1 and 2, corresponding to the labels Square, Circle and Triangle.
|
| 63 |
+
|
| 64 |
+
The dataset has exactly the same structure as the https://huggingface.co/datasets/cppe-5 dataset, but fine-tuning some model to this dataset with basic geometric shapes should require considerable less training compared to the cppe-5 dataset. Once you have tested your fine-tuning code on this dataset, it should also work on more complicated datasets such as the cppe-5 dataset.
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
|
| 68 |
+
## Links
|
| 69 |
+
|
| 70 |
+
The Python code to generate the images can be found at https://github.com/DriesVerachtert/basic_shapes_object_detection
|
| 71 |
+
The dataset can be downloaded from https://huggingface.co/datasets/driesverachtert/basic_shapes_object_detection
|
| 72 |
+
|
| 73 |
+
## Structure
|
| 74 |
+
|
| 75 |
+
The bounding boxes are in COCO format (x_min, y_min, width, height).
|
| 76 |
+
|
| 77 |
+
## License
|
| 78 |
+
|
| 79 |
+
This dataset is released under Apache 2.0.
|
| 80 |
+
|
| 81 |
+
## Usage
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from datasets import load_dataset
|
| 85 |
+
dataset = load_dataset("driesverachtert/basic_shapes_object_detection")
|
| 86 |
+
```
|