-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathspec2prompt.py
112 lines (112 loc) · 9.58 KB
/
spec2prompt.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
SPEC2PROMPT=[
("n015-2018-10-08-16-03-24+0800__CAM_FRONT_RIGHT__1538985893920339", "agitator truck"),
("n008-2018-07-26-12-13-50-0400__CAM_FRONT_LEFT__1532621987654799", "bulldozer"),
("n015-2018-09-25-11-10-38+0800__CAM_FRONT_RIGHT__1537845410620339", "excavator"),
("n008-2018-08-31-11-37-23-0400__CAM_FRONT_LEFT__1535730408904799", "excavator"),
("n008-2018-08-28-16-16-48-0400__CAM_FRONT_RIGHT__1535488171420482", "asphalt roller"),
("n015-2018-07-16-11-49-16+0800__CAM_FRONT__1531713369862460", "dustcart"),
("n008-2018-08-27-11-48-51-0400__CAM_BACK_RIGHT__1535385125678113", "boom lift vehicle"), #???
("n008-2018-05-21-11-06-59-0400__CAM_FRONT_LEFT__1526915380004917", "boom lift vehicle"), #???
("n008-2018-07-27-12-07-38-0400__CAM_FRONT_LEFT__1532708173504799", "boom lift vehicle"), #???
("n008-2018-08-28-13-40-50-0400__CAM_FRONT_LEFT__1535478904854799", "boom lift vehicle"), #???
("n008-2018-08-31-11-37-23-0400__CAM_FRONT_RIGHT__1535730600920482", "white sedan"),
("n015-2018-08-02-17-16-37+0800__CAM_FRONT_LEFT__1533201590004844", "sports car"),
("n015-2018-07-11-11-54-16+0800__CAM_FRONT_RIGHT__1531281682920366", "black hatchback"),
("n008-2018-07-27-12-07-38-0400__CAM_BACK_RIGHT__1532708582428113", "mini-van"),
("n008-2018-08-01-15-52-19-0400__CAM_BACK_LEFT__1533153361547405", "van"),
("n015-2018-08-01-16-32-59+0800__CAM_FRONT_RIGHT__1533112749670339", "lorry"),
("n015-2018-07-24-11-13-19+0800__CAM_BACK_RIGHT__1532402292127893", "lorry"),
("n008-2018-07-26-12-13-50-0400__CAM_FRONT_LEFT__1532622003004799", "wagon"),
("n008-2018-09-18-14-18-33-0400__CAM_FRONT__1537295261162404", "SUV"),
("n008-2018-08-01-15-16-36-0400__CAM_FRONT_LEFT__1533151266154799", "white SUV"),
("n008-2018-08-30-15-31-50-0400__CAM_FRONT_RIGHT__1535657840020482", "jeep"),
("n008-2018-08-28-16-16-48-0400__CAM_FRONT_RIGHT__1535487532770482", "campervan"),
("n015-2018-07-18-11-18-34+0800__CAM_FRONT_LEFT__1531884396004844", "motorcycle"),
("n015-2018-10-08-16-03-24+0800__CAM_BACK_RIGHT__1538985984627893", "vespa with driver"),
("n015-2018-10-02-11-23-23+0800__CAM_FRONT_LEFT__1538450677854844", "golf cart"), #????
("n008-2018-05-21-11-06-59-0400__CAM_FRONT_RIGHT__1526915381019956", "forklift"),
("n008-2018-08-28-16-16-48-0400__CAM_FRONT_RIGHT__1535487725170482", "scooter with rider"),
("n008-2018-08-01-16-03-27-0400__CAM_FRONT_LEFT__1533154256404799", "skateboard with rider"),
("n008-2018-08-01-16-03-27-0400__CAM_FRONT_LEFT__1533154275504799", "ice cream van"),
("n008-2018-08-01-15-16-36-0400__CAM_BACK_LEFT__1533151526897405", "parcel delivery vehicle"),
("n008-2018-08-31-12-15-24-0400__CAM_BACK_LEFT__1535732735447405", "parcel delivery vehicle"),
("n008-2018-08-01-15-52-19-0400__CAM_FRONT__1533153469362404", "food truck"),
("n008-2018-08-31-12-15-24-0400__CAM_FRONT_RIGHT__1535732234870482", "police car"),
("n008-2018-08-21-11-53-44-0400__CAM_BACK_LEFT__1534867413547405", "police van"),
("n008-2018-08-30-15-52-26-0400__CAM_FRONT_LEFT__1535658904904799", "dog"),
## ("n008-2018-08-30-15-16-55-0400__CAM_FRONT_RIGHT__1535657199170482", "dog"),
## ("n008-2018-08-30-15-16-55-0400__CAM_BACK_LEFT__1535657292647405", "dog"),
("n015-2018-08-01-16-32-59+0800__CAM_BACK_LEFT__1533112743147423", "bird"),
("n015-2018-08-01-16-32-59+0800__CAM_FRONT_LEFT__1533112742154844", "bird"),
("n015-2018-10-02-10-50-40+0800__CAM_BACK_RIGHT__1538448745527893", "double decker bus"),
("n015-2018-11-21-19-38-26+0800__CAM_FRONT_RIGHT__1542800531870339", "double decker bus"),
("n015-2018-08-03-15-00-36+0800__CAM_BACK_LEFT__1533280049697423", "pick up truck for human transport"),
("n008-2018-08-30-15-52-26-0400__CAM_FRONT_RIGHT__1535659294520482", "jogger"),
("n008-2018-08-31-11-56-46-0400__CAM_FRONT_RIGHT__1535731383170482", "stroller"),
("n015-2018-10-08-15-44-23+0800__CAM_FRONT_LEFT__1538984911404844", "two persons walking together"),
("n015-2018-07-24-11-22-45+0800__CAM_BACK_LEFT__1532402887447423", "person with a leaf blower"),
("n015-2018-10-02-11-23-23+0800__CAM_BACK_LEFT__1538450677897423", "chair"),
("n015-2018-08-01-16-32-59+0800__CAM_FRONT_LEFT__1533112843155881", "stairs"),
("n015-2018-07-11-11-54-16+0800__CAM_BACK_LEFT__1531281614297423", "stairs"),
("n008-2018-08-31-11-37-23-0400__CAM_BACK_LEFT__1535730425047405", "horse sculpture"),
("n015-2018-10-08-15-52-24+0800__CAM_BACK_LEFT__1538985230297423", "vase"),
## ("n015-2018-08-01-17-04-15+0800__CAM_FRONT_LEFT__1533114571154844", "stone ball"),
("n015-2018-07-18-11-18-34+0800__CAM_BACK_RIGHT__1531884529927893", "traffic lights"), #CHECK IF THERE ARE MORE
("n008-2018-07-26-12-13-50-0400__CAM_BACK_RIGHT__1532621821928122", "fire hydrant"),
("n008-2018-08-01-15-16-36-0400__CAM_BACK_RIGHT__1533151616928113", "mailbox"),
("n008-2018-08-01-15-16-36-0400__CAM_FRONT_RIGHT__1533151682170482", "mailbox"),
("n008-2018-08-28-16-16-48-0400__CAM_BACK_LEFT__1535487521697405", "mailboxes"),
("n015-2018-08-02-17-28-51+0800__CAM_FRONT_LEFT__1533202383404844", "suitcase"),
("n008-2018-09-18-12-53-31-0400__CAM_BACK_RIGHT__1537289780528113", "wheelbarrow"), #REALLY?
("n015-2018-08-03-15-00-36+0800__CAM_FRONT_LEFT__1533279775004844", "garbage bin"), #SINGLE?
("n015-2018-09-26-11-17-24+0800__CAM_FRONT_LEFT__1537932286654844", "cardboard box"), #CHECK LiDAR
("n015-2018-10-02-11-23-23+0800__CAM_BACK_RIGHT__1538450691627893", "mirror"), #CHECK LiDAR
("n015-2018-11-21-19-58-31+0800__CAM_BACK_LEFT__1542801664697423", "human with an umbrella"), #SINGLE?
("n015-2018-10-08-15-44-23+0800__CAM_FRONT_RIGHT__1538984949870339", "human with an umbrella"), #SINGLE?
("n008-2018-09-18-14-54-39-0400__CAM_BACK_LEFT__1537297068897405", "human with an umbrella"), #SINGLE?
("n015-2018-10-08-16-03-24+0800__CAM_FRONT_LEFT__1538986274654844", "rain barrel"), #LiDAR
("n008-2018-09-18-14-35-12-0400__CAM_BACK_RIGHT__1537296133428113", "mobile toilet"),
("n015-2018-10-08-15-44-23+0800__CAM_FRONT__1538984913412460", "pedestrian crossing"),
("n015-2018-10-08-16-03-24+0800__CAM_FRONT_RIGHT__1538986123270339", "barrier gate"), #???
("n015-2018-10-08-16-03-24+0800__CAM_BACK_RIGHT__1538986127427893", "barrier gate"),
# ('n008-2018-08-01-16-03-27-0400__CAM_BACK_RIGHT__1533153857928113','motorbike'),
('n008-2018-08-01-16-03-27-0400__CAM_BACK_RIGHT__1533153913428113','fire hydrant'),
('n008-2018-08-01-16-03-27-0400__CAM_FRONT__1533153958662404','yellow school bus'),
('n008-2018-08-01-16-03-27-0400__CAM_BACK_LEFT__1533153983947405','fire hydrant'),
('n008-2018-08-01-16-03-27-0400__CAM_FRONT_RIGHT__1533154022620482','bulldozer'),
('n008-2018-08-01-16-03-27-0400__CAM_FRONT__1533154024112404','police officer'),
('n008-2018-08-01-16-03-27-0400__CAM_BACK_LEFT__1533154204947405','chopper'),
('n008-2018-08-01-16-03-27-0400__CAM_FRONT__1533154366912404','boom lift vehicle'),
('n008-2018-08-01-15-34-25-0400__CAM_FRONT_RIGHT__1533152215520482','small bulldozer'),
('n008-2018-08-01-15-34-25-0400__CAM_FRONT_RIGHT__1533152218020491','police officer'),
('n008-2018-08-01-15-34-25-0400__CAM_FRONT__1533152445412404','concrete mixer truck'),
('n008-2018-08-01-15-34-25-0400__CAM_FRONT__1533152463112404','concrete mixer truck'),
('n008-2018-08-01-15-34-25-0400__CAM_BACK_LEFT__1533152650947405','jeep'),
('n008-2018-08-01-15-34-25-0400__CAM_FRONT_RIGHT__1533152912370482','excavator'),
('n008-2018-08-01-15-34-25-0400__CAM_FRONT__1533152914862404','truck crane'),
('n008-2018-08-01-15-34-25-0400__CAM_FRONT_LEFT__1533152917404799','truck crane'),
('n008-2018-08-01-15-34-25-0400__CAM_BACK_LEFT__1533152935047412','cabriolet'),
('n015-2018-07-25-16-15-50+0800__CAM_FRONT__1532506845512460','yellow car'),
('n015-2018-07-25-16-15-50+0800__CAM_FRONT_RIGHT__1532506910870339','baby stroller'),
('n015-2018-07-25-16-15-50+0800__CAM_BACK_LEFT__1532507207397423','green trash bin'),
('n008-2018-08-31-12-15-24-0400__CAM_BACK__1535732379437558','red sedan'),
('n008-2018-08-31-12-15-24-0400__CAM_FRONT__1535732728912404','delivery van'),
('n008-2018-08-28-15-47-40-0400__CAM_FRONT_LEFT__1535486162154799','excavator'),
('n008-2018-08-28-15-47-40-0400__CAM_FRONT__1535486326412404','white truck tractor'),
('n008-2018-08-28-15-47-40-0400__CAM_BACK_LEFT__1535486450447405','baby stroller'),
('n008-2018-08-28-15-47-40-0400__CAM_FRONT_LEFT__1535486537354799','keg barrels'),
('n008-2018-08-28-15-47-40-0400__CAM_BACK_LEFT__1535486692447405','regular-cab truck'),
('n008-2018-08-28-16-05-27-0400__CAM_FRONT_LEFT__1535486883654799','minibus'),
('n008-2018-08-28-16-05-27-0400__CAM_BACK_RIGHT__1535486884628113','trash bin'),
('n015-2018-07-18-11-41-49+0800__CAM_FRONT_RIGHT__1531885352370339','trash bin'),
('n015-2018-07-18-11-41-49+0800__CAM_FRONT_RIGHT__1531885779920339','white suv'),
('n015-2018-07-24-10-42-41+0800__CAM_BACK__1532400226687525','excavator'),
('n008-2018-08-01-15-16-36-0400__CAM_FRONT__1533151073862404','delivery truck'),
('n008-2018-08-01-15-16-36-0400__CAM_FRONT__1533151185012813','black truck with a trailer'),
('n008-2018-08-01-15-16-36-0400__CAM_BACK_RIGHT__1533151189928113','red sedan'),
('n008-2018-08-01-15-16-36-0400__CAM_FRONT_RIGHT__1533151194870482','fire hydrant'),
('n008-2018-08-01-15-16-36-0400__CAM_FRONT_LEFT__1533151377604799','person on a bicycle'),
('n008-2018-08-01-15-16-36-0400__CAM_FRONT_LEFT__1533151472004799','excavator'),
('n008-2018-08-01-15-16-36-0400__CAM_BACK_RIGHT__1533151609028113','mailbox'),
('n008-2018-08-01-15-16-36-0400__CAM_BACK_RIGHT__1533151682678113','scooter'),
]