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