|
a |
|
b/data/ImageNet100.yaml |
|
|
1 |
# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license |
|
|
2 |
# ImageNet-1k dataset https://www.image-net.org/index.php by Stanford University |
|
|
3 |
# Simplified class names from https://github.com/anishathalye/imagenet-simple-labels |
|
|
4 |
# Example usage: python classify/train.py --data imagenet |
|
|
5 |
# parent |
|
|
6 |
# ├── yolov5 |
|
|
7 |
# └── datasets |
|
|
8 |
# └── imagenet100 ← downloads here |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
# 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, ..] |
|
|
12 |
path: ../datasets/imagenet100 # dataset root dir |
|
|
13 |
train: train # train images (relative to 'path') 1281167 images |
|
|
14 |
val: val # val images (relative to 'path') 50000 images |
|
|
15 |
test: # test images (optional) |
|
|
16 |
|
|
|
17 |
# Classes |
|
|
18 |
names: |
|
|
19 |
0: tench |
|
|
20 |
1: goldfish |
|
|
21 |
2: great white shark |
|
|
22 |
3: tiger shark |
|
|
23 |
4: hammerhead shark |
|
|
24 |
5: electric ray |
|
|
25 |
6: stingray |
|
|
26 |
7: cock |
|
|
27 |
8: hen |
|
|
28 |
9: ostrich |
|
|
29 |
10: brambling |
|
|
30 |
11: goldfinch |
|
|
31 |
12: house finch |
|
|
32 |
13: junco |
|
|
33 |
14: indigo bunting |
|
|
34 |
15: American robin |
|
|
35 |
16: bulbul |
|
|
36 |
17: jay |
|
|
37 |
18: magpie |
|
|
38 |
19: chickadee |
|
|
39 |
20: American dipper |
|
|
40 |
21: kite |
|
|
41 |
22: bald eagle |
|
|
42 |
23: vulture |
|
|
43 |
24: great grey owl |
|
|
44 |
25: fire salamander |
|
|
45 |
26: smooth newt |
|
|
46 |
27: newt |
|
|
47 |
28: spotted salamander |
|
|
48 |
29: axolotl |
|
|
49 |
30: American bullfrog |
|
|
50 |
31: tree frog |
|
|
51 |
32: tailed frog |
|
|
52 |
33: loggerhead sea turtle |
|
|
53 |
34: leatherback sea turtle |
|
|
54 |
35: mud turtle |
|
|
55 |
36: terrapin |
|
|
56 |
37: box turtle |
|
|
57 |
38: banded gecko |
|
|
58 |
39: green iguana |
|
|
59 |
40: Carolina anole |
|
|
60 |
41: desert grassland whiptail lizard |
|
|
61 |
42: agama |
|
|
62 |
43: frilled-necked lizard |
|
|
63 |
44: alligator lizard |
|
|
64 |
45: Gila monster |
|
|
65 |
46: European green lizard |
|
|
66 |
47: chameleon |
|
|
67 |
48: Komodo dragon |
|
|
68 |
49: Nile crocodile |
|
|
69 |
50: American alligator |
|
|
70 |
51: triceratops |
|
|
71 |
52: worm snake |
|
|
72 |
53: ring-necked snake |
|
|
73 |
54: eastern hog-nosed snake |
|
|
74 |
55: smooth green snake |
|
|
75 |
56: kingsnake |
|
|
76 |
57: garter snake |
|
|
77 |
58: water snake |
|
|
78 |
59: vine snake |
|
|
79 |
60: night snake |
|
|
80 |
61: boa constrictor |
|
|
81 |
62: African rock python |
|
|
82 |
63: Indian cobra |
|
|
83 |
64: green mamba |
|
|
84 |
65: sea snake |
|
|
85 |
66: Saharan horned viper |
|
|
86 |
67: eastern diamondback rattlesnake |
|
|
87 |
68: sidewinder |
|
|
88 |
69: trilobite |
|
|
89 |
70: harvestman |
|
|
90 |
71: scorpion |
|
|
91 |
72: yellow garden spider |
|
|
92 |
73: barn spider |
|
|
93 |
74: European garden spider |
|
|
94 |
75: southern black widow |
|
|
95 |
76: tarantula |
|
|
96 |
77: wolf spider |
|
|
97 |
78: tick |
|
|
98 |
79: centipede |
|
|
99 |
80: black grouse |
|
|
100 |
81: ptarmigan |
|
|
101 |
82: ruffed grouse |
|
|
102 |
83: prairie grouse |
|
|
103 |
84: peacock |
|
|
104 |
85: quail |
|
|
105 |
86: partridge |
|
|
106 |
87: grey parrot |
|
|
107 |
88: macaw |
|
|
108 |
89: sulphur-crested cockatoo |
|
|
109 |
90: lorikeet |
|
|
110 |
91: coucal |
|
|
111 |
92: bee eater |
|
|
112 |
93: hornbill |
|
|
113 |
94: hummingbird |
|
|
114 |
95: jacamar |
|
|
115 |
96: toucan |
|
|
116 |
97: duck |
|
|
117 |
98: red-breasted merganser |
|
|
118 |
99: goose |
|
|
119 |
# Download script/URL (optional) |
|
|
120 |
download: data/scripts/get_imagenet100.sh |