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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"activation_function": "relu",
|
4 |
+
"architectures": [
|
5 |
+
"Mask2FormerForUniversalSegmentation"
|
6 |
+
],
|
7 |
+
"backbone_config": {
|
8 |
+
"_name_or_path": "",
|
9 |
+
"add_cross_attention": false,
|
10 |
+
"architectures": null,
|
11 |
+
"attention_probs_dropout_prob": 0.0,
|
12 |
+
"bad_words_ids": null,
|
13 |
+
"begin_suppress_tokens": null,
|
14 |
+
"bos_token_id": null,
|
15 |
+
"chunk_size_feed_forward": 0,
|
16 |
+
"cross_attention_hidden_size": null,
|
17 |
+
"decoder_start_token_id": null,
|
18 |
+
"depths": [
|
19 |
+
2,
|
20 |
+
2,
|
21 |
+
18,
|
22 |
+
2
|
23 |
+
],
|
24 |
+
"diversity_penalty": 0.0,
|
25 |
+
"do_sample": false,
|
26 |
+
"drop_path_rate": 0.3,
|
27 |
+
"early_stopping": false,
|
28 |
+
"embed_dim": 128,
|
29 |
+
"encoder_no_repeat_ngram_size": 0,
|
30 |
+
"encoder_stride": 32,
|
31 |
+
"eos_token_id": null,
|
32 |
+
"exponential_decay_length_penalty": null,
|
33 |
+
"finetuning_task": null,
|
34 |
+
"forced_bos_token_id": null,
|
35 |
+
"forced_eos_token_id": null,
|
36 |
+
"hidden_act": "gelu",
|
37 |
+
"hidden_dropout_prob": 0.0,
|
38 |
+
"hidden_size": 1024,
|
39 |
+
"id2label": {
|
40 |
+
"0": "LABEL_0",
|
41 |
+
"1": "LABEL_1"
|
42 |
+
},
|
43 |
+
"image_size": 224,
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"is_decoder": false,
|
46 |
+
"is_encoder_decoder": false,
|
47 |
+
"label2id": {
|
48 |
+
"LABEL_0": 0,
|
49 |
+
"LABEL_1": 1
|
50 |
+
},
|
51 |
+
"layer_norm_eps": 1e-05,
|
52 |
+
"length_penalty": 1.0,
|
53 |
+
"max_length": 20,
|
54 |
+
"min_length": 0,
|
55 |
+
"mlp_ratio": 4.0,
|
56 |
+
"model_type": "swin",
|
57 |
+
"no_repeat_ngram_size": 0,
|
58 |
+
"num_beam_groups": 1,
|
59 |
+
"num_beams": 1,
|
60 |
+
"num_channels": 3,
|
61 |
+
"num_heads": [
|
62 |
+
4,
|
63 |
+
8,
|
64 |
+
16,
|
65 |
+
32
|
66 |
+
],
|
67 |
+
"num_layers": 4,
|
68 |
+
"num_return_sequences": 1,
|
69 |
+
"out_features": [
|
70 |
+
"stage1",
|
71 |
+
"stage2",
|
72 |
+
"stage3",
|
73 |
+
"stage4"
|
74 |
+
],
|
75 |
+
"output_attentions": false,
|
76 |
+
"output_hidden_states": false,
|
77 |
+
"output_scores": false,
|
78 |
+
"pad_token_id": null,
|
79 |
+
"patch_size": 4,
|
80 |
+
"path_norm": true,
|
81 |
+
"prefix": null,
|
82 |
+
"problem_type": null,
|
83 |
+
"pruned_heads": {},
|
84 |
+
"qkv_bias": true,
|
85 |
+
"remove_invalid_values": false,
|
86 |
+
"repetition_penalty": 1.0,
|
87 |
+
"return_dict": true,
|
88 |
+
"return_dict_in_generate": false,
|
89 |
+
"sep_token_id": null,
|
90 |
+
"stage_names": [
|
91 |
+
"stem",
|
92 |
+
"stage1",
|
93 |
+
"stage2",
|
94 |
+
"stage3",
|
95 |
+
"stage4"
|
96 |
+
],
|
97 |
+
"suppress_tokens": null,
|
98 |
+
"task_specific_params": null,
|
99 |
+
"temperature": 1.0,
|
100 |
+
"tf_legacy_loss": false,
|
101 |
+
"tie_encoder_decoder": false,
|
102 |
+
"tie_word_embeddings": true,
|
103 |
+
"tokenizer_class": null,
|
104 |
+
"top_k": 50,
|
105 |
+
"top_p": 1.0,
|
106 |
+
"torch_dtype": null,
|
107 |
+
"torchscript": false,
|
108 |
+
"transformers_version": "4.26.0.dev0",
|
109 |
+
"typical_p": 1.0,
|
110 |
+
"use_absolute_embeddings": false,
|
111 |
+
"use_bfloat16": false,
|
112 |
+
"window_size": 12
|
113 |
+
},
|
114 |
+
"class_weight": 2.0,
|
115 |
+
"common_stride": 4,
|
116 |
+
"decoder_layers": 10,
|
117 |
+
"dice_weight": 5.0,
|
118 |
+
"dim_feedforward": 2048,
|
119 |
+
"dropout": 0.0,
|
120 |
+
"encoder_feedforward_dim": 1024,
|
121 |
+
"encoder_layers": 6,
|
122 |
+
"enforce_input_proj": false,
|
123 |
+
"enforce_input_projection": false,
|
124 |
+
"feature_size": 256,
|
125 |
+
"feature_strides": [
|
126 |
+
4,
|
127 |
+
8,
|
128 |
+
16,
|
129 |
+
32
|
130 |
+
],
|
131 |
+
"hidden_dim": 256,
|
132 |
+
"id2label": {
|
133 |
+
"0": "person",
|
134 |
+
"1": "bicycle",
|
135 |
+
"2": "car",
|
136 |
+
"3": "motorcycle",
|
137 |
+
"4": "airplane",
|
138 |
+
"5": "bus",
|
139 |
+
"6": "train",
|
140 |
+
"7": "truck",
|
141 |
+
"8": "boat",
|
142 |
+
"9": "traffic light",
|
143 |
+
"10": "fire hydrant",
|
144 |
+
"11": "stop sign",
|
145 |
+
"12": "parking meter",
|
146 |
+
"13": "bench",
|
147 |
+
"14": "bird",
|
148 |
+
"15": "cat",
|
149 |
+
"16": "dog",
|
150 |
+
"17": "horse",
|
151 |
+
"18": "sheep",
|
152 |
+
"19": "cow",
|
153 |
+
"20": "elephant",
|
154 |
+
"21": "bear",
|
155 |
+
"22": "zebra",
|
156 |
+
"23": "giraffe",
|
157 |
+
"24": "backpack",
|
158 |
+
"25": "umbrella",
|
159 |
+
"26": "handbag",
|
160 |
+
"27": "tie",
|
161 |
+
"28": "suitcase",
|
162 |
+
"29": "frisbee",
|
163 |
+
"30": "skis",
|
164 |
+
"31": "snowboard",
|
165 |
+
"32": "sports ball",
|
166 |
+
"33": "kite",
|
167 |
+
"34": "baseball bat",
|
168 |
+
"35": "baseball glove",
|
169 |
+
"36": "skateboard",
|
170 |
+
"37": "surfboard",
|
171 |
+
"38": "tennis racket",
|
172 |
+
"39": "bottle",
|
173 |
+
"40": "wine glass",
|
174 |
+
"41": "cup",
|
175 |
+
"42": "fork",
|
176 |
+
"43": "knife",
|
177 |
+
"44": "spoon",
|
178 |
+
"45": "bowl",
|
179 |
+
"46": "banana",
|
180 |
+
"47": "apple",
|
181 |
+
"48": "sandwich",
|
182 |
+
"49": "orange",
|
183 |
+
"50": "broccoli",
|
184 |
+
"51": "carrot",
|
185 |
+
"52": "hot dog",
|
186 |
+
"53": "pizza",
|
187 |
+
"54": "donut",
|
188 |
+
"55": "cake",
|
189 |
+
"56": "chair",
|
190 |
+
"57": "couch",
|
191 |
+
"58": "potted plant",
|
192 |
+
"59": "bed",
|
193 |
+
"60": "dining table",
|
194 |
+
"61": "toilet",
|
195 |
+
"62": "tv",
|
196 |
+
"63": "laptop",
|
197 |
+
"64": "mouse",
|
198 |
+
"65": "remote",
|
199 |
+
"66": "keyboard",
|
200 |
+
"67": "cell phone",
|
201 |
+
"68": "microwave",
|
202 |
+
"69": "oven",
|
203 |
+
"70": "toaster",
|
204 |
+
"71": "sink",
|
205 |
+
"72": "refrigerator",
|
206 |
+
"73": "book",
|
207 |
+
"74": "clock",
|
208 |
+
"75": "vase",
|
209 |
+
"76": "scissors",
|
210 |
+
"77": "teddy bear",
|
211 |
+
"78": "hair drier",
|
212 |
+
"79": "toothbrush",
|
213 |
+
"80": "banner",
|
214 |
+
"81": "blanket",
|
215 |
+
"82": "bridge",
|
216 |
+
"83": "cardboard",
|
217 |
+
"84": "counter",
|
218 |
+
"85": "curtain",
|
219 |
+
"86": "door-stuff",
|
220 |
+
"87": "floor-wood",
|
221 |
+
"88": "flower",
|
222 |
+
"89": "fruit",
|
223 |
+
"90": "gravel",
|
224 |
+
"91": "house",
|
225 |
+
"92": "light",
|
226 |
+
"93": "mirror-stuff",
|
227 |
+
"94": "net",
|
228 |
+
"95": "pillow",
|
229 |
+
"96": "platform",
|
230 |
+
"97": "playingfield",
|
231 |
+
"98": "railroad",
|
232 |
+
"99": "river",
|
233 |
+
"100": "road",
|
234 |
+
"101": "roof",
|
235 |
+
"102": "sand",
|
236 |
+
"103": "sea",
|
237 |
+
"104": "shelf",
|
238 |
+
"105": "snow",
|
239 |
+
"106": "stairs",
|
240 |
+
"107": "tent",
|
241 |
+
"108": "towel",
|
242 |
+
"109": "wall-brick",
|
243 |
+
"110": "wall-stone",
|
244 |
+
"111": "wall-tile",
|
245 |
+
"112": "wall-wood",
|
246 |
+
"113": "water-other",
|
247 |
+
"114": "window-blind",
|
248 |
+
"115": "window-other",
|
249 |
+
"116": "tree-merged",
|
250 |
+
"117": "fence-merged",
|
251 |
+
"118": "ceiling-merged",
|
252 |
+
"119": "sky-other-merged",
|
253 |
+
"120": "cabinet-merged",
|
254 |
+
"121": "table-merged",
|
255 |
+
"122": "floor-other-merged",
|
256 |
+
"123": "pavement-merged",
|
257 |
+
"124": "mountain-merged",
|
258 |
+
"125": "grass-merged",
|
259 |
+
"126": "dirt-merged",
|
260 |
+
"127": "paper-merged",
|
261 |
+
"128": "food-other-merged",
|
262 |
+
"129": "building-other-merged",
|
263 |
+
"130": "rock-merged",
|
264 |
+
"131": "wall-other-merged",
|
265 |
+
"132": "rug-merged"
|
266 |
+
},
|
267 |
+
"ignore_value": 255,
|
268 |
+
"importance_sample_ratio": 0.75,
|
269 |
+
"init_std": 0.02,
|
270 |
+
"init_xavier_std": 1.0,
|
271 |
+
"label2id": {
|
272 |
+
"airplane": 4,
|
273 |
+
"apple": 47,
|
274 |
+
"backpack": 24,
|
275 |
+
"banana": 46,
|
276 |
+
"banner": 80,
|
277 |
+
"baseball bat": 34,
|
278 |
+
"baseball glove": 35,
|
279 |
+
"bear": 21,
|
280 |
+
"bed": 59,
|
281 |
+
"bench": 13,
|
282 |
+
"bicycle": 1,
|
283 |
+
"bird": 14,
|
284 |
+
"blanket": 81,
|
285 |
+
"boat": 8,
|
286 |
+
"book": 73,
|
287 |
+
"bottle": 39,
|
288 |
+
"bowl": 45,
|
289 |
+
"bridge": 82,
|
290 |
+
"broccoli": 50,
|
291 |
+
"building-other-merged": 129,
|
292 |
+
"bus": 5,
|
293 |
+
"cabinet-merged": 120,
|
294 |
+
"cake": 55,
|
295 |
+
"car": 2,
|
296 |
+
"cardboard": 83,
|
297 |
+
"carrot": 51,
|
298 |
+
"cat": 15,
|
299 |
+
"ceiling-merged": 118,
|
300 |
+
"cell phone": 67,
|
301 |
+
"chair": 56,
|
302 |
+
"clock": 74,
|
303 |
+
"couch": 57,
|
304 |
+
"counter": 84,
|
305 |
+
"cow": 19,
|
306 |
+
"cup": 41,
|
307 |
+
"curtain": 85,
|
308 |
+
"dining table": 60,
|
309 |
+
"dirt-merged": 126,
|
310 |
+
"dog": 16,
|
311 |
+
"donut": 54,
|
312 |
+
"door-stuff": 86,
|
313 |
+
"elephant": 20,
|
314 |
+
"fence-merged": 117,
|
315 |
+
"fire hydrant": 10,
|
316 |
+
"floor-other-merged": 122,
|
317 |
+
"floor-wood": 87,
|
318 |
+
"flower": 88,
|
319 |
+
"food-other-merged": 128,
|
320 |
+
"fork": 42,
|
321 |
+
"frisbee": 29,
|
322 |
+
"fruit": 89,
|
323 |
+
"giraffe": 23,
|
324 |
+
"grass-merged": 125,
|
325 |
+
"gravel": 90,
|
326 |
+
"hair drier": 78,
|
327 |
+
"handbag": 26,
|
328 |
+
"horse": 17,
|
329 |
+
"hot dog": 52,
|
330 |
+
"house": 91,
|
331 |
+
"keyboard": 66,
|
332 |
+
"kite": 33,
|
333 |
+
"knife": 43,
|
334 |
+
"laptop": 63,
|
335 |
+
"light": 92,
|
336 |
+
"microwave": 68,
|
337 |
+
"mirror-stuff": 93,
|
338 |
+
"motorcycle": 3,
|
339 |
+
"mountain-merged": 124,
|
340 |
+
"mouse": 64,
|
341 |
+
"net": 94,
|
342 |
+
"orange": 49,
|
343 |
+
"oven": 69,
|
344 |
+
"paper-merged": 127,
|
345 |
+
"parking meter": 12,
|
346 |
+
"pavement-merged": 123,
|
347 |
+
"person": 0,
|
348 |
+
"pillow": 95,
|
349 |
+
"pizza": 53,
|
350 |
+
"platform": 96,
|
351 |
+
"playingfield": 97,
|
352 |
+
"potted plant": 58,
|
353 |
+
"railroad": 98,
|
354 |
+
"refrigerator": 72,
|
355 |
+
"remote": 65,
|
356 |
+
"river": 99,
|
357 |
+
"road": 100,
|
358 |
+
"rock-merged": 130,
|
359 |
+
"roof": 101,
|
360 |
+
"rug-merged": 132,
|
361 |
+
"sand": 102,
|
362 |
+
"sandwich": 48,
|
363 |
+
"scissors": 76,
|
364 |
+
"sea": 103,
|
365 |
+
"sheep": 18,
|
366 |
+
"shelf": 104,
|
367 |
+
"sink": 71,
|
368 |
+
"skateboard": 36,
|
369 |
+
"skis": 30,
|
370 |
+
"sky-other-merged": 119,
|
371 |
+
"snow": 105,
|
372 |
+
"snowboard": 31,
|
373 |
+
"spoon": 44,
|
374 |
+
"sports ball": 32,
|
375 |
+
"stairs": 106,
|
376 |
+
"stop sign": 11,
|
377 |
+
"suitcase": 28,
|
378 |
+
"surfboard": 37,
|
379 |
+
"table-merged": 121,
|
380 |
+
"teddy bear": 77,
|
381 |
+
"tennis racket": 38,
|
382 |
+
"tent": 107,
|
383 |
+
"tie": 27,
|
384 |
+
"toaster": 70,
|
385 |
+
"toilet": 61,
|
386 |
+
"toothbrush": 79,
|
387 |
+
"towel": 108,
|
388 |
+
"traffic light": 9,
|
389 |
+
"train": 6,
|
390 |
+
"tree-merged": 116,
|
391 |
+
"truck": 7,
|
392 |
+
"tv": 62,
|
393 |
+
"umbrella": 25,
|
394 |
+
"vase": 75,
|
395 |
+
"wall-brick": 109,
|
396 |
+
"wall-other-merged": 131,
|
397 |
+
"wall-stone": 110,
|
398 |
+
"wall-tile": 111,
|
399 |
+
"wall-wood": 112,
|
400 |
+
"water-other": 113,
|
401 |
+
"window-blind": 114,
|
402 |
+
"window-other": 115,
|
403 |
+
"wine glass": 40,
|
404 |
+
"zebra": 22
|
405 |
+
},
|
406 |
+
"mask_feature_size": 256,
|
407 |
+
"mask_weight": 5.0,
|
408 |
+
"model_type": "mask2former",
|
409 |
+
"no_object_weight": 0.1,
|
410 |
+
"num_attention_heads": 8,
|
411 |
+
"num_hidden_layers": 10,
|
412 |
+
"num_queries": 100,
|
413 |
+
"output_auxiliary_logits": null,
|
414 |
+
"oversample_ratio": 3.0,
|
415 |
+
"pre_norm": false,
|
416 |
+
"torch_dtype": "float32",
|
417 |
+
"train_num_points": 12544,
|
418 |
+
"transformers_version": null,
|
419 |
+
"use_auxiliary_loss": true
|
420 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56cb8fe1e413a002b404443d183e3cbe055a72bebba1cb11bc12332472bf182e
|
3 |
+
size 431933253
|