a b/data/coco128.yaml
1
# YOLOv5 🚀 by Ultralytics, AGPL-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/coco128  # dataset root dir
12
train: images/train2017  # train images (relative to 'path') 128 images
13
val: images/train2017  # val images (relative to 'path') 128 images
14
test:  # test images (optional)
15
16
# Classes
17
names:
18
  0: person
19
  1: bicycle
20
  2: car
21
  3: motorcycle
22
  4: airplane
23
  5: bus
24
  6: train
25
  7: truck
26
  8: boat
27
  9: traffic light
28
  10: fire hydrant
29
  11: stop sign
30
  12: parking meter
31
  13: bench
32
  14: bird
33
  15: cat
34
  16: dog
35
  17: horse
36
  18: sheep
37
  19: cow
38
  20: elephant
39
  21: bear
40
  22: zebra
41
  23: giraffe
42
  24: backpack
43
  25: umbrella
44
  26: handbag
45
  27: tie
46
  28: suitcase
47
  29: frisbee
48
  30: skis
49
  31: snowboard
50
  32: sports ball
51
  33: kite
52
  34: baseball bat
53
  35: baseball glove
54
  36: skateboard
55
  37: surfboard
56
  38: tennis racket
57
  39: bottle
58
  40: wine glass
59
  41: cup
60
  42: fork
61
  43: knife
62
  44: spoon
63
  45: bowl
64
  46: banana
65
  47: apple
66
  48: sandwich
67
  49: orange
68
  50: broccoli
69
  51: carrot
70
  52: hot dog
71
  53: pizza
72
  54: donut
73
  55: cake
74
  56: chair
75
  57: couch
76
  58: potted plant
77
  59: bed
78
  60: dining table
79
  61: toilet
80
  62: tv
81
  63: laptop
82
  64: mouse
83
  65: remote
84
  66: keyboard
85
  67: cell phone
86
  68: microwave
87
  69: oven
88
  70: toaster
89
  71: sink
90
  72: refrigerator
91
  73: book
92
  74: clock
93
  75: vase
94
  76: scissors
95
  77: teddy bear
96
  78: hair drier
97
  79: toothbrush
98
99
100
# Download script/URL (optional)
101
download: https://ultralytics.com/assets/coco128.zip