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|
12 |
+
],
|
13 |
+
"dilations": [
|
14 |
+
[
|
15 |
+
1,
|
16 |
+
20,
|
17 |
+
1
|
18 |
+
],
|
19 |
+
[
|
20 |
+
1,
|
21 |
+
5,
|
22 |
+
1,
|
23 |
+
10
|
24 |
+
],
|
25 |
+
[
|
26 |
+
1,
|
27 |
+
2,
|
28 |
+
1,
|
29 |
+
3,
|
30 |
+
1,
|
31 |
+
4,
|
32 |
+
1,
|
33 |
+
5,
|
34 |
+
1,
|
35 |
+
2,
|
36 |
+
1,
|
37 |
+
3,
|
38 |
+
1,
|
39 |
+
4,
|
40 |
+
1,
|
41 |
+
5,
|
42 |
+
1,
|
43 |
+
5
|
44 |
+
],
|
45 |
+
[
|
46 |
+
1,
|
47 |
+
2,
|
48 |
+
1,
|
49 |
+
2,
|
50 |
+
1
|
51 |
+
]
|
52 |
+
],
|
53 |
+
"drop_path_rate": 0.3,
|
54 |
+
"embed_dim": 192,
|
55 |
+
"encoder_stride": 32,
|
56 |
+
"feature_channels": [
|
57 |
+
192,
|
58 |
+
384,
|
59 |
+
768,
|
60 |
+
1536
|
61 |
+
],
|
62 |
+
"hidden_act": "gelu",
|
63 |
+
"hidden_dropout_prob": 0,
|
64 |
+
"kernel_size": 11,
|
65 |
+
"layer_scale_init_value": 0.0,
|
66 |
+
"mlp_ratio": 2.0,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_heads": [
|
69 |
+
6,
|
70 |
+
12,
|
71 |
+
24,
|
72 |
+
48
|
73 |
+
],
|
74 |
+
"patch_size": 4,
|
75 |
+
"qkv_bias": true,
|
76 |
+
"strides": [
|
77 |
+
4,
|
78 |
+
8,
|
79 |
+
16,
|
80 |
+
32
|
81 |
+
]
|
82 |
+
},
|
83 |
+
"decoder_config": {
|
84 |
+
"common_stride": 4,
|
85 |
+
"conv_dim": 256,
|
86 |
+
"decoder_layers": 10,
|
87 |
+
"dim_feedforward": 2048,
|
88 |
+
"dropout": 0.1,
|
89 |
+
"encoder_feedforward_dim": 1024,
|
90 |
+
"encoder_layers": 6,
|
91 |
+
"enforce_input_proj": false,
|
92 |
+
"hidden_dim": 256,
|
93 |
+
"mask_dim": 256,
|
94 |
+
"norm": "GN",
|
95 |
+
"num_heads": 8,
|
96 |
+
"pre_norm": false,
|
97 |
+
"query_dec_layers": 2,
|
98 |
+
"use_task_norm": true
|
99 |
+
},
|
100 |
+
"general_config": {
|
101 |
+
"backbone_type": "dinat",
|
102 |
+
"class_weight": 2.0,
|
103 |
+
"contrastive_temperature": 0.07,
|
104 |
+
"contrastive_weight": 0.5,
|
105 |
+
"deep_supervision": true,
|
106 |
+
"dice_weight": 5.0,
|
107 |
+
"ignore_value": 255,
|
108 |
+
"importance_sample_ratio": 0.75,
|
109 |
+
"init_std": 0.02,
|
110 |
+
"init_xavier_std": 1.0,
|
111 |
+
"is_train": false,
|
112 |
+
"layer_norm_eps": 1e-05,
|
113 |
+
"mask_weight": 5.0,
|
114 |
+
"no_object_weight": 0.1,
|
115 |
+
"num_classes": 150,
|
116 |
+
"num_queries": 250,
|
117 |
+
"output_auxiliary_logits": true,
|
118 |
+
"oversample_ratio": 3.0,
|
119 |
+
"train_num_points": 12544,
|
120 |
+
"use_auxiliary_loss": true
|
121 |
+
},
|
122 |
+
"hidden_size": 256,
|
123 |
+
"id2label": {
|
124 |
+
"0": "wall",
|
125 |
+
"1": "building",
|
126 |
+
"2": "sky",
|
127 |
+
"3": "floor",
|
128 |
+
"4": "tree",
|
129 |
+
"5": "ceiling",
|
130 |
+
"6": "road, route",
|
131 |
+
"7": "bed",
|
132 |
+
"8": "window ",
|
133 |
+
"9": "grass",
|
134 |
+
"10": "cabinet",
|
135 |
+
"11": "sidewalk, pavement",
|
136 |
+
"12": "person",
|
137 |
+
"13": "earth, ground",
|
138 |
+
"14": "door",
|
139 |
+
"15": "table",
|
140 |
+
"16": "mountain, mount",
|
141 |
+
"17": "plant",
|
142 |
+
"18": "curtain",
|
143 |
+
"19": "chair",
|
144 |
+
"20": "car",
|
145 |
+
"21": "water",
|
146 |
+
"22": "painting, picture",
|
147 |
+
"23": "sofa",
|
148 |
+
"24": "shelf",
|
149 |
+
"25": "house",
|
150 |
+
"26": "sea",
|
151 |
+
"27": "mirror",
|
152 |
+
"28": "rug",
|
153 |
+
"29": "field",
|
154 |
+
"30": "armchair",
|
155 |
+
"31": "seat",
|
156 |
+
"32": "fence",
|
157 |
+
"33": "desk",
|
158 |
+
"34": "rock, stone",
|
159 |
+
"35": "wardrobe, closet, press",
|
160 |
+
"36": "lamp",
|
161 |
+
"37": "tub",
|
162 |
+
"38": "rail",
|
163 |
+
"39": "cushion",
|
164 |
+
"40": "base, pedestal, stand",
|
165 |
+
"41": "box",
|
166 |
+
"42": "column, pillar",
|
167 |
+
"43": "signboard, sign",
|
168 |
+
"44": "chest of drawers, chest, bureau, dresser",
|
169 |
+
"45": "counter",
|
170 |
+
"46": "sand",
|
171 |
+
"47": "sink",
|
172 |
+
"48": "skyscraper",
|
173 |
+
"49": "fireplace",
|
174 |
+
"50": "refrigerator, icebox",
|
175 |
+
"51": "grandstand, covered stand",
|
176 |
+
"52": "path",
|
177 |
+
"53": "stairs",
|
178 |
+
"54": "runway",
|
179 |
+
"55": "case, display case, showcase, vitrine",
|
180 |
+
"56": "pool table, billiard table, snooker table",
|
181 |
+
"57": "pillow",
|
182 |
+
"58": "screen door, screen",
|
183 |
+
"59": "stairway, staircase",
|
184 |
+
"60": "river",
|
185 |
+
"61": "bridge, span",
|
186 |
+
"62": "bookcase",
|
187 |
+
"63": "blind, screen",
|
188 |
+
"64": "coffee table",
|
189 |
+
"65": "toilet, can, commode, crapper, pot, potty, stool, throne",
|
190 |
+
"66": "flower",
|
191 |
+
"67": "book",
|
192 |
+
"68": "hill",
|
193 |
+
"69": "bench",
|
194 |
+
"70": "countertop",
|
195 |
+
"71": "stove",
|
196 |
+
"72": "palm, palm tree",
|
197 |
+
"73": "kitchen island",
|
198 |
+
"74": "computer",
|
199 |
+
"75": "swivel chair",
|
200 |
+
"76": "boat",
|
201 |
+
"77": "bar",
|
202 |
+
"78": "arcade machine",
|
203 |
+
"79": "hovel, hut, hutch, shack, shanty",
|
204 |
+
"80": "bus",
|
205 |
+
"81": "towel",
|
206 |
+
"82": "light",
|
207 |
+
"83": "truck",
|
208 |
+
"84": "tower",
|
209 |
+
"85": "chandelier",
|
210 |
+
"86": "awning, sunshade, sunblind",
|
211 |
+
"87": "street lamp",
|
212 |
+
"88": "booth",
|
213 |
+
"89": "tv",
|
214 |
+
"90": "plane",
|
215 |
+
"91": "dirt track",
|
216 |
+
"92": "clothes",
|
217 |
+
"93": "pole",
|
218 |
+
"94": "land, ground, soil",
|
219 |
+
"95": "bannister, banister, balustrade, balusters, handrail",
|
220 |
+
"96": "escalator, moving staircase, moving stairway",
|
221 |
+
"97": "ottoman, pouf, pouffe, puff, hassock",
|
222 |
+
"98": "bottle",
|
223 |
+
"99": "buffet, counter, sideboard",
|
224 |
+
"100": "poster, posting, placard, notice, bill, card",
|
225 |
+
"101": "stage",
|
226 |
+
"102": "van",
|
227 |
+
"103": "ship",
|
228 |
+
"104": "fountain",
|
229 |
+
"105": "conveyer belt, conveyor belt, conveyer, conveyor, transporter",
|
230 |
+
"106": "canopy",
|
231 |
+
"107": "washer, automatic washer, washing machine",
|
232 |
+
"108": "plaything, toy",
|
233 |
+
"109": "pool",
|
234 |
+
"110": "stool",
|
235 |
+
"111": "barrel, cask",
|
236 |
+
"112": "basket, handbasket",
|
237 |
+
"113": "falls",
|
238 |
+
"114": "tent",
|
239 |
+
"115": "bag",
|
240 |
+
"116": "minibike, motorbike",
|
241 |
+
"117": "cradle",
|
242 |
+
"118": "oven",
|
243 |
+
"119": "ball",
|
244 |
+
"120": "food, solid food",
|
245 |
+
"121": "step, stair",
|
246 |
+
"122": "tank, storage tank",
|
247 |
+
"123": "trade name",
|
248 |
+
"124": "microwave",
|
249 |
+
"125": "pot",
|
250 |
+
"126": "animal",
|
251 |
+
"127": "bicycle",
|
252 |
+
"128": "lake",
|
253 |
+
"129": "dishwasher",
|
254 |
+
"130": "screen",
|
255 |
+
"131": "blanket, cover",
|
256 |
+
"132": "sculpture",
|
257 |
+
"133": "hood, exhaust hood",
|
258 |
+
"134": "sconce",
|
259 |
+
"135": "vase",
|
260 |
+
"136": "traffic light",
|
261 |
+
"137": "tray",
|
262 |
+
"138": "trash can",
|
263 |
+
"139": "fan",
|
264 |
+
"140": "pier",
|
265 |
+
"141": "crt screen",
|
266 |
+
"142": "plate",
|
267 |
+
"143": "monitor",
|
268 |
+
"144": "bulletin board",
|
269 |
+
"145": "shower",
|
270 |
+
"146": "radiator",
|
271 |
+
"147": "glass, drinking glass",
|
272 |
+
"148": "clock",
|
273 |
+
"149": "flag"
|
274 |
+
},
|
275 |
+
"init_std": 0.02,
|
276 |
+
"init_xavier_std": 1.0,
|
277 |
+
"label2id": {
|
278 |
+
"animal": 126,
|
279 |
+
"arcade machine": 78,
|
280 |
+
"armchair": 30,
|
281 |
+
"awning, sunshade, sunblind": 86,
|
282 |
+
"bag": 115,
|
283 |
+
"ball": 119,
|
284 |
+
"bannister, banister, balustrade, balusters, handrail": 95,
|
285 |
+
"bar": 77,
|
286 |
+
"barrel, cask": 111,
|
287 |
+
"base, pedestal, stand": 40,
|
288 |
+
"basket, handbasket": 112,
|
289 |
+
"bed": 7,
|
290 |
+
"bench": 69,
|
291 |
+
"bicycle": 127,
|
292 |
+
"blanket, cover": 131,
|
293 |
+
"blind, screen": 63,
|
294 |
+
"boat": 76,
|
295 |
+
"book": 67,
|
296 |
+
"bookcase": 62,
|
297 |
+
"booth": 88,
|
298 |
+
"bottle": 98,
|
299 |
+
"box": 41,
|
300 |
+
"bridge, span": 61,
|
301 |
+
"buffet, counter, sideboard": 99,
|
302 |
+
"building": 1,
|
303 |
+
"bulletin board": 144,
|
304 |
+
"bus": 80,
|
305 |
+
"cabinet": 10,
|
306 |
+
"canopy": 106,
|
307 |
+
"car": 20,
|
308 |
+
"case, display case, showcase, vitrine": 55,
|
309 |
+
"ceiling": 5,
|
310 |
+
"chair": 19,
|
311 |
+
"chandelier": 85,
|
312 |
+
"chest of drawers, chest, bureau, dresser": 44,
|
313 |
+
"clock": 148,
|
314 |
+
"clothes": 92,
|
315 |
+
"coffee table": 64,
|
316 |
+
"column, pillar": 42,
|
317 |
+
"computer": 74,
|
318 |
+
"conveyer belt, conveyor belt, conveyer, conveyor, transporter": 105,
|
319 |
+
"counter": 45,
|
320 |
+
"countertop": 70,
|
321 |
+
"cradle": 117,
|
322 |
+
"crt screen": 141,
|
323 |
+
"curtain": 18,
|
324 |
+
"cushion": 39,
|
325 |
+
"desk": 33,
|
326 |
+
"dirt track": 91,
|
327 |
+
"dishwasher": 129,
|
328 |
+
"door": 14,
|
329 |
+
"earth, ground": 13,
|
330 |
+
"escalator, moving staircase, moving stairway": 96,
|
331 |
+
"falls": 113,
|
332 |
+
"fan": 139,
|
333 |
+
"fence": 32,
|
334 |
+
"field": 29,
|
335 |
+
"fireplace": 49,
|
336 |
+
"flag": 149,
|
337 |
+
"floor": 3,
|
338 |
+
"flower": 66,
|
339 |
+
"food, solid food": 120,
|
340 |
+
"fountain": 104,
|
341 |
+
"glass, drinking glass": 147,
|
342 |
+
"grandstand, covered stand": 51,
|
343 |
+
"grass": 9,
|
344 |
+
"hill": 68,
|
345 |
+
"hood, exhaust hood": 133,
|
346 |
+
"house": 25,
|
347 |
+
"hovel, hut, hutch, shack, shanty": 79,
|
348 |
+
"kitchen island": 73,
|
349 |
+
"lake": 128,
|
350 |
+
"lamp": 36,
|
351 |
+
"land, ground, soil": 94,
|
352 |
+
"light": 82,
|
353 |
+
"microwave": 124,
|
354 |
+
"minibike, motorbike": 116,
|
355 |
+
"mirror": 27,
|
356 |
+
"monitor": 143,
|
357 |
+
"mountain, mount": 16,
|
358 |
+
"ottoman, pouf, pouffe, puff, hassock": 97,
|
359 |
+
"oven": 118,
|
360 |
+
"painting, picture": 22,
|
361 |
+
"palm, palm tree": 72,
|
362 |
+
"path": 52,
|
363 |
+
"person": 12,
|
364 |
+
"pier": 140,
|
365 |
+
"pillow": 57,
|
366 |
+
"plane": 90,
|
367 |
+
"plant": 17,
|
368 |
+
"plate": 142,
|
369 |
+
"plaything, toy": 108,
|
370 |
+
"pole": 93,
|
371 |
+
"pool": 109,
|
372 |
+
"pool table, billiard table, snooker table": 56,
|
373 |
+
"poster, posting, placard, notice, bill, card": 100,
|
374 |
+
"pot": 125,
|
375 |
+
"radiator": 146,
|
376 |
+
"rail": 38,
|
377 |
+
"refrigerator, icebox": 50,
|
378 |
+
"river": 60,
|
379 |
+
"road, route": 6,
|
380 |
+
"rock, stone": 34,
|
381 |
+
"rug": 28,
|
382 |
+
"runway": 54,
|
383 |
+
"sand": 46,
|
384 |
+
"sconce": 134,
|
385 |
+
"screen": 130,
|
386 |
+
"screen door, screen": 58,
|
387 |
+
"sculpture": 132,
|
388 |
+
"sea": 26,
|
389 |
+
"seat": 31,
|
390 |
+
"shelf": 24,
|
391 |
+
"ship": 103,
|
392 |
+
"shower": 145,
|
393 |
+
"sidewalk, pavement": 11,
|
394 |
+
"signboard, sign": 43,
|
395 |
+
"sink": 47,
|
396 |
+
"sky": 2,
|
397 |
+
"skyscraper": 48,
|
398 |
+
"sofa": 23,
|
399 |
+
"stage": 101,
|
400 |
+
"stairs": 53,
|
401 |
+
"stairway, staircase": 59,
|
402 |
+
"step, stair": 121,
|
403 |
+
"stool": 110,
|
404 |
+
"stove": 71,
|
405 |
+
"street lamp": 87,
|
406 |
+
"swivel chair": 75,
|
407 |
+
"table": 15,
|
408 |
+
"tank, storage tank": 122,
|
409 |
+
"tent": 114,
|
410 |
+
"toilet, can, commode, crapper, pot, potty, stool, throne": 65,
|
411 |
+
"towel": 81,
|
412 |
+
"tower": 84,
|
413 |
+
"trade name": 123,
|
414 |
+
"traffic light": 136,
|
415 |
+
"trash can": 138,
|
416 |
+
"tray": 137,
|
417 |
+
"tree": 4,
|
418 |
+
"truck": 83,
|
419 |
+
"tub": 37,
|
420 |
+
"tv": 89,
|
421 |
+
"van": 102,
|
422 |
+
"vase": 135,
|
423 |
+
"wall": 0,
|
424 |
+
"wardrobe, closet, press": 35,
|
425 |
+
"washer, automatic washer, washing machine": 107,
|
426 |
+
"water": 21,
|
427 |
+
"window ": 8
|
428 |
+
},
|
429 |
+
"model_type": "oneformer",
|
430 |
+
"num_attention_heads": 8,
|
431 |
+
"num_hidden_layers": 10,
|
432 |
+
"output_attentions": true,
|
433 |
+
"output_hidden_states": true,
|
434 |
+
"text_encoder_config": {
|
435 |
+
"max_seq_len": 77,
|
436 |
+
"task_seq_len": 77,
|
437 |
+
"text_encoder_context_length": 77,
|
438 |
+
"text_encoder_n_ctx": 16,
|
439 |
+
"text_encoder_num_layers": 6,
|
440 |
+
"text_encoder_proj_layers": 2,
|
441 |
+
"text_encoder_vocab_size": 49408,
|
442 |
+
"text_encoder_width": 256
|
443 |
+
},
|
444 |
+
"torch_dtype": "float32",
|
445 |
+
"transformers_version": "4.25.0.dev0"
|
446 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13279f73c47c22c0bc2748ede48c3585551d3210c542ee1fc6fa49dc9dc8baf8
|
3 |
+
size 893201965
|