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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
+ 18,
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": 192,
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": 1536,
35
+ "id2label": {
36
+ "0": "LABEL_0",
37
+ "1": "LABEL_1"
38
+ },
39
+ "image_size": 384,
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
+ 6,
60
+ 12,
61
+ 24,
62
+ 48
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": 384,
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.18.0.dev0",
92
+ "typical_p": 1.0,
93
+ "use_absolute_embeddings": false,
94
+ "use_bfloat16": false,
95
+ "window_size": 12
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.18.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": "wall",
194
+ "1": "building",
195
+ "2": "sky",
196
+ "3": "floor",
197
+ "4": "tree",
198
+ "5": "ceiling",
199
+ "6": "road, route",
200
+ "7": "bed",
201
+ "8": "window ",
202
+ "9": "grass",
203
+ "10": "cabinet",
204
+ "11": "sidewalk, pavement",
205
+ "12": "person",
206
+ "13": "earth, ground",
207
+ "14": "door",
208
+ "15": "table",
209
+ "16": "mountain, mount",
210
+ "17": "plant",
211
+ "18": "curtain",
212
+ "19": "chair",
213
+ "20": "car",
214
+ "21": "water",
215
+ "22": "painting, picture",
216
+ "23": "sofa",
217
+ "24": "shelf",
218
+ "25": "house",
219
+ "26": "sea",
220
+ "27": "mirror",
221
+ "28": "rug",
222
+ "29": "field",
223
+ "30": "armchair",
224
+ "31": "seat",
225
+ "32": "fence",
226
+ "33": "desk",
227
+ "34": "rock, stone",
228
+ "35": "wardrobe, closet, press",
229
+ "36": "lamp",
230
+ "37": "tub",
231
+ "38": "rail",
232
+ "39": "cushion",
233
+ "40": "base, pedestal, stand",
234
+ "41": "box",
235
+ "42": "column, pillar",
236
+ "43": "signboard, sign",
237
+ "44": "chest of drawers, chest, bureau, dresser",
238
+ "45": "counter",
239
+ "46": "sand",
240
+ "47": "sink",
241
+ "48": "skyscraper",
242
+ "49": "fireplace",
243
+ "50": "refrigerator, icebox",
244
+ "51": "grandstand, covered stand",
245
+ "52": "path",
246
+ "53": "stairs",
247
+ "54": "runway",
248
+ "55": "case, display case, showcase, vitrine",
249
+ "56": "pool table, billiard table, snooker table",
250
+ "57": "pillow",
251
+ "58": "screen door, screen",
252
+ "59": "stairway, staircase",
253
+ "60": "river",
254
+ "61": "bridge, span",
255
+ "62": "bookcase",
256
+ "63": "blind, screen",
257
+ "64": "coffee table",
258
+ "65": "toilet, can, commode, crapper, pot, potty, stool, throne",
259
+ "66": "flower",
260
+ "67": "book",
261
+ "68": "hill",
262
+ "69": "bench",
263
+ "70": "countertop",
264
+ "71": "stove",
265
+ "72": "palm, palm tree",
266
+ "73": "kitchen island",
267
+ "74": "computer",
268
+ "75": "swivel chair",
269
+ "76": "boat",
270
+ "77": "bar",
271
+ "78": "arcade machine",
272
+ "79": "hovel, hut, hutch, shack, shanty",
273
+ "80": "bus",
274
+ "81": "towel",
275
+ "82": "light",
276
+ "83": "truck",
277
+ "84": "tower",
278
+ "85": "chandelier",
279
+ "86": "awning, sunshade, sunblind",
280
+ "87": "street lamp",
281
+ "88": "booth",
282
+ "89": "tv",
283
+ "90": "plane",
284
+ "91": "dirt track",
285
+ "92": "clothes",
286
+ "93": "pole",
287
+ "94": "land, ground, soil",
288
+ "95": "bannister, banister, balustrade, balusters, handrail",
289
+ "96": "escalator, moving staircase, moving stairway",
290
+ "97": "ottoman, pouf, pouffe, puff, hassock",
291
+ "98": "bottle",
292
+ "99": "buffet, counter, sideboard",
293
+ "100": "poster, posting, placard, notice, bill, card",
294
+ "101": "stage",
295
+ "102": "van",
296
+ "103": "ship",
297
+ "104": "fountain",
298
+ "105": "conveyer belt, conveyor belt, conveyer, conveyor, transporter",
299
+ "106": "canopy",
300
+ "107": "washer, automatic washer, washing machine",
301
+ "108": "plaything, toy",
302
+ "109": "pool",
303
+ "110": "stool",
304
+ "111": "barrel, cask",
305
+ "112": "basket, handbasket",
306
+ "113": "falls",
307
+ "114": "tent",
308
+ "115": "bag",
309
+ "116": "minibike, motorbike",
310
+ "117": "cradle",
311
+ "118": "oven",
312
+ "119": "ball",
313
+ "120": "food, solid food",
314
+ "121": "step, stair",
315
+ "122": "tank, storage tank",
316
+ "123": "trade name",
317
+ "124": "microwave",
318
+ "125": "pot",
319
+ "126": "animal",
320
+ "127": "bicycle",
321
+ "128": "lake",
322
+ "129": "dishwasher",
323
+ "130": "screen",
324
+ "131": "blanket, cover",
325
+ "132": "sculpture",
326
+ "133": "hood, exhaust hood",
327
+ "134": "sconce",
328
+ "135": "vase",
329
+ "136": "traffic light",
330
+ "137": "tray",
331
+ "138": "trash can",
332
+ "139": "fan",
333
+ "140": "pier",
334
+ "141": "crt screen",
335
+ "142": "plate",
336
+ "143": "monitor",
337
+ "144": "bulletin board",
338
+ "145": "shower",
339
+ "146": "radiator",
340
+ "147": "glass, drinking glass",
341
+ "148": "clock",
342
+ "149": "flag"
343
+ },
344
+ "init_std": 0.02,
345
+ "init_xavier_std": 1.0,
346
+ "label2id": {
347
+ "animal": 126,
348
+ "arcade machine": 78,
349
+ "armchair": 30,
350
+ "awning, sunshade, sunblind": 86,
351
+ "bag": 115,
352
+ "ball": 119,
353
+ "bannister, banister, balustrade, balusters, handrail": 95,
354
+ "bar": 77,
355
+ "barrel, cask": 111,
356
+ "base, pedestal, stand": 40,
357
+ "basket, handbasket": 112,
358
+ "bed": 7,
359
+ "bench": 69,
360
+ "bicycle": 127,
361
+ "blanket, cover": 131,
362
+ "blind, screen": 63,
363
+ "boat": 76,
364
+ "book": 67,
365
+ "bookcase": 62,
366
+ "booth": 88,
367
+ "bottle": 98,
368
+ "box": 41,
369
+ "bridge, span": 61,
370
+ "buffet, counter, sideboard": 99,
371
+ "building": 1,
372
+ "bulletin board": 144,
373
+ "bus": 80,
374
+ "cabinet": 10,
375
+ "canopy": 106,
376
+ "car": 20,
377
+ "case, display case, showcase, vitrine": 55,
378
+ "ceiling": 5,
379
+ "chair": 19,
380
+ "chandelier": 85,
381
+ "chest of drawers, chest, bureau, dresser": 44,
382
+ "clock": 148,
383
+ "clothes": 92,
384
+ "coffee table": 64,
385
+ "column, pillar": 42,
386
+ "computer": 74,
387
+ "conveyer belt, conveyor belt, conveyer, conveyor, transporter": 105,
388
+ "counter": 45,
389
+ "countertop": 70,
390
+ "cradle": 117,
391
+ "crt screen": 141,
392
+ "curtain": 18,
393
+ "cushion": 39,
394
+ "desk": 33,
395
+ "dirt track": 91,
396
+ "dishwasher": 129,
397
+ "door": 14,
398
+ "earth, ground": 13,
399
+ "escalator, moving staircase, moving stairway": 96,
400
+ "falls": 113,
401
+ "fan": 139,
402
+ "fence": 32,
403
+ "field": 29,
404
+ "fireplace": 49,
405
+ "flag": 149,
406
+ "floor": 3,
407
+ "flower": 66,
408
+ "food, solid food": 120,
409
+ "fountain": 104,
410
+ "glass, drinking glass": 147,
411
+ "grandstand, covered stand": 51,
412
+ "grass": 9,
413
+ "hill": 68,
414
+ "hood, exhaust hood": 133,
415
+ "house": 25,
416
+ "hovel, hut, hutch, shack, shanty": 79,
417
+ "kitchen island": 73,
418
+ "lake": 128,
419
+ "lamp": 36,
420
+ "land, ground, soil": 94,
421
+ "light": 82,
422
+ "microwave": 124,
423
+ "minibike, motorbike": 116,
424
+ "mirror": 27,
425
+ "monitor": 143,
426
+ "mountain, mount": 16,
427
+ "ottoman, pouf, pouffe, puff, hassock": 97,
428
+ "oven": 118,
429
+ "painting, picture": 22,
430
+ "palm, palm tree": 72,
431
+ "path": 52,
432
+ "person": 12,
433
+ "pier": 140,
434
+ "pillow": 57,
435
+ "plane": 90,
436
+ "plant": 17,
437
+ "plate": 142,
438
+ "plaything, toy": 108,
439
+ "pole": 93,
440
+ "pool": 109,
441
+ "pool table, billiard table, snooker table": 56,
442
+ "poster, posting, placard, notice, bill, card": 100,
443
+ "pot": 125,
444
+ "radiator": 146,
445
+ "rail": 38,
446
+ "refrigerator, icebox": 50,
447
+ "river": 60,
448
+ "road, route": 6,
449
+ "rock, stone": 34,
450
+ "rug": 28,
451
+ "runway": 54,
452
+ "sand": 46,
453
+ "sconce": 134,
454
+ "screen": 130,
455
+ "screen door, screen": 58,
456
+ "sculpture": 132,
457
+ "sea": 26,
458
+ "seat": 31,
459
+ "shelf": 24,
460
+ "ship": 103,
461
+ "shower": 145,
462
+ "sidewalk, pavement": 11,
463
+ "signboard, sign": 43,
464
+ "sink": 47,
465
+ "sky": 2,
466
+ "skyscraper": 48,
467
+ "sofa": 23,
468
+ "stage": 101,
469
+ "stairs": 53,
470
+ "stairway, staircase": 59,
471
+ "step, stair": 121,
472
+ "stool": 110,
473
+ "stove": 71,
474
+ "street lamp": 87,
475
+ "swivel chair": 75,
476
+ "table": 15,
477
+ "tank, storage tank": 122,
478
+ "tent": 114,
479
+ "toilet, can, commode, crapper, pot, potty, stool, throne": 65,
480
+ "towel": 81,
481
+ "tower": 84,
482
+ "trade name": 123,
483
+ "traffic light": 136,
484
+ "trash can": 138,
485
+ "tray": 137,
486
+ "tree": 4,
487
+ "truck": 83,
488
+ "tub": 37,
489
+ "tv": 89,
490
+ "van": 102,
491
+ "vase": 135,
492
+ "wall": 0,
493
+ "wardrobe, closet, press": 35,
494
+ "washer, automatic washer, washing machine": 107,
495
+ "water": 21,
496
+ "window ": 8
497
+ },
498
+ "mask_feature_size": 256,
499
+ "mask_weight": 20.0,
500
+ "model_type": "maskformer",
501
+ "no_object_weight": 0.1,
502
+ "num_attention_heads": 8,
503
+ "num_hidden_layers": 6,
504
+ "num_queries": 100,
505
+ "torch_dtype": "float32",
506
+ "transformers_version": null,
507
+ "use_auxiliary_loss": false
508
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a684932b2186f8d3ddff8cc1e84cb35ad720520c2cb2ec85b51905dc51e95c8
3
+ size 850589233