Create name.yaml
Browse files
name.yaml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# YOLOv5 π by Ultralytics, GPL-3.0 license
|
| 2 |
+
# COCO128 dataset https://www.kaggle.com/ultralytics/coco128 (first 128 images from COCO train2017) by Ultralytics
|
| 3 |
+
# Example usage: python train.py --data coco128.yaml
|
| 4 |
+
# parent
|
| 5 |
+
# βββ yolov5
|
| 6 |
+
# βββ datasets
|
| 7 |
+
# βββ coco128 β downloads here (7 MB)
|
| 8 |
+
|
| 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/name # dataset root dir
|
| 12 |
+
train: images/train # train images (relative to 'path') 128 images
|
| 13 |
+
val: images/train # val images (relative to 'path') 128 images
|
| 14 |
+
test: # test images (optional)
|
| 15 |
+
|
| 16 |
+
# Classes
|
| 17 |
+
names:
|
| 18 |
+
0: pikachu
|
| 19 |
+
1: charmander
|
| 20 |
+
2: bulbasaur
|
| 21 |
+
3: squirtle
|
| 22 |
+
4: eevee
|
| 23 |
+
5: other
|
| 24 |
+
6: jigglypuff
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
# Download script/URL (optional)
|
| 28 |
+
download: https://ultralytics.com/assets/coco128.zip
|