shivi commited on
Commit
ead49d0
1 Parent(s): 2309833

Upload Mask2FormerForUniversalSegmentation

Browse files
Files changed (2) hide show
  1. config.json +454 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "wall",
134
+ "1": "building",
135
+ "2": "sky",
136
+ "3": "floor",
137
+ "4": "tree",
138
+ "5": "ceiling",
139
+ "6": "road",
140
+ "7": "bed ",
141
+ "8": "windowpane",
142
+ "9": "grass",
143
+ "10": "cabinet",
144
+ "11": "sidewalk",
145
+ "12": "person",
146
+ "13": "earth",
147
+ "14": "door",
148
+ "15": "table",
149
+ "16": "mountain",
150
+ "17": "plant",
151
+ "18": "curtain",
152
+ "19": "chair",
153
+ "20": "car",
154
+ "21": "water",
155
+ "22": "painting",
156
+ "23": "sofa",
157
+ "24": "shelf",
158
+ "25": "house",
159
+ "26": "sea",
160
+ "27": "mirror",
161
+ "28": "rug",
162
+ "29": "field",
163
+ "30": "armchair",
164
+ "31": "seat",
165
+ "32": "fence",
166
+ "33": "desk",
167
+ "34": "rock",
168
+ "35": "wardrobe",
169
+ "36": "lamp",
170
+ "37": "bathtub",
171
+ "38": "railing",
172
+ "39": "cushion",
173
+ "40": "base",
174
+ "41": "box",
175
+ "42": "column",
176
+ "43": "signboard",
177
+ "44": "chest of drawers",
178
+ "45": "counter",
179
+ "46": "sand",
180
+ "47": "sink",
181
+ "48": "skyscraper",
182
+ "49": "fireplace",
183
+ "50": "refrigerator",
184
+ "51": "grandstand",
185
+ "52": "path",
186
+ "53": "stairs",
187
+ "54": "runway",
188
+ "55": "case",
189
+ "56": "pool table",
190
+ "57": "pillow",
191
+ "58": "screen door",
192
+ "59": "stairway",
193
+ "60": "river",
194
+ "61": "bridge",
195
+ "62": "bookcase",
196
+ "63": "blind",
197
+ "64": "coffee table",
198
+ "65": "toilet",
199
+ "66": "flower",
200
+ "67": "book",
201
+ "68": "hill",
202
+ "69": "bench",
203
+ "70": "countertop",
204
+ "71": "stove",
205
+ "72": "palm",
206
+ "73": "kitchen island",
207
+ "74": "computer",
208
+ "75": "swivel chair",
209
+ "76": "boat",
210
+ "77": "bar",
211
+ "78": "arcade machine",
212
+ "79": "hovel",
213
+ "80": "bus",
214
+ "81": "towel",
215
+ "82": "light",
216
+ "83": "truck",
217
+ "84": "tower",
218
+ "85": "chandelier",
219
+ "86": "awning",
220
+ "87": "streetlight",
221
+ "88": "booth",
222
+ "89": "television receiver",
223
+ "90": "airplane",
224
+ "91": "dirt track",
225
+ "92": "apparel",
226
+ "93": "pole",
227
+ "94": "land",
228
+ "95": "bannister",
229
+ "96": "escalator",
230
+ "97": "ottoman",
231
+ "98": "bottle",
232
+ "99": "buffet",
233
+ "100": "poster",
234
+ "101": "stage",
235
+ "102": "van",
236
+ "103": "ship",
237
+ "104": "fountain",
238
+ "105": "conveyer belt",
239
+ "106": "canopy",
240
+ "107": "washer",
241
+ "108": "plaything",
242
+ "109": "swimming pool",
243
+ "110": "stool",
244
+ "111": "barrel",
245
+ "112": "basket",
246
+ "113": "waterfall",
247
+ "114": "tent",
248
+ "115": "bag",
249
+ "116": "minibike",
250
+ "117": "cradle",
251
+ "118": "oven",
252
+ "119": "ball",
253
+ "120": "food",
254
+ "121": "step",
255
+ "122": "tank",
256
+ "123": "trade name",
257
+ "124": "microwave",
258
+ "125": "pot",
259
+ "126": "animal",
260
+ "127": "bicycle",
261
+ "128": "lake",
262
+ "129": "dishwasher",
263
+ "130": "screen",
264
+ "131": "blanket",
265
+ "132": "sculpture",
266
+ "133": "hood",
267
+ "134": "sconce",
268
+ "135": "vase",
269
+ "136": "traffic light",
270
+ "137": "tray",
271
+ "138": "ashcan",
272
+ "139": "fan",
273
+ "140": "pier",
274
+ "141": "crt screen",
275
+ "142": "plate",
276
+ "143": "monitor",
277
+ "144": "bulletin board",
278
+ "145": "shower",
279
+ "146": "radiator",
280
+ "147": "glass",
281
+ "148": "clock",
282
+ "149": "flag"
283
+ },
284
+ "ignore_value": 255,
285
+ "importance_sample_ratio": 0.75,
286
+ "init_std": 0.02,
287
+ "init_xavier_std": 1.0,
288
+ "label2id": {
289
+ "airplane": 90,
290
+ "animal": 126,
291
+ "apparel": 92,
292
+ "arcade machine": 78,
293
+ "armchair": 30,
294
+ "ashcan": 138,
295
+ "awning": 86,
296
+ "bag": 115,
297
+ "ball": 119,
298
+ "bannister": 95,
299
+ "bar": 77,
300
+ "barrel": 111,
301
+ "base": 40,
302
+ "basket": 112,
303
+ "bathtub": 37,
304
+ "bed ": 7,
305
+ "bench": 69,
306
+ "bicycle": 127,
307
+ "blanket": 131,
308
+ "blind": 63,
309
+ "boat": 76,
310
+ "book": 67,
311
+ "bookcase": 62,
312
+ "booth": 88,
313
+ "bottle": 98,
314
+ "box": 41,
315
+ "bridge": 61,
316
+ "buffet": 99,
317
+ "building": 1,
318
+ "bulletin board": 144,
319
+ "bus": 80,
320
+ "cabinet": 10,
321
+ "canopy": 106,
322
+ "car": 20,
323
+ "case": 55,
324
+ "ceiling": 5,
325
+ "chair": 19,
326
+ "chandelier": 85,
327
+ "chest of drawers": 44,
328
+ "clock": 148,
329
+ "coffee table": 64,
330
+ "column": 42,
331
+ "computer": 74,
332
+ "conveyer belt": 105,
333
+ "counter": 45,
334
+ "countertop": 70,
335
+ "cradle": 117,
336
+ "crt screen": 141,
337
+ "curtain": 18,
338
+ "cushion": 39,
339
+ "desk": 33,
340
+ "dirt track": 91,
341
+ "dishwasher": 129,
342
+ "door": 14,
343
+ "earth": 13,
344
+ "escalator": 96,
345
+ "fan": 139,
346
+ "fence": 32,
347
+ "field": 29,
348
+ "fireplace": 49,
349
+ "flag": 149,
350
+ "floor": 3,
351
+ "flower": 66,
352
+ "food": 120,
353
+ "fountain": 104,
354
+ "glass": 147,
355
+ "grandstand": 51,
356
+ "grass": 9,
357
+ "hill": 68,
358
+ "hood": 133,
359
+ "house": 25,
360
+ "hovel": 79,
361
+ "kitchen island": 73,
362
+ "lake": 128,
363
+ "lamp": 36,
364
+ "land": 94,
365
+ "light": 82,
366
+ "microwave": 124,
367
+ "minibike": 116,
368
+ "mirror": 27,
369
+ "monitor": 143,
370
+ "mountain": 16,
371
+ "ottoman": 97,
372
+ "oven": 118,
373
+ "painting": 22,
374
+ "palm": 72,
375
+ "path": 52,
376
+ "person": 12,
377
+ "pier": 140,
378
+ "pillow": 57,
379
+ "plant": 17,
380
+ "plate": 142,
381
+ "plaything": 108,
382
+ "pole": 93,
383
+ "pool table": 56,
384
+ "poster": 100,
385
+ "pot": 125,
386
+ "radiator": 146,
387
+ "railing": 38,
388
+ "refrigerator": 50,
389
+ "river": 60,
390
+ "road": 6,
391
+ "rock": 34,
392
+ "rug": 28,
393
+ "runway": 54,
394
+ "sand": 46,
395
+ "sconce": 134,
396
+ "screen": 130,
397
+ "screen door": 58,
398
+ "sculpture": 132,
399
+ "sea": 26,
400
+ "seat": 31,
401
+ "shelf": 24,
402
+ "ship": 103,
403
+ "shower": 145,
404
+ "sidewalk": 11,
405
+ "signboard": 43,
406
+ "sink": 47,
407
+ "sky": 2,
408
+ "skyscraper": 48,
409
+ "sofa": 23,
410
+ "stage": 101,
411
+ "stairs": 53,
412
+ "stairway": 59,
413
+ "step": 121,
414
+ "stool": 110,
415
+ "stove": 71,
416
+ "streetlight": 87,
417
+ "swimming pool": 109,
418
+ "swivel chair": 75,
419
+ "table": 15,
420
+ "tank": 122,
421
+ "television receiver": 89,
422
+ "tent": 114,
423
+ "toilet": 65,
424
+ "towel": 81,
425
+ "tower": 84,
426
+ "trade name": 123,
427
+ "traffic light": 136,
428
+ "tray": 137,
429
+ "tree": 4,
430
+ "truck": 83,
431
+ "van": 102,
432
+ "vase": 135,
433
+ "wall": 0,
434
+ "wardrobe": 35,
435
+ "washer": 107,
436
+ "water": 21,
437
+ "waterfall": 113,
438
+ "windowpane": 8
439
+ },
440
+ "mask_feature_size": 256,
441
+ "mask_weight": 5.0,
442
+ "model_type": "mask2former",
443
+ "no_object_weight": 0.1,
444
+ "num_attention_heads": 8,
445
+ "num_hidden_layers": 10,
446
+ "num_queries": 100,
447
+ "output_auxiliary_logits": null,
448
+ "oversample_ratio": 3.0,
449
+ "pre_norm": false,
450
+ "torch_dtype": "float32",
451
+ "train_num_points": 12544,
452
+ "transformers_version": null,
453
+ "use_auxiliary_loss": true
454
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d6ef2c34bf229a3c475fb88ade96c20bbe5d576839db1fcc85412a244fde3b4
3
+ size 431962253