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