Update README.md
Browse files
README.md
CHANGED
@@ -7,13 +7,13 @@ dataset_info:
|
|
7 |
dtype: string
|
8 |
splits:
|
9 |
- name: train
|
10 |
-
num_bytes:
|
11 |
num_examples: 16
|
12 |
- name: test
|
13 |
-
num_bytes:
|
14 |
num_examples: 4
|
15 |
-
download_size:
|
16 |
-
dataset_size: 79465980
|
17 |
configs:
|
18 |
- config_name: default
|
19 |
data_files:
|
@@ -21,4 +21,98 @@ configs:
|
|
21 |
path: data/train-*
|
22 |
- split: test
|
23 |
path: data/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
dtype: string
|
8 |
splits:
|
9 |
- name: train
|
10 |
+
num_bytes: 63282156.6
|
11 |
num_examples: 16
|
12 |
- name: test
|
13 |
+
num_bytes: 16183823.4
|
14 |
num_examples: 4
|
15 |
+
download_size: 79471863
|
16 |
+
dataset_size: 79465980
|
17 |
configs:
|
18 |
- config_name: default
|
19 |
data_files:
|
|
|
21 |
path: data/train-*
|
22 |
- split: test
|
23 |
path: data/test-*
|
24 |
+
license: apache-2.0
|
25 |
+
task_categories:
|
26 |
+
- object-detection
|
27 |
+
- multiple-choice
|
28 |
+
language:
|
29 |
+
- en
|
30 |
+
tags:
|
31 |
+
- object
|
32 |
+
- objectDetection
|
33 |
+
- detection
|
34 |
+
- cpg
|
35 |
+
- indoor
|
36 |
+
- label
|
37 |
+
- labels
|
38 |
+
- labeled
|
39 |
+
- multiInstance
|
40 |
+
size_categories:
|
41 |
+
- 1K<n<10K
|
42 |
---
|
43 |
+
|
44 |
+
# Multi Instance Object Detection Dataset Sample
|
45 |
+
|
46 |
+
[Duality.ai](https://www.duality.ai/edu) just released a 1000 image dataset used to train a YOLOv8 model for object detection -- and it's 100% free!
|
47 |
+
|
48 |
+
Just [create an EDU account here](https://falcon.duality.ai/secure/documentation/ex4-dataset?sidebarMode=learn&utm_source=huggingface&utm_medium=dataset&utm_campaign=multiinstance).
|
49 |
+
|
50 |
+
This HuggingFace dataset is a 20 image and label sample, but you can get the rest at no cost by [creating a FalconCloud account](https://falcon.duality.ai/secure/documentation/ex4-dataset?sidebarMode=learn&utm_source=huggingface&utm_medium=dataset&utm_campaign=multiinstance). Once you verify your email, the link will redirect you to the dataset page.
|
51 |
+

|
52 |
+
# Dataset Overview
|
53 |
+
This dataset consists of high-quality images of soup cans captured in various poses and lighting conditions. This dataset is structured to train and test object detection models, specifically YOLO-based and other object detection frameworks.
|
54 |
+
|
55 |
+
#### Why Use This Dataset?
|
56 |
+
- Multi Instance Object Detection: Specifically curated for detecting soup cans, making it ideal for fine-tuning models for retail, inventory management, or robotics applications.
|
57 |
+
|
58 |
+
- Varied Environments: The dataset contains images with different lighting conditions, poses, and occlusions to help solve traditional recall problems in real world object detection.
|
59 |
+
|
60 |
+
- Accurate Annotations: Bounding box annotations are precise and automatically labeled in YOLO format as the data is created.
|
61 |
+
|
62 |
+
|
63 |
+
**Create your own specialized data!**
|
64 |
+
You can create a dataset like this but a digital twin of your choosing! [Create an account and follow this tutorial to learn how](https://falcon.duality.ai/secure/documentation/ex2-objdetection-newtwin?sidebarMode=learn&utm_source=huggingface&utm_medium=dataset&utm_campaign=multiinstance).
|
65 |
+
|
66 |
+
# Dataset Structure
|
67 |
+
|
68 |
+
The dataset is organized as follows:
|
69 |
+
|
70 |
+
```plaintext
|
71 |
+
Multi Instance Object Detection Dataset/
|
72 |
+
|-- images/
|
73 |
+
| |-- 000000000.png
|
74 |
+
| |-- 000000001.png
|
75 |
+
| |-- ...
|
76 |
+
|-- labels/
|
77 |
+
| |-- 000000000.txt
|
78 |
+
| |-- 000000001.txt
|
79 |
+
| |-- ...
|
80 |
+
```
|
81 |
+
|
82 |
+
### Components
|
83 |
+
|
84 |
+
Images: RGB images of the object in `.png` format.
|
85 |
+
|
86 |
+
Labels: Text files (`.txt`) containing bounding box annotations for each class:
|
87 |
+
- 0 = soup
|
88 |
+
|
89 |
+
### Example Annotation (YOLO Format):
|
90 |
+
|
91 |
+
```plaintext
|
92 |
+
0 0.475 0.554 0.050 0.050
|
93 |
+
0 0.685 0.264 0.070 0.128
|
94 |
+
```
|
95 |
+
|
96 |
+
- 0 represents the object class (soup can).
|
97 |
+
- The next four values represent the bounding box coordinates (normalized x_center, y_center, width, height).
|
98 |
+
- Multiple lines are annotations for multiple instances
|
99 |
+
|
100 |
+
### Usage
|
101 |
+
This dataset is designed to be used with popular deep learning frameworks. Run these commands:
|
102 |
+
|
103 |
+
```plaintext
|
104 |
+
from datasets import load_dataset
|
105 |
+
```
|
106 |
+
```plaintext
|
107 |
+
dataset = load_dataset("your-huggingface-username/YOLOv8-Multi-Instance-Object-Detection-Dataset")
|
108 |
+
```
|
109 |
+
|
110 |
+
To train a YOLOv8 model, you can use Ultralytics' yolo package:
|
111 |
+
|
112 |
+
```plaintext
|
113 |
+
yolo train model=yolov8n.pt data=soup_can.yaml epochs=50 imgsz=640
|
114 |
+
```
|
115 |
+
|
116 |
+
Licensing
|
117 |
+
License: Apache 2.0
|
118 |
+
Attribution: If you use this dataset in research or commercial projects, please provide appropriate credit.
|