Upload folder using huggingface_hub
Browse files- config.json +337 -0
- onnx/model.onnx +3 -0
- onnx/model_bnb4.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_q4f16.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
- preprocessor_config.json +27 -0
- quantize_config.json +17 -0
config.json
ADDED
@@ -0,0 +1,337 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/maskformer-swin-small-coco",
|
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": "person",
|
55 |
+
"1": "bicycle",
|
56 |
+
"2": "car",
|
57 |
+
"3": "motorcycle",
|
58 |
+
"4": "airplane",
|
59 |
+
"5": "bus",
|
60 |
+
"6": "train",
|
61 |
+
"7": "truck",
|
62 |
+
"8": "boat",
|
63 |
+
"9": "traffic light",
|
64 |
+
"10": "fire hydrant",
|
65 |
+
"11": "stop sign",
|
66 |
+
"12": "parking meter",
|
67 |
+
"13": "bench",
|
68 |
+
"14": "bird",
|
69 |
+
"15": "cat",
|
70 |
+
"16": "dog",
|
71 |
+
"17": "horse",
|
72 |
+
"18": "sheep",
|
73 |
+
"19": "cow",
|
74 |
+
"20": "elephant",
|
75 |
+
"21": "bear",
|
76 |
+
"22": "zebra",
|
77 |
+
"23": "giraffe",
|
78 |
+
"24": "backpack",
|
79 |
+
"25": "umbrella",
|
80 |
+
"26": "handbag",
|
81 |
+
"27": "tie",
|
82 |
+
"28": "suitcase",
|
83 |
+
"29": "frisbee",
|
84 |
+
"30": "skis",
|
85 |
+
"31": "snowboard",
|
86 |
+
"32": "sports ball",
|
87 |
+
"33": "kite",
|
88 |
+
"34": "baseball bat",
|
89 |
+
"35": "baseball glove",
|
90 |
+
"36": "skateboard",
|
91 |
+
"37": "surfboard",
|
92 |
+
"38": "tennis racket",
|
93 |
+
"39": "bottle",
|
94 |
+
"40": "wine glass",
|
95 |
+
"41": "cup",
|
96 |
+
"42": "fork",
|
97 |
+
"43": "knife",
|
98 |
+
"44": "spoon",
|
99 |
+
"45": "bowl",
|
100 |
+
"46": "banana",
|
101 |
+
"47": "apple",
|
102 |
+
"48": "sandwich",
|
103 |
+
"49": "orange",
|
104 |
+
"50": "broccoli",
|
105 |
+
"51": "carrot",
|
106 |
+
"52": "hot dog",
|
107 |
+
"53": "pizza",
|
108 |
+
"54": "donut",
|
109 |
+
"55": "cake",
|
110 |
+
"56": "chair",
|
111 |
+
"57": "couch",
|
112 |
+
"58": "potted plant",
|
113 |
+
"59": "bed",
|
114 |
+
"60": "dining table",
|
115 |
+
"61": "toilet",
|
116 |
+
"62": "tv",
|
117 |
+
"63": "laptop",
|
118 |
+
"64": "mouse",
|
119 |
+
"65": "remote",
|
120 |
+
"66": "keyboard",
|
121 |
+
"67": "cell phone",
|
122 |
+
"68": "microwave",
|
123 |
+
"69": "oven",
|
124 |
+
"70": "toaster",
|
125 |
+
"71": "sink",
|
126 |
+
"72": "refrigerator",
|
127 |
+
"73": "book",
|
128 |
+
"74": "clock",
|
129 |
+
"75": "vase",
|
130 |
+
"76": "scissors",
|
131 |
+
"77": "teddy bear",
|
132 |
+
"78": "hair drier",
|
133 |
+
"79": "toothbrush",
|
134 |
+
"80": "banner",
|
135 |
+
"81": "blanket",
|
136 |
+
"82": "bridge",
|
137 |
+
"83": "cardboard",
|
138 |
+
"84": "counter",
|
139 |
+
"85": "curtain",
|
140 |
+
"86": "door-stuff",
|
141 |
+
"87": "floor-wood",
|
142 |
+
"88": "flower",
|
143 |
+
"89": "fruit",
|
144 |
+
"90": "gravel",
|
145 |
+
"91": "house",
|
146 |
+
"92": "light",
|
147 |
+
"93": "mirror-stuff",
|
148 |
+
"94": "net",
|
149 |
+
"95": "pillow",
|
150 |
+
"96": "platform",
|
151 |
+
"97": "playingfield",
|
152 |
+
"98": "railroad",
|
153 |
+
"99": "river",
|
154 |
+
"100": "road",
|
155 |
+
"101": "roof",
|
156 |
+
"102": "sand",
|
157 |
+
"103": "sea",
|
158 |
+
"104": "shelf",
|
159 |
+
"105": "snow",
|
160 |
+
"106": "stairs",
|
161 |
+
"107": "tent",
|
162 |
+
"108": "towel",
|
163 |
+
"109": "wall-brick",
|
164 |
+
"110": "wall-stone",
|
165 |
+
"111": "wall-tile",
|
166 |
+
"112": "wall-wood",
|
167 |
+
"113": "water-other",
|
168 |
+
"114": "window-blind",
|
169 |
+
"115": "window-other",
|
170 |
+
"116": "tree-merged",
|
171 |
+
"117": "fence-merged",
|
172 |
+
"118": "ceiling-merged",
|
173 |
+
"119": "sky-other-merged",
|
174 |
+
"120": "cabinet-merged",
|
175 |
+
"121": "table-merged",
|
176 |
+
"122": "floor-other-merged",
|
177 |
+
"123": "pavement-merged",
|
178 |
+
"124": "mountain-merged",
|
179 |
+
"125": "grass-merged",
|
180 |
+
"126": "dirt-merged",
|
181 |
+
"127": "paper-merged",
|
182 |
+
"128": "food-other-merged",
|
183 |
+
"129": "building-other-merged",
|
184 |
+
"130": "rock-merged",
|
185 |
+
"131": "wall-other-merged",
|
186 |
+
"132": "rug-merged"
|
187 |
+
},
|
188 |
+
"init_std": 0.02,
|
189 |
+
"init_xavier_std": 1.0,
|
190 |
+
"label2id": {
|
191 |
+
"airplane": 4,
|
192 |
+
"apple": 47,
|
193 |
+
"backpack": 24,
|
194 |
+
"banana": 46,
|
195 |
+
"banner": 80,
|
196 |
+
"baseball bat": 34,
|
197 |
+
"baseball glove": 35,
|
198 |
+
"bear": 21,
|
199 |
+
"bed": 59,
|
200 |
+
"bench": 13,
|
201 |
+
"bicycle": 1,
|
202 |
+
"bird": 14,
|
203 |
+
"blanket": 81,
|
204 |
+
"boat": 8,
|
205 |
+
"book": 73,
|
206 |
+
"bottle": 39,
|
207 |
+
"bowl": 45,
|
208 |
+
"bridge": 82,
|
209 |
+
"broccoli": 50,
|
210 |
+
"building-other-merged": 129,
|
211 |
+
"bus": 5,
|
212 |
+
"cabinet-merged": 120,
|
213 |
+
"cake": 55,
|
214 |
+
"car": 2,
|
215 |
+
"cardboard": 83,
|
216 |
+
"carrot": 51,
|
217 |
+
"cat": 15,
|
218 |
+
"ceiling-merged": 118,
|
219 |
+
"cell phone": 67,
|
220 |
+
"chair": 56,
|
221 |
+
"clock": 74,
|
222 |
+
"couch": 57,
|
223 |
+
"counter": 84,
|
224 |
+
"cow": 19,
|
225 |
+
"cup": 41,
|
226 |
+
"curtain": 85,
|
227 |
+
"dining table": 60,
|
228 |
+
"dirt-merged": 126,
|
229 |
+
"dog": 16,
|
230 |
+
"donut": 54,
|
231 |
+
"door-stuff": 86,
|
232 |
+
"elephant": 20,
|
233 |
+
"fence-merged": 117,
|
234 |
+
"fire hydrant": 10,
|
235 |
+
"floor-other-merged": 122,
|
236 |
+
"floor-wood": 87,
|
237 |
+
"flower": 88,
|
238 |
+
"food-other-merged": 128,
|
239 |
+
"fork": 42,
|
240 |
+
"frisbee": 29,
|
241 |
+
"fruit": 89,
|
242 |
+
"giraffe": 23,
|
243 |
+
"grass-merged": 125,
|
244 |
+
"gravel": 90,
|
245 |
+
"hair drier": 78,
|
246 |
+
"handbag": 26,
|
247 |
+
"horse": 17,
|
248 |
+
"hot dog": 52,
|
249 |
+
"house": 91,
|
250 |
+
"keyboard": 66,
|
251 |
+
"kite": 33,
|
252 |
+
"knife": 43,
|
253 |
+
"laptop": 63,
|
254 |
+
"light": 92,
|
255 |
+
"microwave": 68,
|
256 |
+
"mirror-stuff": 93,
|
257 |
+
"motorcycle": 3,
|
258 |
+
"mountain-merged": 124,
|
259 |
+
"mouse": 64,
|
260 |
+
"net": 94,
|
261 |
+
"orange": 49,
|
262 |
+
"oven": 69,
|
263 |
+
"paper-merged": 127,
|
264 |
+
"parking meter": 12,
|
265 |
+
"pavement-merged": 123,
|
266 |
+
"person": 0,
|
267 |
+
"pillow": 95,
|
268 |
+
"pizza": 53,
|
269 |
+
"platform": 96,
|
270 |
+
"playingfield": 97,
|
271 |
+
"potted plant": 58,
|
272 |
+
"railroad": 98,
|
273 |
+
"refrigerator": 72,
|
274 |
+
"remote": 65,
|
275 |
+
"river": 99,
|
276 |
+
"road": 100,
|
277 |
+
"rock-merged": 130,
|
278 |
+
"roof": 101,
|
279 |
+
"rug-merged": 132,
|
280 |
+
"sand": 102,
|
281 |
+
"sandwich": 48,
|
282 |
+
"scissors": 76,
|
283 |
+
"sea": 103,
|
284 |
+
"sheep": 18,
|
285 |
+
"shelf": 104,
|
286 |
+
"sink": 71,
|
287 |
+
"skateboard": 36,
|
288 |
+
"skis": 30,
|
289 |
+
"sky-other-merged": 119,
|
290 |
+
"snow": 105,
|
291 |
+
"snowboard": 31,
|
292 |
+
"spoon": 44,
|
293 |
+
"sports ball": 32,
|
294 |
+
"stairs": 106,
|
295 |
+
"stop sign": 11,
|
296 |
+
"suitcase": 28,
|
297 |
+
"surfboard": 37,
|
298 |
+
"table-merged": 121,
|
299 |
+
"teddy bear": 77,
|
300 |
+
"tennis racket": 38,
|
301 |
+
"tent": 107,
|
302 |
+
"tie": 27,
|
303 |
+
"toaster": 70,
|
304 |
+
"toilet": 61,
|
305 |
+
"toothbrush": 79,
|
306 |
+
"towel": 108,
|
307 |
+
"traffic light": 9,
|
308 |
+
"train": 6,
|
309 |
+
"tree-merged": 116,
|
310 |
+
"truck": 7,
|
311 |
+
"tv": 62,
|
312 |
+
"umbrella": 25,
|
313 |
+
"vase": 75,
|
314 |
+
"wall-brick": 109,
|
315 |
+
"wall-other-merged": 131,
|
316 |
+
"wall-stone": 110,
|
317 |
+
"wall-tile": 111,
|
318 |
+
"wall-wood": 112,
|
319 |
+
"water-other": 113,
|
320 |
+
"window-blind": 114,
|
321 |
+
"window-other": 115,
|
322 |
+
"wine glass": 40,
|
323 |
+
"zebra": 22
|
324 |
+
},
|
325 |
+
"mask_feature_size": 256,
|
326 |
+
"mask_weight": 20.0,
|
327 |
+
"model_type": "maskformer",
|
328 |
+
"no_object_weight": 0.1,
|
329 |
+
"num_attention_heads": 8,
|
330 |
+
"num_hidden_layers": 6,
|
331 |
+
"num_queries": 100,
|
332 |
+
"output_auxiliary_logits": null,
|
333 |
+
"transformers_version": "4.45.0.dev0",
|
334 |
+
"use_auxiliary_loss": false,
|
335 |
+
"use_pretrained_backbone": false,
|
336 |
+
"use_timm_backbone": false
|
337 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eae038d7e2917007e593f4c412399cede013efcdd7a015ae5d41ab2428508ef0
|
3 |
+
size 260117106
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffa4fba8411beeb51c5a87b224d6f578f53d09c0469bae447e20788242acf196
|
3 |
+
size 59645755
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebfbade371fcb654e94e4cc81a09795b0046456f3ebaff944e291f5f0a422464
|
3 |
+
size 134608944
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26aaa730288b0bf87a9fcc85d524d87889b622c783fb9454721b87bf7cff86ff
|
3 |
+
size 74439781
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:014e2a453d196c2005d0d7517ce80f1b841df314f9c7bc8dc63df9378b39950a
|
3 |
+
size 63289809
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b05e059bd44b5e11f721403f5c4a24e03a3fd85f9a5402ecb7d0520a6a7e002
|
3 |
+
size 50694571
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8a4b6f80dae92152830453ba5cb7a94623dc5ba82285108195d4ea3ac885efb
|
3 |
+
size 74439781
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8a4b6f80dae92152830453ba5cb7a94623dc5ba82285108195d4ea3ac885efb
|
3 |
+
size 74439781
|
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": 1333,
|
19 |
+
"num_labels": null,
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"longest_edge": 1333,
|
24 |
+
"shortest_edge": 800
|
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 |
+
}
|