forked from WongKinYiu/yolov7
-
Notifications
You must be signed in to change notification settings - Fork 0
/
labels.py
83 lines (82 loc) · 1.35 KB
/
labels.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
from enum import Enum
class COCOLabels(Enum):
PERSON = 0
BICYCLE = 1
CAR = 2
MOTORBIKE = 3
AEROPLANE = 4
BUS = 5
TRAIN = 6
TRUCK = 7
BOAT = 8
TRAFFIC_LIGHT = 9
FIRE_HYDRANT = 10
STOP_SIGN = 11
PARKING_METER = 12
BENCH = 13
BIRD = 14
CAT = 15
DOG = 16
HORSE = 17
SHEEP = 18
COW = 19
ELEPHANT = 20
BEAR = 21
ZEBRA = 22
GIRAFFE = 23
BACKPACK = 24
UMBRELLA = 25
HANDBAG = 26
TIE = 27
SUITCASE = 28
FRISBEE = 29
SKIS = 30
SNOWBOARD = 31
SPORTS_BALL = 32
KITE = 33
BASEBALL_BAT = 34
BASEBALL_GLOVE = 35
SKATEBOARD = 36
SURFBOARD = 37
TENNIS_RACKET = 38
BOTTLE = 39
WINE_GLASS = 40
CUP = 41
FORK = 42
KNIFE = 43
SPOON = 44
BOWL = 45
BANANA = 46
APPLE = 47
SANDWICH = 48
ORANGE = 49
BROCCOLI = 50
CARROT = 51
HOT_DOG = 52
PIZZA = 53
DONUT = 54
CAKE = 55
CHAIR = 56
SOFA = 57
POTTEDPLANT = 58
BED = 59
DININGTABLE = 60
TOILET = 61
TVMONITOR = 62
LAPTOP = 63
MOUSE = 64
REMOTE = 65
KEYBOARD = 66
CELL_PHONE = 67
MICROWAVE = 68
OVEN = 69
TOASTER = 70
SINK = 71
REFRIGERATOR = 72
BOOK = 73
CLOCK = 74
VASE = 75
SCISSORS = 76
TEDDY_BEAR = 77
HAIR_DRIER = 78
TOOTHBRUSH = 79