Spaces:
Paused
Paused
alessandro trinca tornidor
commited on
Commit
·
68e829e
1
Parent(s):
9867df3
feat: remove unused cocostuff_classes.txt, improve package version
Browse files
lisa_on_cuda/__version__.py
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
import importlib.metadata
|
2 |
|
3 |
|
4 |
-
|
|
|
|
|
|
|
|
|
|
1 |
import importlib.metadata
|
2 |
|
3 |
|
4 |
+
try:
|
5 |
+
__version__ = importlib.metadata.version(__package__ or __name__)
|
6 |
+
except importlib.metadata.PackageNotFoundError or ImportError as e:
|
7 |
+
print(f"metadata::e: {type(e)}, {e}: package installed?")
|
8 |
+
__version__ = "1.0.0"
|
lisa_on_cuda/utils/cocostuff_classes.txt
DELETED
@@ -1,183 +0,0 @@
|
|
1 |
-
0: unlabeled
|
2 |
-
1: person
|
3 |
-
2: bicycle
|
4 |
-
3: car
|
5 |
-
4: motorcycle
|
6 |
-
5: airplane
|
7 |
-
6: bus
|
8 |
-
7: train
|
9 |
-
8: truck
|
10 |
-
9: boat
|
11 |
-
10: traffic light
|
12 |
-
11: fire hydrant
|
13 |
-
12: street sign
|
14 |
-
13: stop sign
|
15 |
-
14: parking meter
|
16 |
-
15: bench
|
17 |
-
16: bird
|
18 |
-
17: cat
|
19 |
-
18: dog
|
20 |
-
19: horse
|
21 |
-
20: sheep
|
22 |
-
21: cow
|
23 |
-
22: elephant
|
24 |
-
23: bear
|
25 |
-
24: zebra
|
26 |
-
25: giraffe
|
27 |
-
26: hat
|
28 |
-
27: backpack
|
29 |
-
28: umbrella
|
30 |
-
29: shoe
|
31 |
-
30: eye glasses
|
32 |
-
31: handbag
|
33 |
-
32: tie
|
34 |
-
33: suitcase
|
35 |
-
34: frisbee
|
36 |
-
35: skis
|
37 |
-
36: snowboard
|
38 |
-
37: sports ball
|
39 |
-
38: kite
|
40 |
-
39: baseball bat
|
41 |
-
40: baseball glove
|
42 |
-
41: skateboard
|
43 |
-
42: surfboard
|
44 |
-
43: tennis racket
|
45 |
-
44: bottle
|
46 |
-
45: plate
|
47 |
-
46: wine glass
|
48 |
-
47: cup
|
49 |
-
48: fork
|
50 |
-
49: knife
|
51 |
-
50: spoon
|
52 |
-
51: bowl
|
53 |
-
52: banana
|
54 |
-
53: apple
|
55 |
-
54: sandwich
|
56 |
-
55: orange
|
57 |
-
56: broccoli
|
58 |
-
57: carrot
|
59 |
-
58: hot dog
|
60 |
-
59: pizza
|
61 |
-
60: donut
|
62 |
-
61: cake
|
63 |
-
62: chair
|
64 |
-
63: couch
|
65 |
-
64: potted plant
|
66 |
-
65: bed
|
67 |
-
66: mirror
|
68 |
-
67: dining table
|
69 |
-
68: window
|
70 |
-
69: desk
|
71 |
-
70: toilet
|
72 |
-
71: door
|
73 |
-
72: tv
|
74 |
-
73: laptop
|
75 |
-
74: mouse
|
76 |
-
75: remote
|
77 |
-
76: keyboard
|
78 |
-
77: cell phone
|
79 |
-
78: microwave
|
80 |
-
79: oven
|
81 |
-
80: toaster
|
82 |
-
81: sink
|
83 |
-
82: refrigerator
|
84 |
-
83: blender
|
85 |
-
84: book
|
86 |
-
85: clock
|
87 |
-
86: vase
|
88 |
-
87: scissors
|
89 |
-
88: teddy bear
|
90 |
-
89: hair drier
|
91 |
-
90: toothbrush
|
92 |
-
91: hair brush
|
93 |
-
92: banner
|
94 |
-
93: blanket
|
95 |
-
94: branch
|
96 |
-
95: bridge
|
97 |
-
96: building-other
|
98 |
-
97: bush
|
99 |
-
98: cabinet
|
100 |
-
99: cage
|
101 |
-
100: cardboard
|
102 |
-
101: carpet
|
103 |
-
102: ceiling-other
|
104 |
-
103: ceiling-tile
|
105 |
-
104: cloth
|
106 |
-
105: clothes
|
107 |
-
106: clouds
|
108 |
-
107: counter
|
109 |
-
108: cupboard
|
110 |
-
109: curtain
|
111 |
-
110: desk-stuff
|
112 |
-
111: dirt
|
113 |
-
112: door-stuff
|
114 |
-
113: fence
|
115 |
-
114: floor-marble
|
116 |
-
115: floor-other
|
117 |
-
116: floor-stone
|
118 |
-
117: floor-tile
|
119 |
-
118: floor-wood
|
120 |
-
119: flower
|
121 |
-
120: fog
|
122 |
-
121: food-other
|
123 |
-
122: fruit
|
124 |
-
123: furniture-other
|
125 |
-
124: grass
|
126 |
-
125: gravel
|
127 |
-
126: ground-other
|
128 |
-
127: hill
|
129 |
-
128: house
|
130 |
-
129: leaves
|
131 |
-
130: light
|
132 |
-
131: mat
|
133 |
-
132: metal
|
134 |
-
133: mirror-stuff
|
135 |
-
134: moss
|
136 |
-
135: mountain
|
137 |
-
136: mud
|
138 |
-
137: napkin
|
139 |
-
138: net
|
140 |
-
139: paper
|
141 |
-
140: pavement
|
142 |
-
141: pillow
|
143 |
-
142: plant-other
|
144 |
-
143: plastic
|
145 |
-
144: platform
|
146 |
-
145: playingfield
|
147 |
-
146: railing
|
148 |
-
147: railroad
|
149 |
-
148: river
|
150 |
-
149: road
|
151 |
-
150: rock
|
152 |
-
151: roof
|
153 |
-
152: rug
|
154 |
-
153: salad
|
155 |
-
154: sand
|
156 |
-
155: sea
|
157 |
-
156: shelf
|
158 |
-
157: sky
|
159 |
-
158: skyscraper
|
160 |
-
159: snow
|
161 |
-
160: solid-other
|
162 |
-
161: stairs
|
163 |
-
162: stone
|
164 |
-
163: straw
|
165 |
-
164: structural-other
|
166 |
-
165: table
|
167 |
-
166: tent
|
168 |
-
167: textile-other
|
169 |
-
168: towel
|
170 |
-
169: tree
|
171 |
-
170: vegetable
|
172 |
-
171: wall-brick
|
173 |
-
172: wall-concrete
|
174 |
-
173: wall-other
|
175 |
-
174: wall-panel
|
176 |
-
175: wall-stone
|
177 |
-
176: wall-tile
|
178 |
-
177: wall-wood
|
179 |
-
178: water-other
|
180 |
-
179: waterdrops
|
181 |
-
180: window-blind
|
182 |
-
181: window-other
|
183 |
-
182: wood
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|