Xenova HF staff commited on
Commit
379530f
1 Parent(s): e2b1e50

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/maskformer-swin-small-ade",
3
+ "architectures": [
4
+ "MaskFormerForInstanceSegmentation"
5
+ ],
6
+ "backbone": null,
7
+ "backbone_config": {
8
+ "depths": [
9
+ 2,
10
+ 2,
11
+ 18,
12
+ 2
13
+ ],
14
+ "drop_path_rate": 0.3,
15
+ "embed_dim": 96,
16
+ "encoder_stride": 32,
17
+ "hidden_size": 768,
18
+ "image_size": 224,
19
+ "in_channels": 3,
20
+ "model_type": "maskformer-swin",
21
+ "num_heads": [
22
+ 3,
23
+ 6,
24
+ 12,
25
+ 24
26
+ ],
27
+ "out_features": [
28
+ "stage1",
29
+ "stage2",
30
+ "stage3",
31
+ "stage4"
32
+ ],
33
+ "out_indices": [
34
+ 1,
35
+ 2,
36
+ 3,
37
+ 4
38
+ ],
39
+ "path_norm": true,
40
+ "pretrain_img_size": 224,
41
+ "window_size": 7
42
+ },
43
+ "backbone_kwargs": null,
44
+ "ce_weight": 1.0,
45
+ "cross_entropy_weight": 1.0,
46
+ "decoder_config": {
47
+ "max_position_embeddings": 1024,
48
+ "model_type": "detr",
49
+ "scale_embedding": false
50
+ },
51
+ "dice_weight": 1.0,
52
+ "fpn_feature_size": 256,
53
+ "id2label": {
54
+ "0": "wall",
55
+ "1": "building",
56
+ "2": "sky",
57
+ "3": "floor",
58
+ "4": "tree",
59
+ "5": "ceiling",
60
+ "6": "road, route",
61
+ "7": "bed",
62
+ "8": "window ",
63
+ "9": "grass",
64
+ "10": "cabinet",
65
+ "11": "sidewalk, pavement",
66
+ "12": "person",
67
+ "13": "earth, ground",
68
+ "14": "door",
69
+ "15": "table",
70
+ "16": "mountain, mount",
71
+ "17": "plant",
72
+ "18": "curtain",
73
+ "19": "chair",
74
+ "20": "car",
75
+ "21": "water",
76
+ "22": "painting, picture",
77
+ "23": "sofa",
78
+ "24": "shelf",
79
+ "25": "house",
80
+ "26": "sea",
81
+ "27": "mirror",
82
+ "28": "rug",
83
+ "29": "field",
84
+ "30": "armchair",
85
+ "31": "seat",
86
+ "32": "fence",
87
+ "33": "desk",
88
+ "34": "rock, stone",
89
+ "35": "wardrobe, closet, press",
90
+ "36": "lamp",
91
+ "37": "tub",
92
+ "38": "rail",
93
+ "39": "cushion",
94
+ "40": "base, pedestal, stand",
95
+ "41": "box",
96
+ "42": "column, pillar",
97
+ "43": "signboard, sign",
98
+ "44": "chest of drawers, chest, bureau, dresser",
99
+ "45": "counter",
100
+ "46": "sand",
101
+ "47": "sink",
102
+ "48": "skyscraper",
103
+ "49": "fireplace",
104
+ "50": "refrigerator, icebox",
105
+ "51": "grandstand, covered stand",
106
+ "52": "path",
107
+ "53": "stairs",
108
+ "54": "runway",
109
+ "55": "case, display case, showcase, vitrine",
110
+ "56": "pool table, billiard table, snooker table",
111
+ "57": "pillow",
112
+ "58": "screen door, screen",
113
+ "59": "stairway, staircase",
114
+ "60": "river",
115
+ "61": "bridge, span",
116
+ "62": "bookcase",
117
+ "63": "blind, screen",
118
+ "64": "coffee table",
119
+ "65": "toilet, can, commode, crapper, pot, potty, stool, throne",
120
+ "66": "flower",
121
+ "67": "book",
122
+ "68": "hill",
123
+ "69": "bench",
124
+ "70": "countertop",
125
+ "71": "stove",
126
+ "72": "palm, palm tree",
127
+ "73": "kitchen island",
128
+ "74": "computer",
129
+ "75": "swivel chair",
130
+ "76": "boat",
131
+ "77": "bar",
132
+ "78": "arcade machine",
133
+ "79": "hovel, hut, hutch, shack, shanty",
134
+ "80": "bus",
135
+ "81": "towel",
136
+ "82": "light",
137
+ "83": "truck",
138
+ "84": "tower",
139
+ "85": "chandelier",
140
+ "86": "awning, sunshade, sunblind",
141
+ "87": "street lamp",
142
+ "88": "booth",
143
+ "89": "tv",
144
+ "90": "plane",
145
+ "91": "dirt track",
146
+ "92": "clothes",
147
+ "93": "pole",
148
+ "94": "land, ground, soil",
149
+ "95": "bannister, banister, balustrade, balusters, handrail",
150
+ "96": "escalator, moving staircase, moving stairway",
151
+ "97": "ottoman, pouf, pouffe, puff, hassock",
152
+ "98": "bottle",
153
+ "99": "buffet, counter, sideboard",
154
+ "100": "poster, posting, placard, notice, bill, card",
155
+ "101": "stage",
156
+ "102": "van",
157
+ "103": "ship",
158
+ "104": "fountain",
159
+ "105": "conveyer belt, conveyor belt, conveyer, conveyor, transporter",
160
+ "106": "canopy",
161
+ "107": "washer, automatic washer, washing machine",
162
+ "108": "plaything, toy",
163
+ "109": "pool",
164
+ "110": "stool",
165
+ "111": "barrel, cask",
166
+ "112": "basket, handbasket",
167
+ "113": "falls",
168
+ "114": "tent",
169
+ "115": "bag",
170
+ "116": "minibike, motorbike",
171
+ "117": "cradle",
172
+ "118": "oven",
173
+ "119": "ball",
174
+ "120": "food, solid food",
175
+ "121": "step, stair",
176
+ "122": "tank, storage tank",
177
+ "123": "trade name",
178
+ "124": "microwave",
179
+ "125": "pot",
180
+ "126": "animal",
181
+ "127": "bicycle",
182
+ "128": "lake",
183
+ "129": "dishwasher",
184
+ "130": "screen",
185
+ "131": "blanket, cover",
186
+ "132": "sculpture",
187
+ "133": "hood, exhaust hood",
188
+ "134": "sconce",
189
+ "135": "vase",
190
+ "136": "traffic light",
191
+ "137": "tray",
192
+ "138": "trash can",
193
+ "139": "fan",
194
+ "140": "pier",
195
+ "141": "crt screen",
196
+ "142": "plate",
197
+ "143": "monitor",
198
+ "144": "bulletin board",
199
+ "145": "shower",
200
+ "146": "radiator",
201
+ "147": "glass, drinking glass",
202
+ "148": "clock",
203
+ "149": "flag"
204
+ },
205
+ "init_std": 0.02,
206
+ "init_xavier_std": 1.0,
207
+ "label2id": {
208
+ "animal": 126,
209
+ "arcade machine": 78,
210
+ "armchair": 30,
211
+ "awning, sunshade, sunblind": 86,
212
+ "bag": 115,
213
+ "ball": 119,
214
+ "bannister, banister, balustrade, balusters, handrail": 95,
215
+ "bar": 77,
216
+ "barrel, cask": 111,
217
+ "base, pedestal, stand": 40,
218
+ "basket, handbasket": 112,
219
+ "bed": 7,
220
+ "bench": 69,
221
+ "bicycle": 127,
222
+ "blanket, cover": 131,
223
+ "blind, screen": 63,
224
+ "boat": 76,
225
+ "book": 67,
226
+ "bookcase": 62,
227
+ "booth": 88,
228
+ "bottle": 98,
229
+ "box": 41,
230
+ "bridge, span": 61,
231
+ "buffet, counter, sideboard": 99,
232
+ "building": 1,
233
+ "bulletin board": 144,
234
+ "bus": 80,
235
+ "cabinet": 10,
236
+ "canopy": 106,
237
+ "car": 20,
238
+ "case, display case, showcase, vitrine": 55,
239
+ "ceiling": 5,
240
+ "chair": 19,
241
+ "chandelier": 85,
242
+ "chest of drawers, chest, bureau, dresser": 44,
243
+ "clock": 148,
244
+ "clothes": 92,
245
+ "coffee table": 64,
246
+ "column, pillar": 42,
247
+ "computer": 74,
248
+ "conveyer belt, conveyor belt, conveyer, conveyor, transporter": 105,
249
+ "counter": 45,
250
+ "countertop": 70,
251
+ "cradle": 117,
252
+ "crt screen": 141,
253
+ "curtain": 18,
254
+ "cushion": 39,
255
+ "desk": 33,
256
+ "dirt track": 91,
257
+ "dishwasher": 129,
258
+ "door": 14,
259
+ "earth, ground": 13,
260
+ "escalator, moving staircase, moving stairway": 96,
261
+ "falls": 113,
262
+ "fan": 139,
263
+ "fence": 32,
264
+ "field": 29,
265
+ "fireplace": 49,
266
+ "flag": 149,
267
+ "floor": 3,
268
+ "flower": 66,
269
+ "food, solid food": 120,
270
+ "fountain": 104,
271
+ "glass, drinking glass": 147,
272
+ "grandstand, covered stand": 51,
273
+ "grass": 9,
274
+ "hill": 68,
275
+ "hood, exhaust hood": 133,
276
+ "house": 25,
277
+ "hovel, hut, hutch, shack, shanty": 79,
278
+ "kitchen island": 73,
279
+ "lake": 128,
280
+ "lamp": 36,
281
+ "land, ground, soil": 94,
282
+ "light": 82,
283
+ "microwave": 124,
284
+ "minibike, motorbike": 116,
285
+ "mirror": 27,
286
+ "monitor": 143,
287
+ "mountain, mount": 16,
288
+ "ottoman, pouf, pouffe, puff, hassock": 97,
289
+ "oven": 118,
290
+ "painting, picture": 22,
291
+ "palm, palm tree": 72,
292
+ "path": 52,
293
+ "person": 12,
294
+ "pier": 140,
295
+ "pillow": 57,
296
+ "plane": 90,
297
+ "plant": 17,
298
+ "plate": 142,
299
+ "plaything, toy": 108,
300
+ "pole": 93,
301
+ "pool": 109,
302
+ "pool table, billiard table, snooker table": 56,
303
+ "poster, posting, placard, notice, bill, card": 100,
304
+ "pot": 125,
305
+ "radiator": 146,
306
+ "rail": 38,
307
+ "refrigerator, icebox": 50,
308
+ "river": 60,
309
+ "road, route": 6,
310
+ "rock, stone": 34,
311
+ "rug": 28,
312
+ "runway": 54,
313
+ "sand": 46,
314
+ "sconce": 134,
315
+ "screen": 130,
316
+ "screen door, screen": 58,
317
+ "sculpture": 132,
318
+ "sea": 26,
319
+ "seat": 31,
320
+ "shelf": 24,
321
+ "ship": 103,
322
+ "shower": 145,
323
+ "sidewalk, pavement": 11,
324
+ "signboard, sign": 43,
325
+ "sink": 47,
326
+ "sky": 2,
327
+ "skyscraper": 48,
328
+ "sofa": 23,
329
+ "stage": 101,
330
+ "stairs": 53,
331
+ "stairway, staircase": 59,
332
+ "step, stair": 121,
333
+ "stool": 110,
334
+ "stove": 71,
335
+ "street lamp": 87,
336
+ "swivel chair": 75,
337
+ "table": 15,
338
+ "tank, storage tank": 122,
339
+ "tent": 114,
340
+ "toilet, can, commode, crapper, pot, potty, stool, throne": 65,
341
+ "towel": 81,
342
+ "tower": 84,
343
+ "trade name": 123,
344
+ "traffic light": 136,
345
+ "trash can": 138,
346
+ "tray": 137,
347
+ "tree": 4,
348
+ "truck": 83,
349
+ "tub": 37,
350
+ "tv": 89,
351
+ "van": 102,
352
+ "vase": 135,
353
+ "wall": 0,
354
+ "wardrobe, closet, press": 35,
355
+ "washer, automatic washer, washing machine": 107,
356
+ "water": 21,
357
+ "window ": 8
358
+ },
359
+ "mask_feature_size": 256,
360
+ "mask_weight": 20.0,
361
+ "model_type": "maskformer",
362
+ "no_object_weight": 0.1,
363
+ "num_attention_heads": 8,
364
+ "num_hidden_layers": 6,
365
+ "num_queries": 100,
366
+ "output_auxiliary_logits": null,
367
+ "transformers_version": "4.45.0.dev0",
368
+ "use_auxiliary_loss": false,
369
+ "use_pretrained_backbone": false,
370
+ "use_timm_backbone": false
371
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f499c2c7adbd7fcae30209a0d53e1d578e2b038b1ec419aff2078044c132ffee
3
+ size 260134582
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8724f9aec7f2605c9e3358f6165b49b91aeb265ebf21772ab4ce3f129529cbf
3
+ size 59648271
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa345468877bbdafb3ea4f82ffe1fa0e20eb1f705f502412ec75460c6f7b9a02
3
+ size 134617682
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8631e1a923fb6bbfe28a883081037ef2f17c385608a89b93a0d3fc2b810d517
3
+ size 74444286
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff9ae074f45a559c8ae7e3fc39d5cf05c3de6f41f49fa3c572138b43dd4c5107
3
+ size 63292597
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d31858d182734488e59c213112ba69d8745f76fc1f2c5639e7e951a157295ee7
3
+ size 50697053
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38e70e6bb67ef43a5832e2e2c02529c66398ab9084e59d3323bc05a3eba436c4
3
+ size 74444286
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38e70e6bb67ef43a5832e2e2c02529c66398ab9084e59d3323bc05a3eba436c4
3
+ size 74444286
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_reduce_labels": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "ignore_index": 255,
7
+ "image_mean": [
8
+ 0.48500001430511475,
9
+ 0.4560000002384186,
10
+ 0.4059999883174896
11
+ ],
12
+ "image_processor_type": "MaskFormerFeatureExtractor",
13
+ "image_std": [
14
+ 0.2290000021457672,
15
+ 0.2239999920129776,
16
+ 0.22499999403953552
17
+ ],
18
+ "max_size": 2048,
19
+ "num_labels": null,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 2048,
24
+ "shortest_edge": 512
25
+ },
26
+ "size_divisor": 32
27
+ }
quantize_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1
17
+ }