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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "exp/sysucd_nq_75/65",
|
3 |
+
"activation_function": "relu",
|
4 |
+
"architectures": [
|
5 |
+
"Mask2FormerForUniversalSegmentation"
|
6 |
+
],
|
7 |
+
"backbone_config": {
|
8 |
+
"depths": [
|
9 |
+
2,
|
10 |
+
2,
|
11 |
+
18,
|
12 |
+
2
|
13 |
+
],
|
14 |
+
"drop_path_rate": 0.3,
|
15 |
+
"embed_dim": 128,
|
16 |
+
"hidden_size": 1024,
|
17 |
+
"model_type": "swin",
|
18 |
+
"num_heads": [
|
19 |
+
4,
|
20 |
+
8,
|
21 |
+
16,
|
22 |
+
32
|
23 |
+
],
|
24 |
+
"out_features": [
|
25 |
+
"stage1",
|
26 |
+
"stage2",
|
27 |
+
"stage3",
|
28 |
+
"stage4"
|
29 |
+
],
|
30 |
+
"out_indices": [
|
31 |
+
1,
|
32 |
+
2,
|
33 |
+
3,
|
34 |
+
4
|
35 |
+
],
|
36 |
+
"path_norm": true,
|
37 |
+
"window_size": 12
|
38 |
+
},
|
39 |
+
"class_weight": 2.0,
|
40 |
+
"common_stride": 4,
|
41 |
+
"decoder_layers": 10,
|
42 |
+
"dice_weight": 5.0,
|
43 |
+
"dim_feedforward": 2048,
|
44 |
+
"dropout": 0.0,
|
45 |
+
"encoder_feedforward_dim": 1024,
|
46 |
+
"encoder_layers": 6,
|
47 |
+
"enforce_input_proj": false,
|
48 |
+
"enforce_input_projection": false,
|
49 |
+
"feature_size": 256,
|
50 |
+
"feature_strides": [
|
51 |
+
4,
|
52 |
+
8,
|
53 |
+
16,
|
54 |
+
32
|
55 |
+
],
|
56 |
+
"hidden_dim": 256,
|
57 |
+
"id2label": {
|
58 |
+
"0": "wall",
|
59 |
+
"1": "building",
|
60 |
+
"2": "sky",
|
61 |
+
"3": "floor",
|
62 |
+
"4": "tree",
|
63 |
+
"5": "ceiling",
|
64 |
+
"6": "road",
|
65 |
+
"7": "bed ",
|
66 |
+
"8": "windowpane",
|
67 |
+
"9": "grass",
|
68 |
+
"10": "cabinet",
|
69 |
+
"11": "sidewalk",
|
70 |
+
"12": "person",
|
71 |
+
"13": "earth",
|
72 |
+
"14": "door",
|
73 |
+
"15": "table",
|
74 |
+
"16": "mountain",
|
75 |
+
"17": "plant",
|
76 |
+
"18": "curtain",
|
77 |
+
"19": "chair",
|
78 |
+
"20": "car",
|
79 |
+
"21": "water",
|
80 |
+
"22": "painting",
|
81 |
+
"23": "sofa",
|
82 |
+
"24": "shelf",
|
83 |
+
"25": "house",
|
84 |
+
"26": "sea",
|
85 |
+
"27": "mirror",
|
86 |
+
"28": "rug",
|
87 |
+
"29": "field",
|
88 |
+
"30": "armchair",
|
89 |
+
"31": "seat",
|
90 |
+
"32": "fence",
|
91 |
+
"33": "desk",
|
92 |
+
"34": "rock",
|
93 |
+
"35": "wardrobe",
|
94 |
+
"36": "lamp",
|
95 |
+
"37": "bathtub",
|
96 |
+
"38": "railing",
|
97 |
+
"39": "cushion",
|
98 |
+
"40": "base",
|
99 |
+
"41": "box",
|
100 |
+
"42": "column",
|
101 |
+
"43": "signboard",
|
102 |
+
"44": "chest of drawers",
|
103 |
+
"45": "counter",
|
104 |
+
"46": "sand",
|
105 |
+
"47": "sink",
|
106 |
+
"48": "skyscraper",
|
107 |
+
"49": "fireplace",
|
108 |
+
"50": "refrigerator",
|
109 |
+
"51": "grandstand",
|
110 |
+
"52": "path",
|
111 |
+
"53": "stairs",
|
112 |
+
"54": "runway",
|
113 |
+
"55": "case",
|
114 |
+
"56": "pool table",
|
115 |
+
"57": "pillow",
|
116 |
+
"58": "screen door",
|
117 |
+
"59": "stairway",
|
118 |
+
"60": "river",
|
119 |
+
"61": "bridge",
|
120 |
+
"62": "bookcase",
|
121 |
+
"63": "blind",
|
122 |
+
"64": "coffee table",
|
123 |
+
"65": "toilet",
|
124 |
+
"66": "flower",
|
125 |
+
"67": "book",
|
126 |
+
"68": "hill",
|
127 |
+
"69": "bench",
|
128 |
+
"70": "countertop",
|
129 |
+
"71": "stove",
|
130 |
+
"72": "palm",
|
131 |
+
"73": "kitchen island",
|
132 |
+
"74": "computer",
|
133 |
+
"75": "swivel chair",
|
134 |
+
"76": "boat",
|
135 |
+
"77": "bar",
|
136 |
+
"78": "arcade machine",
|
137 |
+
"79": "hovel",
|
138 |
+
"80": "bus",
|
139 |
+
"81": "towel",
|
140 |
+
"82": "light",
|
141 |
+
"83": "truck",
|
142 |
+
"84": "tower",
|
143 |
+
"85": "chandelier",
|
144 |
+
"86": "awning",
|
145 |
+
"87": "streetlight",
|
146 |
+
"88": "booth",
|
147 |
+
"89": "television receiver",
|
148 |
+
"90": "airplane",
|
149 |
+
"91": "dirt track",
|
150 |
+
"92": "apparel",
|
151 |
+
"93": "pole",
|
152 |
+
"94": "land",
|
153 |
+
"95": "bannister",
|
154 |
+
"96": "escalator",
|
155 |
+
"97": "ottoman",
|
156 |
+
"98": "bottle",
|
157 |
+
"99": "buffet",
|
158 |
+
"100": "poster",
|
159 |
+
"101": "stage",
|
160 |
+
"102": "van",
|
161 |
+
"103": "ship",
|
162 |
+
"104": "fountain",
|
163 |
+
"105": "conveyer belt",
|
164 |
+
"106": "canopy",
|
165 |
+
"107": "washer",
|
166 |
+
"108": "plaything",
|
167 |
+
"109": "swimming pool",
|
168 |
+
"110": "stool",
|
169 |
+
"111": "barrel",
|
170 |
+
"112": "basket",
|
171 |
+
"113": "waterfall",
|
172 |
+
"114": "tent",
|
173 |
+
"115": "bag",
|
174 |
+
"116": "minibike",
|
175 |
+
"117": "cradle",
|
176 |
+
"118": "oven",
|
177 |
+
"119": "ball",
|
178 |
+
"120": "food",
|
179 |
+
"121": "step",
|
180 |
+
"122": "tank",
|
181 |
+
"123": "trade name",
|
182 |
+
"124": "microwave",
|
183 |
+
"125": "pot",
|
184 |
+
"126": "animal",
|
185 |
+
"127": "bicycle",
|
186 |
+
"128": "lake",
|
187 |
+
"129": "dishwasher",
|
188 |
+
"130": "screen",
|
189 |
+
"131": "blanket",
|
190 |
+
"132": "sculpture",
|
191 |
+
"133": "hood",
|
192 |
+
"134": "sconce",
|
193 |
+
"135": "vase",
|
194 |
+
"136": "traffic light",
|
195 |
+
"137": "tray",
|
196 |
+
"138": "ashcan",
|
197 |
+
"139": "fan",
|
198 |
+
"140": "pier",
|
199 |
+
"141": "crt screen",
|
200 |
+
"142": "plate",
|
201 |
+
"143": "monitor",
|
202 |
+
"144": "bulletin board",
|
203 |
+
"145": "shower",
|
204 |
+
"146": "radiator",
|
205 |
+
"147": "glass",
|
206 |
+
"148": "clock",
|
207 |
+
"149": "flag"
|
208 |
+
},
|
209 |
+
"ignore_value": 255,
|
210 |
+
"importance_sample_ratio": 0.75,
|
211 |
+
"init_std": 0.02,
|
212 |
+
"init_xavier_std": 1.0,
|
213 |
+
"label2id": {
|
214 |
+
"airplane": 90,
|
215 |
+
"animal": 126,
|
216 |
+
"apparel": 92,
|
217 |
+
"arcade machine": 78,
|
218 |
+
"armchair": 30,
|
219 |
+
"ashcan": 138,
|
220 |
+
"awning": 86,
|
221 |
+
"bag": 115,
|
222 |
+
"ball": 119,
|
223 |
+
"bannister": 95,
|
224 |
+
"bar": 77,
|
225 |
+
"barrel": 111,
|
226 |
+
"base": 40,
|
227 |
+
"basket": 112,
|
228 |
+
"bathtub": 37,
|
229 |
+
"bed ": 7,
|
230 |
+
"bench": 69,
|
231 |
+
"bicycle": 127,
|
232 |
+
"blanket": 131,
|
233 |
+
"blind": 63,
|
234 |
+
"boat": 76,
|
235 |
+
"book": 67,
|
236 |
+
"bookcase": 62,
|
237 |
+
"booth": 88,
|
238 |
+
"bottle": 98,
|
239 |
+
"box": 41,
|
240 |
+
"bridge": 61,
|
241 |
+
"buffet": 99,
|
242 |
+
"building": 1,
|
243 |
+
"bulletin board": 144,
|
244 |
+
"bus": 80,
|
245 |
+
"cabinet": 10,
|
246 |
+
"canopy": 106,
|
247 |
+
"car": 20,
|
248 |
+
"case": 55,
|
249 |
+
"ceiling": 5,
|
250 |
+
"chair": 19,
|
251 |
+
"chandelier": 85,
|
252 |
+
"chest of drawers": 44,
|
253 |
+
"clock": 148,
|
254 |
+
"coffee table": 64,
|
255 |
+
"column": 42,
|
256 |
+
"computer": 74,
|
257 |
+
"conveyer belt": 105,
|
258 |
+
"counter": 45,
|
259 |
+
"countertop": 70,
|
260 |
+
"cradle": 117,
|
261 |
+
"crt screen": 141,
|
262 |
+
"curtain": 18,
|
263 |
+
"cushion": 39,
|
264 |
+
"desk": 33,
|
265 |
+
"dirt track": 91,
|
266 |
+
"dishwasher": 129,
|
267 |
+
"door": 14,
|
268 |
+
"earth": 13,
|
269 |
+
"escalator": 96,
|
270 |
+
"fan": 139,
|
271 |
+
"fence": 32,
|
272 |
+
"field": 29,
|
273 |
+
"fireplace": 49,
|
274 |
+
"flag": 149,
|
275 |
+
"floor": 3,
|
276 |
+
"flower": 66,
|
277 |
+
"food": 120,
|
278 |
+
"fountain": 104,
|
279 |
+
"glass": 147,
|
280 |
+
"grandstand": 51,
|
281 |
+
"grass": 9,
|
282 |
+
"hill": 68,
|
283 |
+
"hood": 133,
|
284 |
+
"house": 25,
|
285 |
+
"hovel": 79,
|
286 |
+
"kitchen island": 73,
|
287 |
+
"lake": 128,
|
288 |
+
"lamp": 36,
|
289 |
+
"land": 94,
|
290 |
+
"light": 82,
|
291 |
+
"microwave": 124,
|
292 |
+
"minibike": 116,
|
293 |
+
"mirror": 27,
|
294 |
+
"monitor": 143,
|
295 |
+
"mountain": 16,
|
296 |
+
"ottoman": 97,
|
297 |
+
"oven": 118,
|
298 |
+
"painting": 22,
|
299 |
+
"palm": 72,
|
300 |
+
"path": 52,
|
301 |
+
"person": 12,
|
302 |
+
"pier": 140,
|
303 |
+
"pillow": 57,
|
304 |
+
"plant": 17,
|
305 |
+
"plate": 142,
|
306 |
+
"plaything": 108,
|
307 |
+
"pole": 93,
|
308 |
+
"pool table": 56,
|
309 |
+
"poster": 100,
|
310 |
+
"pot": 125,
|
311 |
+
"radiator": 146,
|
312 |
+
"railing": 38,
|
313 |
+
"refrigerator": 50,
|
314 |
+
"river": 60,
|
315 |
+
"road": 6,
|
316 |
+
"rock": 34,
|
317 |
+
"rug": 28,
|
318 |
+
"runway": 54,
|
319 |
+
"sand": 46,
|
320 |
+
"sconce": 134,
|
321 |
+
"screen": 130,
|
322 |
+
"screen door": 58,
|
323 |
+
"sculpture": 132,
|
324 |
+
"sea": 26,
|
325 |
+
"seat": 31,
|
326 |
+
"shelf": 24,
|
327 |
+
"ship": 103,
|
328 |
+
"shower": 145,
|
329 |
+
"sidewalk": 11,
|
330 |
+
"signboard": 43,
|
331 |
+
"sink": 47,
|
332 |
+
"sky": 2,
|
333 |
+
"skyscraper": 48,
|
334 |
+
"sofa": 23,
|
335 |
+
"stage": 101,
|
336 |
+
"stairs": 53,
|
337 |
+
"stairway": 59,
|
338 |
+
"step": 121,
|
339 |
+
"stool": 110,
|
340 |
+
"stove": 71,
|
341 |
+
"streetlight": 87,
|
342 |
+
"swimming pool": 109,
|
343 |
+
"swivel chair": 75,
|
344 |
+
"table": 15,
|
345 |
+
"tank": 122,
|
346 |
+
"television receiver": 89,
|
347 |
+
"tent": 114,
|
348 |
+
"toilet": 65,
|
349 |
+
"towel": 81,
|
350 |
+
"tower": 84,
|
351 |
+
"trade name": 123,
|
352 |
+
"traffic light": 136,
|
353 |
+
"tray": 137,
|
354 |
+
"tree": 4,
|
355 |
+
"truck": 83,
|
356 |
+
"van": 102,
|
357 |
+
"vase": 135,
|
358 |
+
"wall": 0,
|
359 |
+
"wardrobe": 35,
|
360 |
+
"washer": 107,
|
361 |
+
"water": 21,
|
362 |
+
"waterfall": 113,
|
363 |
+
"windowpane": 8
|
364 |
+
},
|
365 |
+
"mask_feature_size": 256,
|
366 |
+
"mask_weight": 5.0,
|
367 |
+
"model_type": "mask2former",
|
368 |
+
"no_object_weight": 0.1,
|
369 |
+
"num_attention_heads": 8,
|
370 |
+
"num_hidden_layers": 10,
|
371 |
+
"num_queries": 75,
|
372 |
+
"output_auxiliary_logits": null,
|
373 |
+
"oversample_ratio": 3.0,
|
374 |
+
"pre_norm": false,
|
375 |
+
"torch_dtype": "float32",
|
376 |
+
"train_num_points": 12544,
|
377 |
+
"transformers_version": "4.35.0.dev0",
|
378 |
+
"use_auxiliary_loss": true
|
379 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7878b8c8146532cc2f7392401c73d4893a8246feba0fab07c77953ce0232c94f
|
3 |
+
size 433865669
|