Upload folder using huggingface_hub
Browse files- config.json +69 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- preprocessor_config.json +8 -0
- quantize_config.json +34 -0
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "vinvino02/glpn-kitti",
|
3 |
+
"architectures": [
|
4 |
+
"GLPNForDepthEstimation"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 64,
|
9 |
+
"depths": [
|
10 |
+
3,
|
11 |
+
8,
|
12 |
+
27,
|
13 |
+
3
|
14 |
+
],
|
15 |
+
"downsampling_rates": [
|
16 |
+
1,
|
17 |
+
4,
|
18 |
+
8,
|
19 |
+
16
|
20 |
+
],
|
21 |
+
"drop_path_rate": 0.1,
|
22 |
+
"head_in_index": -1,
|
23 |
+
"hidden_act": "gelu",
|
24 |
+
"hidden_dropout_prob": 0.0,
|
25 |
+
"hidden_sizes": [
|
26 |
+
64,
|
27 |
+
128,
|
28 |
+
320,
|
29 |
+
512
|
30 |
+
],
|
31 |
+
"image_size": 224,
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"layer_norm_eps": 1e-06,
|
34 |
+
"max_depth": 10,
|
35 |
+
"mlp_ratios": [
|
36 |
+
4,
|
37 |
+
4,
|
38 |
+
4,
|
39 |
+
4
|
40 |
+
],
|
41 |
+
"model_type": "glpn",
|
42 |
+
"num_attention_heads": [
|
43 |
+
1,
|
44 |
+
2,
|
45 |
+
5,
|
46 |
+
8
|
47 |
+
],
|
48 |
+
"num_channels": 3,
|
49 |
+
"num_encoder_blocks": 4,
|
50 |
+
"patch_sizes": [
|
51 |
+
7,
|
52 |
+
3,
|
53 |
+
3,
|
54 |
+
3
|
55 |
+
],
|
56 |
+
"sr_ratios": [
|
57 |
+
8,
|
58 |
+
4,
|
59 |
+
2,
|
60 |
+
1
|
61 |
+
],
|
62 |
+
"strides": [
|
63 |
+
4,
|
64 |
+
2,
|
65 |
+
2,
|
66 |
+
2
|
67 |
+
],
|
68 |
+
"transformers_version": "4.36.0.dev0"
|
69 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3d3689ebef0ea2050f29cb8f26db314b53b3a6f244dedd94563e6c418725a1f
|
3 |
+
size 246258456
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d6c79de17adb1e5db2889e896a5aca9758b03bf8af7488133d625a59a12719d
|
3 |
+
size 64785689
|
preprocessor_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_rescale": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "GLPNFeatureExtractor",
|
5 |
+
"image_processor_type": "GLPNFeatureExtractor",
|
6 |
+
"resample": 2,
|
7 |
+
"size_divisor": 32
|
8 |
+
}
|
quantize_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Unsqueeze",
|
8 |
+
"Sqrt",
|
9 |
+
"Sub",
|
10 |
+
"Slice",
|
11 |
+
"Constant",
|
12 |
+
"Softmax",
|
13 |
+
"Gather",
|
14 |
+
"Mul",
|
15 |
+
"Erf",
|
16 |
+
"Resize",
|
17 |
+
"Reshape",
|
18 |
+
"MatMul",
|
19 |
+
"Conv",
|
20 |
+
"ReduceMean",
|
21 |
+
"Squeeze",
|
22 |
+
"Add",
|
23 |
+
"Transpose",
|
24 |
+
"Sigmoid",
|
25 |
+
"Div",
|
26 |
+
"Pow",
|
27 |
+
"Shape",
|
28 |
+
"Relu",
|
29 |
+
"Concat"
|
30 |
+
],
|
31 |
+
"weight_type": "QUInt8"
|
32 |
+
}
|
33 |
+
}
|
34 |
+
}
|