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