Datasets:
added metadata files
Browse files- classes.json +12 -0
- error_table.tex +14 -0
- my_dataset_class_count_test.png +3 -0
- my_dataset_class_count_train.png +3 -0
- my_dataset_class_count_val.png +3 -0
- trash-detect.yaml +30 -0
classes.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"0": "Not recyclable",
|
3 |
+
"1": "Food waste",
|
4 |
+
"2": "Glass",
|
5 |
+
"3": "Textile",
|
6 |
+
"4": "Metal",
|
7 |
+
"5": "Wooden",
|
8 |
+
"6": "Leather",
|
9 |
+
"7": "Plastic",
|
10 |
+
"8": "Ceramic",
|
11 |
+
"9": "Paper"
|
12 |
+
}
|
error_table.tex
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
\begin{tabular}{lrrrrrrrrrrr}
|
2 |
+
\toprule
|
3 |
+
Metric & Not recyclable & Food waste & Glass & Textile & Metal & Wooden & Leather & Plastic & Ceramic & Paper & Averaged Across Classes \\
|
4 |
+
\midrule
|
5 |
+
Train Instances & 1041 & 1593 & 819 & 882 & 1418 & 949 & 625 & 1891 & 1693 & 748 & - \\
|
6 |
+
Train Error (\%) & 1.26 & 0.19 & 0.37 & 0.23 & 1.18 & 0.52 & 2.29 & 0.58 & 0.24 & 0.80 & 0.77 \\
|
7 |
+
Val Instances & 221 & 345 & 186 & 183 & 319 & 204 & 118 & 404 & 344 & 158 & - \\
|
8 |
+
Val Error (\%) & 0.45 & 0.88 & 6.90 & 2.66 & 3.91 & 0.00 & 9.23 & 0.74 & 4.97 & 1.86 & 3.16 \\
|
9 |
+
Test Instances & 207 & 342 & 161 & 193 & 313 & 210 & 130 & 423 & 377 & 172 & - \\
|
10 |
+
Test Error (\%) & 5.91 & 0.00 & 7.47 & 2.66 & 1.95 & 2.94 & 0.00 & 3.93 & 4.14 & 6.83 & 3.58 \\
|
11 |
+
\midrule
|
12 |
+
\textbf{Total Error (\%)} & - & - & - & - & - & - & - & - & - & - & \textbf{2.50} \\
|
13 |
+
\bottomrule
|
14 |
+
\end{tabular}
|
my_dataset_class_count_test.png
ADDED
![]() |
Git LFS Details
|
my_dataset_class_count_train.png
ADDED
![]() |
Git LFS Details
|
my_dataset_class_count_val.png
ADDED
![]() |
Git LFS Details
|
trash-detect.yaml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Ultralytics YOLO π, AGPL-3.0 license
|
2 |
+
# COCO8 dataset (first 8 images from COCO train2017) by Ultralytics
|
3 |
+
# Documentation: https://docs.ultralytics.com/datasets/detect/coco8/
|
4 |
+
# Example usage: yolo train data=coco8.yaml
|
5 |
+
# parent
|
6 |
+
# βββ MRS-YOLO
|
7 |
+
# βββ datasets
|
8 |
+
# βββ trash_detection_split β downloads here
|
9 |
+
|
10 |
+
# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
|
11 |
+
path: ../datasets/trash_detection_optimal_split # dataset root dir
|
12 |
+
train: images/train # train images (relative to 'path')
|
13 |
+
val: images/val # val images (relative to 'path')
|
14 |
+
test: images/test # test images (optional)
|
15 |
+
# Classes
|
16 |
+
|
17 |
+
names: # ['Not Recyclable', 'Food waste', 'Glass', 'Textile', 'Metal', 'Wooden', 'Leather', 'Plastic', 'Ceramic', 'Paper']
|
18 |
+
0: Not Recyclable
|
19 |
+
1: Food waste
|
20 |
+
2: Glass
|
21 |
+
3: Textile
|
22 |
+
4: Metal
|
23 |
+
5: Wooden
|
24 |
+
6: Leather
|
25 |
+
7: Plastic
|
26 |
+
8: Ceramic
|
27 |
+
9: Paper
|
28 |
+
|
29 |
+
# Download script/URL (optional)
|
30 |
+
# download: https://huggingface.co/datasets/bryanbocao/coco_minitrain/resolve/main/coco_minitrain_10k.zip
|