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hash": "fc1dad95a6337f3979a108e336932338130255a0",
3
+ "_name_or_path": "Intel/dpt-hybrid-midas",
4
+ "architectures": [
5
+ "DPTForDepthEstimation"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "auxiliary_loss_weight": 0.4,
9
+ "backbone_config": {
10
+ "_name_or_path": "",
11
+ "add_cross_attention": false,
12
+ "architectures": null,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "depths": [
20
+ 3,
21
+ 4,
22
+ 9
23
+ ],
24
+ "diversity_penalty": 0.0,
25
+ "do_sample": false,
26
+ "drop_path_rate": 0.0,
27
+ "early_stopping": false,
28
+ "embedding_dynamic_padding": true,
29
+ "embedding_size": 64,
30
+ "encoder_no_repeat_ngram_size": 0,
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
+ "global_padding": "SAME",
37
+ "hidden_act": "relu",
38
+ "hidden_sizes": [
39
+ 256,
40
+ 512,
41
+ 1024,
42
+ 2048
43
+ ],
44
+ "id2label": {
45
+ "0": "LABEL_0",
46
+ "1": "LABEL_1"
47
+ },
48
+ "is_decoder": false,
49
+ "is_encoder_decoder": false,
50
+ "label2id": {
51
+ "LABEL_0": 0,
52
+ "LABEL_1": 1
53
+ },
54
+ "layer_type": "bottleneck",
55
+ "length_penalty": 1.0,
56
+ "max_length": 20,
57
+ "min_length": 0,
58
+ "model_type": "bit",
59
+ "no_repeat_ngram_size": 0,
60
+ "num_beam_groups": 1,
61
+ "num_beams": 1,
62
+ "num_channels": 3,
63
+ "num_groups": 32,
64
+ "num_return_sequences": 1,
65
+ "out_features": [
66
+ "stage1",
67
+ "stage2",
68
+ "stage3"
69
+ ],
70
+ "out_indices": [
71
+ 1,
72
+ 2,
73
+ 3
74
+ ],
75
+ "output_attentions": false,
76
+ "output_hidden_states": false,
77
+ "output_scores": false,
78
+ "output_stride": 32,
79
+ "pad_token_id": null,
80
+ "prefix": null,
81
+ "problem_type": null,
82
+ "pruned_heads": {},
83
+ "remove_invalid_values": false,
84
+ "repetition_penalty": 1.0,
85
+ "return_dict": true,
86
+ "return_dict_in_generate": false,
87
+ "sep_token_id": null,
88
+ "stage_names": [
89
+ "stem",
90
+ "stage1",
91
+ "stage2",
92
+ "stage3"
93
+ ],
94
+ "suppress_tokens": null,
95
+ "task_specific_params": null,
96
+ "temperature": 1.0,
97
+ "tf_legacy_loss": false,
98
+ "tie_encoder_decoder": false,
99
+ "tie_word_embeddings": true,
100
+ "tokenizer_class": null,
101
+ "top_k": 50,
102
+ "top_p": 1.0,
103
+ "torch_dtype": null,
104
+ "torchscript": false,
105
+ "transformers_version": "4.36.0.dev0",
106
+ "typical_p": 1.0,
107
+ "use_bfloat16": false,
108
+ "width_factor": 1
109
+ },
110
+ "backbone_featmap_shape": [
111
+ 1,
112
+ 1024,
113
+ 24,
114
+ 24
115
+ ],
116
+ "backbone_out_indices": [
117
+ 2,
118
+ 5,
119
+ 8,
120
+ 11
121
+ ],
122
+ "fusion_hidden_size": 256,
123
+ "head_in_index": -1,
124
+ "hidden_act": "gelu",
125
+ "hidden_dropout_prob": 0.0,
126
+ "hidden_size": 768,
127
+ "id2label": {
128
+ "0": "LABEL_0",
129
+ "1": "LABEL_1",
130
+ "2": "LABEL_2",
131
+ "3": "LABEL_3",
132
+ "4": "LABEL_4",
133
+ "5": "LABEL_5",
134
+ "6": "LABEL_6",
135
+ "7": "LABEL_7",
136
+ "8": "LABEL_8",
137
+ "9": "LABEL_9",
138
+ "10": "LABEL_10",
139
+ "11": "LABEL_11",
140
+ "12": "LABEL_12",
141
+ "13": "LABEL_13",
142
+ "14": "LABEL_14",
143
+ "15": "LABEL_15",
144
+ "16": "LABEL_16",
145
+ "17": "LABEL_17",
146
+ "18": "LABEL_18",
147
+ "19": "LABEL_19",
148
+ "20": "LABEL_20",
149
+ "21": "LABEL_21",
150
+ "22": "LABEL_22",
151
+ "23": "LABEL_23",
152
+ "24": "LABEL_24",
153
+ "25": "LABEL_25",
154
+ "26": "LABEL_26",
155
+ "27": "LABEL_27",
156
+ "28": "LABEL_28",
157
+ "29": "LABEL_29",
158
+ "30": "LABEL_30",
159
+ "31": "LABEL_31",
160
+ "32": "LABEL_32",
161
+ "33": "LABEL_33",
162
+ "34": "LABEL_34",
163
+ "35": "LABEL_35",
164
+ "36": "LABEL_36",
165
+ "37": "LABEL_37",
166
+ "38": "LABEL_38",
167
+ "39": "LABEL_39",
168
+ "40": "LABEL_40",
169
+ "41": "LABEL_41",
170
+ "42": "LABEL_42",
171
+ "43": "LABEL_43",
172
+ "44": "LABEL_44",
173
+ "45": "LABEL_45",
174
+ "46": "LABEL_46",
175
+ "47": "LABEL_47",
176
+ "48": "LABEL_48",
177
+ "49": "LABEL_49",
178
+ "50": "LABEL_50",
179
+ "51": "LABEL_51",
180
+ "52": "LABEL_52",
181
+ "53": "LABEL_53",
182
+ "54": "LABEL_54",
183
+ "55": "LABEL_55",
184
+ "56": "LABEL_56",
185
+ "57": "LABEL_57",
186
+ "58": "LABEL_58",
187
+ "59": "LABEL_59",
188
+ "60": "LABEL_60",
189
+ "61": "LABEL_61",
190
+ "62": "LABEL_62",
191
+ "63": "LABEL_63",
192
+ "64": "LABEL_64",
193
+ "65": "LABEL_65",
194
+ "66": "LABEL_66",
195
+ "67": "LABEL_67",
196
+ "68": "LABEL_68",
197
+ "69": "LABEL_69",
198
+ "70": "LABEL_70",
199
+ "71": "LABEL_71",
200
+ "72": "LABEL_72",
201
+ "73": "LABEL_73",
202
+ "74": "LABEL_74",
203
+ "75": "LABEL_75",
204
+ "76": "LABEL_76",
205
+ "77": "LABEL_77",
206
+ "78": "LABEL_78",
207
+ "79": "LABEL_79",
208
+ "80": "LABEL_80",
209
+ "81": "LABEL_81",
210
+ "82": "LABEL_82",
211
+ "83": "LABEL_83",
212
+ "84": "LABEL_84",
213
+ "85": "LABEL_85",
214
+ "86": "LABEL_86",
215
+ "87": "LABEL_87",
216
+ "88": "LABEL_88",
217
+ "89": "LABEL_89",
218
+ "90": "LABEL_90",
219
+ "91": "LABEL_91",
220
+ "92": "LABEL_92",
221
+ "93": "LABEL_93",
222
+ "94": "LABEL_94",
223
+ "95": "LABEL_95",
224
+ "96": "LABEL_96",
225
+ "97": "LABEL_97",
226
+ "98": "LABEL_98",
227
+ "99": "LABEL_99",
228
+ "100": "LABEL_100",
229
+ "101": "LABEL_101",
230
+ "102": "LABEL_102",
231
+ "103": "LABEL_103",
232
+ "104": "LABEL_104",
233
+ "105": "LABEL_105",
234
+ "106": "LABEL_106",
235
+ "107": "LABEL_107",
236
+ "108": "LABEL_108",
237
+ "109": "LABEL_109",
238
+ "110": "LABEL_110",
239
+ "111": "LABEL_111",
240
+ "112": "LABEL_112",
241
+ "113": "LABEL_113",
242
+ "114": "LABEL_114",
243
+ "115": "LABEL_115",
244
+ "116": "LABEL_116",
245
+ "117": "LABEL_117",
246
+ "118": "LABEL_118",
247
+ "119": "LABEL_119",
248
+ "120": "LABEL_120",
249
+ "121": "LABEL_121",
250
+ "122": "LABEL_122",
251
+ "123": "LABEL_123",
252
+ "124": "LABEL_124",
253
+ "125": "LABEL_125",
254
+ "126": "LABEL_126",
255
+ "127": "LABEL_127",
256
+ "128": "LABEL_128",
257
+ "129": "LABEL_129",
258
+ "130": "LABEL_130",
259
+ "131": "LABEL_131",
260
+ "132": "LABEL_132",
261
+ "133": "LABEL_133",
262
+ "134": "LABEL_134",
263
+ "135": "LABEL_135",
264
+ "136": "LABEL_136",
265
+ "137": "LABEL_137",
266
+ "138": "LABEL_138",
267
+ "139": "LABEL_139",
268
+ "140": "LABEL_140",
269
+ "141": "LABEL_141",
270
+ "142": "LABEL_142",
271
+ "143": "LABEL_143",
272
+ "144": "LABEL_144",
273
+ "145": "LABEL_145",
274
+ "146": "LABEL_146",
275
+ "147": "LABEL_147",
276
+ "148": "LABEL_148",
277
+ "149": "LABEL_149"
278
+ },
279
+ "image_size": 384,
280
+ "initializer_range": 0.02,
281
+ "intermediate_size": 3072,
282
+ "is_hybrid": true,
283
+ "label2id": {
284
+ "LABEL_0": 0,
285
+ "LABEL_1": 1,
286
+ "LABEL_10": 10,
287
+ "LABEL_100": 100,
288
+ "LABEL_101": 101,
289
+ "LABEL_102": 102,
290
+ "LABEL_103": 103,
291
+ "LABEL_104": 104,
292
+ "LABEL_105": 105,
293
+ "LABEL_106": 106,
294
+ "LABEL_107": 107,
295
+ "LABEL_108": 108,
296
+ "LABEL_109": 109,
297
+ "LABEL_11": 11,
298
+ "LABEL_110": 110,
299
+ "LABEL_111": 111,
300
+ "LABEL_112": 112,
301
+ "LABEL_113": 113,
302
+ "LABEL_114": 114,
303
+ "LABEL_115": 115,
304
+ "LABEL_116": 116,
305
+ "LABEL_117": 117,
306
+ "LABEL_118": 118,
307
+ "LABEL_119": 119,
308
+ "LABEL_12": 12,
309
+ "LABEL_120": 120,
310
+ "LABEL_121": 121,
311
+ "LABEL_122": 122,
312
+ "LABEL_123": 123,
313
+ "LABEL_124": 124,
314
+ "LABEL_125": 125,
315
+ "LABEL_126": 126,
316
+ "LABEL_127": 127,
317
+ "LABEL_128": 128,
318
+ "LABEL_129": 129,
319
+ "LABEL_13": 13,
320
+ "LABEL_130": 130,
321
+ "LABEL_131": 131,
322
+ "LABEL_132": 132,
323
+ "LABEL_133": 133,
324
+ "LABEL_134": 134,
325
+ "LABEL_135": 135,
326
+ "LABEL_136": 136,
327
+ "LABEL_137": 137,
328
+ "LABEL_138": 138,
329
+ "LABEL_139": 139,
330
+ "LABEL_14": 14,
331
+ "LABEL_140": 140,
332
+ "LABEL_141": 141,
333
+ "LABEL_142": 142,
334
+ "LABEL_143": 143,
335
+ "LABEL_144": 144,
336
+ "LABEL_145": 145,
337
+ "LABEL_146": 146,
338
+ "LABEL_147": 147,
339
+ "LABEL_148": 148,
340
+ "LABEL_149": 149,
341
+ "LABEL_15": 15,
342
+ "LABEL_16": 16,
343
+ "LABEL_17": 17,
344
+ "LABEL_18": 18,
345
+ "LABEL_19": 19,
346
+ "LABEL_2": 2,
347
+ "LABEL_20": 20,
348
+ "LABEL_21": 21,
349
+ "LABEL_22": 22,
350
+ "LABEL_23": 23,
351
+ "LABEL_24": 24,
352
+ "LABEL_25": 25,
353
+ "LABEL_26": 26,
354
+ "LABEL_27": 27,
355
+ "LABEL_28": 28,
356
+ "LABEL_29": 29,
357
+ "LABEL_3": 3,
358
+ "LABEL_30": 30,
359
+ "LABEL_31": 31,
360
+ "LABEL_32": 32,
361
+ "LABEL_33": 33,
362
+ "LABEL_34": 34,
363
+ "LABEL_35": 35,
364
+ "LABEL_36": 36,
365
+ "LABEL_37": 37,
366
+ "LABEL_38": 38,
367
+ "LABEL_39": 39,
368
+ "LABEL_4": 4,
369
+ "LABEL_40": 40,
370
+ "LABEL_41": 41,
371
+ "LABEL_42": 42,
372
+ "LABEL_43": 43,
373
+ "LABEL_44": 44,
374
+ "LABEL_45": 45,
375
+ "LABEL_46": 46,
376
+ "LABEL_47": 47,
377
+ "LABEL_48": 48,
378
+ "LABEL_49": 49,
379
+ "LABEL_5": 5,
380
+ "LABEL_50": 50,
381
+ "LABEL_51": 51,
382
+ "LABEL_52": 52,
383
+ "LABEL_53": 53,
384
+ "LABEL_54": 54,
385
+ "LABEL_55": 55,
386
+ "LABEL_56": 56,
387
+ "LABEL_57": 57,
388
+ "LABEL_58": 58,
389
+ "LABEL_59": 59,
390
+ "LABEL_6": 6,
391
+ "LABEL_60": 60,
392
+ "LABEL_61": 61,
393
+ "LABEL_62": 62,
394
+ "LABEL_63": 63,
395
+ "LABEL_64": 64,
396
+ "LABEL_65": 65,
397
+ "LABEL_66": 66,
398
+ "LABEL_67": 67,
399
+ "LABEL_68": 68,
400
+ "LABEL_69": 69,
401
+ "LABEL_7": 7,
402
+ "LABEL_70": 70,
403
+ "LABEL_71": 71,
404
+ "LABEL_72": 72,
405
+ "LABEL_73": 73,
406
+ "LABEL_74": 74,
407
+ "LABEL_75": 75,
408
+ "LABEL_76": 76,
409
+ "LABEL_77": 77,
410
+ "LABEL_78": 78,
411
+ "LABEL_79": 79,
412
+ "LABEL_8": 8,
413
+ "LABEL_80": 80,
414
+ "LABEL_81": 81,
415
+ "LABEL_82": 82,
416
+ "LABEL_83": 83,
417
+ "LABEL_84": 84,
418
+ "LABEL_85": 85,
419
+ "LABEL_86": 86,
420
+ "LABEL_87": 87,
421
+ "LABEL_88": 88,
422
+ "LABEL_89": 89,
423
+ "LABEL_9": 9,
424
+ "LABEL_90": 90,
425
+ "LABEL_91": 91,
426
+ "LABEL_92": 92,
427
+ "LABEL_93": 93,
428
+ "LABEL_94": 94,
429
+ "LABEL_95": 95,
430
+ "LABEL_96": 96,
431
+ "LABEL_97": 97,
432
+ "LABEL_98": 98,
433
+ "LABEL_99": 99
434
+ },
435
+ "layer_norm_eps": 1e-12,
436
+ "model_type": "dpt",
437
+ "neck_hidden_sizes": [
438
+ 256,
439
+ 512,
440
+ 768,
441
+ 768
442
+ ],
443
+ "neck_ignore_stages": [
444
+ 0,
445
+ 1
446
+ ],
447
+ "num_attention_heads": 12,
448
+ "num_channels": 3,
449
+ "num_hidden_layers": 12,
450
+ "patch_size": 16,
451
+ "qkv_bias": true,
452
+ "readout_type": "project",
453
+ "reassemble_factors": [
454
+ 1,
455
+ 1,
456
+ 1,
457
+ 0.5
458
+ ],
459
+ "semantic_classifier_dropout": 0.1,
460
+ "semantic_loss_ignore_index": 255,
461
+ "transformers_version": null,
462
+ "use_auxiliary_head": true,
463
+ "use_batch_norm_in_fusion_residual": false
464
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2eca68239006c64af94bdfa68464f34d7627c3dca7bb02932636e616c55a39ff
3
+ size 533061339
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e93ae95c198cd855c1f9119d09c9127498f07a357527f2d8821d4b412e2ef9a9
3
+ size 207787230
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "ensure_multiple_of": 1,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "DPTFeatureExtractor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "keep_aspect_ratio": false,
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "height": 384,
22
+ "width": 384
23
+ }
24
+ }
quantize_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Shape",
8
+ "Concat",
9
+ "InstanceNormalization",
10
+ "Pow",
11
+ "Resize",
12
+ "Add",
13
+ "Relu",
14
+ "Softmax",
15
+ "Squeeze",
16
+ "Unsqueeze",
17
+ "Pad",
18
+ "Slice",
19
+ "Constant",
20
+ "Identity",
21
+ "Reshape",
22
+ "Div",
23
+ "ConstantOfShape",
24
+ "Sqrt",
25
+ "Gather",
26
+ "Mul",
27
+ "ReduceMean",
28
+ "Equal",
29
+ "Sub",
30
+ "Where",
31
+ "Expand",
32
+ "Transpose",
33
+ "Erf",
34
+ "Cast",
35
+ "Conv",
36
+ "MaxPool",
37
+ "MatMul",
38
+ "BatchNormalization"
39
+ ],
40
+ "weight_type": "QUInt8"
41
+ }
42
+ }
43
+ }