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