Upload folder using huggingface_hub
Browse files- config.json +176 -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 +26 -0
- quantize_config.json +17 -0
config.json
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "8c762dd3921556d73ba9f4c6af96665feb5195c7",
|
3 |
+
"_name_or_path": "facebook/dpt-dinov2-large-kitti",
|
4 |
+
"add_projection": true,
|
5 |
+
"architectures": [
|
6 |
+
"DPTForDepthEstimation"
|
7 |
+
],
|
8 |
+
"attention_probs_dropout_prob": null,
|
9 |
+
"auxiliary_loss_weight": 0.4,
|
10 |
+
"backbone": null,
|
11 |
+
"backbone_config": {
|
12 |
+
"_name_or_path": "",
|
13 |
+
"add_cross_attention": false,
|
14 |
+
"apply_layernorm": false,
|
15 |
+
"architectures": [
|
16 |
+
"Dinov2Model"
|
17 |
+
],
|
18 |
+
"attention_probs_dropout_prob": 0.0,
|
19 |
+
"bad_words_ids": null,
|
20 |
+
"begin_suppress_tokens": null,
|
21 |
+
"bos_token_id": null,
|
22 |
+
"chunk_size_feed_forward": 0,
|
23 |
+
"cross_attention_hidden_size": null,
|
24 |
+
"decoder_start_token_id": null,
|
25 |
+
"diversity_penalty": 0.0,
|
26 |
+
"do_sample": false,
|
27 |
+
"drop_path_rate": 0.0,
|
28 |
+
"early_stopping": false,
|
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 |
+
"hidden_act": "gelu",
|
36 |
+
"hidden_dropout_prob": 0.0,
|
37 |
+
"hidden_size": 1024,
|
38 |
+
"id2label": {
|
39 |
+
"0": "LABEL_0",
|
40 |
+
"1": "LABEL_1"
|
41 |
+
},
|
42 |
+
"image_size": 518,
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"is_decoder": false,
|
45 |
+
"is_encoder_decoder": false,
|
46 |
+
"label2id": {
|
47 |
+
"LABEL_0": 0,
|
48 |
+
"LABEL_1": 1
|
49 |
+
},
|
50 |
+
"layer_norm_eps": 1e-06,
|
51 |
+
"layerscale_value": 1.0,
|
52 |
+
"length_penalty": 1.0,
|
53 |
+
"max_length": 20,
|
54 |
+
"min_length": 0,
|
55 |
+
"mlp_ratio": 4,
|
56 |
+
"model_type": "dinov2",
|
57 |
+
"no_repeat_ngram_size": 0,
|
58 |
+
"num_attention_heads": 16,
|
59 |
+
"num_beam_groups": 1,
|
60 |
+
"num_beams": 1,
|
61 |
+
"num_channels": 3,
|
62 |
+
"num_hidden_layers": 24,
|
63 |
+
"num_return_sequences": 1,
|
64 |
+
"out_features": [
|
65 |
+
"stage5",
|
66 |
+
"stage12",
|
67 |
+
"stage18",
|
68 |
+
"stage24"
|
69 |
+
],
|
70 |
+
"out_indices": [
|
71 |
+
5,
|
72 |
+
12,
|
73 |
+
18,
|
74 |
+
24
|
75 |
+
],
|
76 |
+
"output_attentions": false,
|
77 |
+
"output_hidden_states": false,
|
78 |
+
"output_scores": false,
|
79 |
+
"pad_token_id": null,
|
80 |
+
"patch_size": 14,
|
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 |
+
"reshape_hidden_states": false,
|
88 |
+
"return_dict": true,
|
89 |
+
"return_dict_in_generate": false,
|
90 |
+
"sep_token_id": null,
|
91 |
+
"stage_names": [
|
92 |
+
"stem",
|
93 |
+
"stage1",
|
94 |
+
"stage2",
|
95 |
+
"stage3",
|
96 |
+
"stage4",
|
97 |
+
"stage5",
|
98 |
+
"stage6",
|
99 |
+
"stage7",
|
100 |
+
"stage8",
|
101 |
+
"stage9",
|
102 |
+
"stage10",
|
103 |
+
"stage11",
|
104 |
+
"stage12",
|
105 |
+
"stage13",
|
106 |
+
"stage14",
|
107 |
+
"stage15",
|
108 |
+
"stage16",
|
109 |
+
"stage17",
|
110 |
+
"stage18",
|
111 |
+
"stage19",
|
112 |
+
"stage20",
|
113 |
+
"stage21",
|
114 |
+
"stage22",
|
115 |
+
"stage23",
|
116 |
+
"stage24"
|
117 |
+
],
|
118 |
+
"suppress_tokens": null,
|
119 |
+
"task_specific_params": null,
|
120 |
+
"temperature": 1.0,
|
121 |
+
"tf_legacy_loss": false,
|
122 |
+
"tie_encoder_decoder": false,
|
123 |
+
"tie_word_embeddings": true,
|
124 |
+
"tokenizer_class": null,
|
125 |
+
"top_k": 50,
|
126 |
+
"top_p": 1.0,
|
127 |
+
"torch_dtype": "float32",
|
128 |
+
"torchscript": false,
|
129 |
+
"transformers_version": "4.45.0.dev0",
|
130 |
+
"typical_p": 1.0,
|
131 |
+
"use_bfloat16": false,
|
132 |
+
"use_swiglu_ffn": false
|
133 |
+
},
|
134 |
+
"backbone_featmap_shape": null,
|
135 |
+
"backbone_kwargs": null,
|
136 |
+
"backbone_out_indices": null,
|
137 |
+
"fusion_hidden_size": 256,
|
138 |
+
"head_in_index": -1,
|
139 |
+
"hidden_act": "gelu",
|
140 |
+
"hidden_dropout_prob": null,
|
141 |
+
"hidden_size": 768,
|
142 |
+
"image_size": null,
|
143 |
+
"initializer_range": 0.02,
|
144 |
+
"intermediate_size": null,
|
145 |
+
"is_hybrid": false,
|
146 |
+
"layer_norm_eps": null,
|
147 |
+
"model_type": "dpt",
|
148 |
+
"neck_hidden_sizes": [
|
149 |
+
128,
|
150 |
+
256,
|
151 |
+
512,
|
152 |
+
1024
|
153 |
+
],
|
154 |
+
"neck_ignore_stages": [],
|
155 |
+
"num_attention_heads": null,
|
156 |
+
"num_channels": null,
|
157 |
+
"num_hidden_layers": null,
|
158 |
+
"patch_size": null,
|
159 |
+
"qkv_bias": null,
|
160 |
+
"readout_type": "project",
|
161 |
+
"reassemble_factors": [
|
162 |
+
4,
|
163 |
+
2,
|
164 |
+
1,
|
165 |
+
0.5
|
166 |
+
],
|
167 |
+
"semantic_classifier_dropout": 0.1,
|
168 |
+
"semantic_loss_ignore_index": 255,
|
169 |
+
"transformers_version": null,
|
170 |
+
"use_autobackbone": true,
|
171 |
+
"use_auxiliary_head": true,
|
172 |
+
"use_batch_norm_in_fusion_residual": false,
|
173 |
+
"use_bias_in_fusion_residual": false,
|
174 |
+
"use_pretrained_backbone": false,
|
175 |
+
"use_timm_backbone": false
|
176 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5941dd120446f9accfbc1d91958044419650f07f05237f06d55d1f65331a7bcc
|
3 |
+
size 1354981392
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:938edad8aee767bb9a5a32870343ea952155f3ea47d12a9b58db7c8fc1b07d6c
|
3 |
+
size 288078563
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8079d6a5d237f08512325a58d40ff93caa605d79c3db23d262ad425478dd46ab
|
3 |
+
size 677875988
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:728fca4d9ddc736e82f24011c9dc6f07f1ef028531ebeb04ac62ea0e9b5491d1
|
3 |
+
size 347606760
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79558fef759245f496a509b650ff9b370bd8bd68a756179d3a850caa9b68f05e
|
3 |
+
size 307476011
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9453492313bcc800b9c52b7f7a4a465bf7d56ee748acc73f9bd726ae63eb8d95
|
3 |
+
size 231728942
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7b8721f7e017dacdf3f93d5f611f79029929e55ac734cc0bb74e48f1c9a595b
|
3 |
+
size 347606760
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7b8721f7e017dacdf3f93d5f611f79029929e55ac734cc0bb74e48f1c9a595b
|
3 |
+
size 347606760
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": true,
|
4 |
+
"do_rescale": false,
|
5 |
+
"do_resize": false,
|
6 |
+
"ensure_multiple_of": 1,
|
7 |
+
"image_mean": [
|
8 |
+
123.675,
|
9 |
+
116.28,
|
10 |
+
103.53
|
11 |
+
],
|
12 |
+
"image_processor_type": "DPTFeatureExtractor",
|
13 |
+
"image_std": [
|
14 |
+
58.395,
|
15 |
+
57.12,
|
16 |
+
57.375
|
17 |
+
],
|
18 |
+
"keep_aspect_ratio": false,
|
19 |
+
"resample": 2,
|
20 |
+
"rescale_factor": 0.00392156862745098,
|
21 |
+
"size": {
|
22 |
+
"height": 384,
|
23 |
+
"width": 384
|
24 |
+
},
|
25 |
+
"size_divisor": 14
|
26 |
+
}
|
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 |
+
}
|