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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "6628e1a5bf23dd6666edd1f0867e46458a94706c",
|
3 |
+
"architectures": [
|
4 |
+
"MaskFormerForInstanceSegmentation"
|
5 |
+
],
|
6 |
+
"backbone_config": {
|
7 |
+
"_name_or_path": "",
|
8 |
+
"add_cross_attention": false,
|
9 |
+
"architectures": null,
|
10 |
+
"attention_probs_dropout_prob": 0.0,
|
11 |
+
"bad_words_ids": null,
|
12 |
+
"begin_suppress_tokens": null,
|
13 |
+
"bos_token_id": null,
|
14 |
+
"chunk_size_feed_forward": 0,
|
15 |
+
"cross_attention_hidden_size": null,
|
16 |
+
"decoder_start_token_id": null,
|
17 |
+
"depths": [
|
18 |
+
2,
|
19 |
+
2,
|
20 |
+
18,
|
21 |
+
2
|
22 |
+
],
|
23 |
+
"diversity_penalty": 0.0,
|
24 |
+
"do_sample": false,
|
25 |
+
"drop_path_rate": 0.3,
|
26 |
+
"early_stopping": false,
|
27 |
+
"embed_dim": 128,
|
28 |
+
"encoder_no_repeat_ngram_size": 0,
|
29 |
+
"encoder_stride": 32,
|
30 |
+
"eos_token_id": null,
|
31 |
+
"exponential_decay_length_penalty": null,
|
32 |
+
"finetuning_task": null,
|
33 |
+
"forced_bos_token_id": null,
|
34 |
+
"forced_eos_token_id": null,
|
35 |
+
"hidden_act": "gelu",
|
36 |
+
"hidden_dropout_prob": 0.0,
|
37 |
+
"hidden_size": 1024,
|
38 |
+
"id2label": {
|
39 |
+
"0": "LABEL_0",
|
40 |
+
"1": "LABEL_1"
|
41 |
+
},
|
42 |
+
"image_size": 384,
|
43 |
+
"in_channels": 3,
|
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 |
+
"stage4"
|
71 |
+
],
|
72 |
+
"out_indices": [
|
73 |
+
4
|
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 |
+
"pretrain_img_size": 384,
|
83 |
+
"problem_type": null,
|
84 |
+
"pruned_heads": {},
|
85 |
+
"qkv_bias": true,
|
86 |
+
"remove_invalid_values": false,
|
87 |
+
"repetition_penalty": 1.0,
|
88 |
+
"return_dict": true,
|
89 |
+
"return_dict_in_generate": false,
|
90 |
+
"sep_token_id": null,
|
91 |
+
"stage_names": [
|
92 |
+
"stem",
|
93 |
+
"stage1",
|
94 |
+
"stage2",
|
95 |
+
"stage3",
|
96 |
+
"stage4"
|
97 |
+
],
|
98 |
+
"suppress_tokens": null,
|
99 |
+
"task_specific_params": null,
|
100 |
+
"temperature": 1.0,
|
101 |
+
"tf_legacy_loss": false,
|
102 |
+
"tie_encoder_decoder": false,
|
103 |
+
"tie_word_embeddings": true,
|
104 |
+
"tokenizer_class": null,
|
105 |
+
"top_k": 50,
|
106 |
+
"top_p": 1.0,
|
107 |
+
"torch_dtype": null,
|
108 |
+
"torchscript": false,
|
109 |
+
"transformers_version": "4.28.1",
|
110 |
+
"typical_p": 1.0,
|
111 |
+
"use_absolute_embeddings": false,
|
112 |
+
"use_bfloat16": false,
|
113 |
+
"window_size": 12
|
114 |
+
},
|
115 |
+
"ce_weight": 1.0,
|
116 |
+
"cross_entropy_weight": 1.0,
|
117 |
+
"decoder_config": {
|
118 |
+
"_commit_hash": null,
|
119 |
+
"_name_or_path": "",
|
120 |
+
"activation_dropout": 0.0,
|
121 |
+
"activation_function": "relu",
|
122 |
+
"add_cross_attention": false,
|
123 |
+
"architectures": null,
|
124 |
+
"attention_dropout": 0.0,
|
125 |
+
"auxiliary_loss": false,
|
126 |
+
"backbone": "resnet50",
|
127 |
+
"backbone_config": null,
|
128 |
+
"bad_words_ids": null,
|
129 |
+
"bbox_cost": 5,
|
130 |
+
"bbox_loss_coefficient": 5,
|
131 |
+
"begin_suppress_tokens": null,
|
132 |
+
"bos_token_id": null,
|
133 |
+
"chunk_size_feed_forward": 0,
|
134 |
+
"class_cost": 1,
|
135 |
+
"cross_attention_hidden_size": null,
|
136 |
+
"d_model": 256,
|
137 |
+
"decoder_attention_heads": 8,
|
138 |
+
"decoder_ffn_dim": 2048,
|
139 |
+
"decoder_layerdrop": 0.0,
|
140 |
+
"decoder_layers": 6,
|
141 |
+
"decoder_start_token_id": null,
|
142 |
+
"dice_loss_coefficient": 1,
|
143 |
+
"dilation": false,
|
144 |
+
"diversity_penalty": 0.0,
|
145 |
+
"do_sample": false,
|
146 |
+
"dropout": 0.1,
|
147 |
+
"early_stopping": false,
|
148 |
+
"encoder_attention_heads": 8,
|
149 |
+
"encoder_ffn_dim": 2048,
|
150 |
+
"encoder_layerdrop": 0.0,
|
151 |
+
"encoder_layers": 6,
|
152 |
+
"encoder_no_repeat_ngram_size": 0,
|
153 |
+
"eos_coefficient": 0.1,
|
154 |
+
"eos_token_id": null,
|
155 |
+
"exponential_decay_length_penalty": null,
|
156 |
+
"finetuning_task": null,
|
157 |
+
"forced_bos_token_id": null,
|
158 |
+
"forced_eos_token_id": null,
|
159 |
+
"giou_cost": 2,
|
160 |
+
"giou_loss_coefficient": 2,
|
161 |
+
"id2label": {
|
162 |
+
"0": "LABEL_0",
|
163 |
+
"1": "LABEL_1"
|
164 |
+
},
|
165 |
+
"init_std": 0.02,
|
166 |
+
"init_xavier_std": 1.0,
|
167 |
+
"is_decoder": false,
|
168 |
+
"is_encoder_decoder": true,
|
169 |
+
"label2id": {
|
170 |
+
"LABEL_0": 0,
|
171 |
+
"LABEL_1": 1
|
172 |
+
},
|
173 |
+
"length_penalty": 1.0,
|
174 |
+
"mask_loss_coefficient": 1,
|
175 |
+
"max_length": 20,
|
176 |
+
"max_position_embeddings": 1024,
|
177 |
+
"min_length": 0,
|
178 |
+
"model_type": "detr",
|
179 |
+
"no_repeat_ngram_size": 0,
|
180 |
+
"num_beam_groups": 1,
|
181 |
+
"num_beams": 1,
|
182 |
+
"num_channels": 3,
|
183 |
+
"num_hidden_layers": 6,
|
184 |
+
"num_queries": 100,
|
185 |
+
"num_return_sequences": 1,
|
186 |
+
"output_attentions": false,
|
187 |
+
"output_hidden_states": false,
|
188 |
+
"output_scores": false,
|
189 |
+
"pad_token_id": null,
|
190 |
+
"position_embedding_type": "sine",
|
191 |
+
"prefix": null,
|
192 |
+
"problem_type": null,
|
193 |
+
"pruned_heads": {},
|
194 |
+
"remove_invalid_values": false,
|
195 |
+
"repetition_penalty": 1.0,
|
196 |
+
"return_dict": true,
|
197 |
+
"return_dict_in_generate": false,
|
198 |
+
"scale_embedding": false,
|
199 |
+
"sep_token_id": null,
|
200 |
+
"suppress_tokens": null,
|
201 |
+
"task_specific_params": null,
|
202 |
+
"temperature": 1.0,
|
203 |
+
"tf_legacy_loss": false,
|
204 |
+
"tie_encoder_decoder": false,
|
205 |
+
"tie_word_embeddings": true,
|
206 |
+
"tokenizer_class": null,
|
207 |
+
"top_k": 50,
|
208 |
+
"top_p": 1.0,
|
209 |
+
"torch_dtype": null,
|
210 |
+
"torchscript": false,
|
211 |
+
"transformers_version": "4.17.0.dev0",
|
212 |
+
"typical_p": 1.0,
|
213 |
+
"use_bfloat16": false,
|
214 |
+
"use_pretrained_backbone": true,
|
215 |
+
"use_timm_backbone": true
|
216 |
+
},
|
217 |
+
"dice_weight": 1.0,
|
218 |
+
"fpn_feature_size": 256,
|
219 |
+
"id2label": {
|
220 |
+
"0": "bed",
|
221 |
+
"1": "windowpane",
|
222 |
+
"2": "cabinet",
|
223 |
+
"3": "person",
|
224 |
+
"4": "door",
|
225 |
+
"5": "table",
|
226 |
+
"6": "curtain",
|
227 |
+
"7": "chair",
|
228 |
+
"8": "car",
|
229 |
+
"9": "painting",
|
230 |
+
"10": "sofa",
|
231 |
+
"11": "shelf",
|
232 |
+
"12": "mirror",
|
233 |
+
"13": "armchair",
|
234 |
+
"14": "seat",
|
235 |
+
"15": "fence",
|
236 |
+
"16": "desk",
|
237 |
+
"17": "wardrobe",
|
238 |
+
"18": "lamp",
|
239 |
+
"19": "bathtub",
|
240 |
+
"20": "railing",
|
241 |
+
"21": "cushion",
|
242 |
+
"22": "box",
|
243 |
+
"23": "column",
|
244 |
+
"24": "signboard",
|
245 |
+
"25": "chest of drawers",
|
246 |
+
"26": "counter",
|
247 |
+
"27": "sink",
|
248 |
+
"28": "fireplace",
|
249 |
+
"29": "refrigerator",
|
250 |
+
"30": "stairs",
|
251 |
+
"31": "case",
|
252 |
+
"32": "pool table",
|
253 |
+
"33": "pillow",
|
254 |
+
"34": "screen door",
|
255 |
+
"35": "bookcase",
|
256 |
+
"36": "coffee table",
|
257 |
+
"37": "toilet",
|
258 |
+
"38": "flower",
|
259 |
+
"39": "book",
|
260 |
+
"40": "bench",
|
261 |
+
"41": "countertop",
|
262 |
+
"42": "stove",
|
263 |
+
"43": "palm",
|
264 |
+
"44": "kitchen island",
|
265 |
+
"45": "computer",
|
266 |
+
"46": "swivel chair",
|
267 |
+
"47": "boat",
|
268 |
+
"48": "arcade machine",
|
269 |
+
"49": "bus",
|
270 |
+
"50": "towel",
|
271 |
+
"51": "light",
|
272 |
+
"52": "truck",
|
273 |
+
"53": "chandelier",
|
274 |
+
"54": "awning",
|
275 |
+
"55": "streetlight",
|
276 |
+
"56": "booth",
|
277 |
+
"57": "television receiver",
|
278 |
+
"58": "airplane",
|
279 |
+
"59": "apparel",
|
280 |
+
"60": "pole",
|
281 |
+
"61": "bannister",
|
282 |
+
"62": "ottoman",
|
283 |
+
"63": "bottle",
|
284 |
+
"64": "van",
|
285 |
+
"65": "ship",
|
286 |
+
"66": "fountain",
|
287 |
+
"67": "washer",
|
288 |
+
"68": "plaything",
|
289 |
+
"69": "stool",
|
290 |
+
"70": "barrel",
|
291 |
+
"71": "basket",
|
292 |
+
"72": "bag",
|
293 |
+
"73": "minibike",
|
294 |
+
"74": "oven",
|
295 |
+
"75": "ball",
|
296 |
+
"76": "food",
|
297 |
+
"77": "step",
|
298 |
+
"78": "trade name",
|
299 |
+
"79": "microwave",
|
300 |
+
"80": "pot",
|
301 |
+
"81": "animal",
|
302 |
+
"82": "bicycle",
|
303 |
+
"83": "dishwasher",
|
304 |
+
"84": "screen",
|
305 |
+
"85": "sculpture",
|
306 |
+
"86": "hood",
|
307 |
+
"87": "sconce",
|
308 |
+
"88": "vase",
|
309 |
+
"89": "traffic light",
|
310 |
+
"90": "tray",
|
311 |
+
"91": "ashcan",
|
312 |
+
"92": "fan",
|
313 |
+
"93": "plate",
|
314 |
+
"94": "monitor",
|
315 |
+
"95": "bulletin board",
|
316 |
+
"96": "radiator",
|
317 |
+
"97": "glass",
|
318 |
+
"98": "clock",
|
319 |
+
"99": "flag"
|
320 |
+
},
|
321 |
+
"init_std": 0.02,
|
322 |
+
"init_xavier_std": 1.0,
|
323 |
+
"label2id": {
|
324 |
+
"airplane": 58,
|
325 |
+
"animal": 81,
|
326 |
+
"apparel": 59,
|
327 |
+
"arcade machine": 48,
|
328 |
+
"armchair": 13,
|
329 |
+
"ashcan": 91,
|
330 |
+
"awning": 54,
|
331 |
+
"bag": 72,
|
332 |
+
"ball": 75,
|
333 |
+
"bannister": 61,
|
334 |
+
"barrel": 70,
|
335 |
+
"basket": 71,
|
336 |
+
"bathtub": 19,
|
337 |
+
"bed": 0,
|
338 |
+
"bench": 40,
|
339 |
+
"bicycle": 82,
|
340 |
+
"boat": 47,
|
341 |
+
"book": 39,
|
342 |
+
"bookcase": 35,
|
343 |
+
"booth": 56,
|
344 |
+
"bottle": 63,
|
345 |
+
"box": 22,
|
346 |
+
"bulletin board": 95,
|
347 |
+
"bus": 49,
|
348 |
+
"cabinet": 2,
|
349 |
+
"car": 8,
|
350 |
+
"case": 31,
|
351 |
+
"chair": 7,
|
352 |
+
"chandelier": 53,
|
353 |
+
"chest of drawers": 25,
|
354 |
+
"clock": 98,
|
355 |
+
"coffee table": 36,
|
356 |
+
"column": 23,
|
357 |
+
"computer": 45,
|
358 |
+
"counter": 26,
|
359 |
+
"countertop": 41,
|
360 |
+
"curtain": 6,
|
361 |
+
"cushion": 21,
|
362 |
+
"desk": 16,
|
363 |
+
"dishwasher": 83,
|
364 |
+
"door": 4,
|
365 |
+
"fan": 92,
|
366 |
+
"fence": 15,
|
367 |
+
"fireplace": 28,
|
368 |
+
"flag": 99,
|
369 |
+
"flower": 38,
|
370 |
+
"food": 76,
|
371 |
+
"fountain": 66,
|
372 |
+
"glass": 97,
|
373 |
+
"hood": 86,
|
374 |
+
"kitchen island": 44,
|
375 |
+
"lamp": 18,
|
376 |
+
"light": 51,
|
377 |
+
"microwave": 79,
|
378 |
+
"minibike": 73,
|
379 |
+
"mirror": 12,
|
380 |
+
"monitor": 94,
|
381 |
+
"ottoman": 62,
|
382 |
+
"oven": 74,
|
383 |
+
"painting": 9,
|
384 |
+
"palm": 43,
|
385 |
+
"person": 3,
|
386 |
+
"pillow": 33,
|
387 |
+
"plate": 93,
|
388 |
+
"plaything": 68,
|
389 |
+
"pole": 60,
|
390 |
+
"pool table": 32,
|
391 |
+
"pot": 80,
|
392 |
+
"radiator": 96,
|
393 |
+
"railing": 20,
|
394 |
+
"refrigerator": 29,
|
395 |
+
"sconce": 87,
|
396 |
+
"screen": 84,
|
397 |
+
"screen door": 34,
|
398 |
+
"sculpture": 85,
|
399 |
+
"seat": 14,
|
400 |
+
"shelf": 11,
|
401 |
+
"ship": 65,
|
402 |
+
"signboard": 24,
|
403 |
+
"sink": 27,
|
404 |
+
"sofa": 10,
|
405 |
+
"stairs": 30,
|
406 |
+
"step": 77,
|
407 |
+
"stool": 69,
|
408 |
+
"stove": 42,
|
409 |
+
"streetlight": 55,
|
410 |
+
"swivel chair": 46,
|
411 |
+
"table": 5,
|
412 |
+
"television receiver": 57,
|
413 |
+
"toilet": 37,
|
414 |
+
"towel": 50,
|
415 |
+
"trade name": 78,
|
416 |
+
"traffic light": 89,
|
417 |
+
"tray": 90,
|
418 |
+
"truck": 52,
|
419 |
+
"van": 64,
|
420 |
+
"vase": 88,
|
421 |
+
"wardrobe": 17,
|
422 |
+
"washer": 67,
|
423 |
+
"windowpane": 1
|
424 |
+
},
|
425 |
+
"mask_feature_size": 256,
|
426 |
+
"mask_weight": 20.0,
|
427 |
+
"model_type": "maskformer",
|
428 |
+
"no_object_weight": 0.1,
|
429 |
+
"num_attention_heads": 8,
|
430 |
+
"num_hidden_layers": 6,
|
431 |
+
"num_queries": 100,
|
432 |
+
"output_auxiliary_logits": null,
|
433 |
+
"torch_dtype": "float32",
|
434 |
+
"transformers_version": null,
|
435 |
+
"use_auxiliary_loss": false
|
436 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dd36cfd989645c1785f4e67096f44b6e5f94aa1f2de9ff27221bf29d2f41989
|
3 |
+
size 411500525
|