alanren commited on
Commit
4cc086a
·
verified ·
1 Parent(s): de2a8c7

Upload 6 files

Browse files
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "9103bc8e2d785bcfd024e4bfd7e7c4593bc50bba",
3
+ "_name_or_path": "LiheYoung/depth-anything-small-hf",
4
+ "architectures": [
5
+ "DepthAnythingForDepthEstimation"
6
+ ],
7
+ "backbone": null,
8
+ "backbone_config": {
9
+ "architectures": [
10
+ "Dinov2Model"
11
+ ],
12
+ "hidden_size": 384,
13
+ "image_size": 518,
14
+ "model_type": "dinov2",
15
+ "num_attention_heads": 6,
16
+ "out_features": [
17
+ "stage9",
18
+ "stage10",
19
+ "stage11",
20
+ "stage12"
21
+ ],
22
+ "out_indices": [
23
+ 9,
24
+ 10,
25
+ 11,
26
+ 12
27
+ ],
28
+ "patch_size": 14,
29
+ "reshape_hidden_states": false,
30
+ "torch_dtype": "float32"
31
+ },
32
+ "fusion_hidden_size": 64,
33
+ "head_hidden_size": 32,
34
+ "head_in_index": -1,
35
+ "initializer_range": 0.02,
36
+ "model_type": "depth_anything",
37
+ "neck_hidden_sizes": [
38
+ 48,
39
+ 96,
40
+ 192,
41
+ 384
42
+ ],
43
+ "patch_size": 14,
44
+ "reassemble_factors": [
45
+ 4,
46
+ 2,
47
+ 1,
48
+ 0.5
49
+ ],
50
+ "reassemble_hidden_size": 384,
51
+ "transformers_version": null,
52
+ "use_pretrained_backbone": false
53
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c222151fa1a941b7a075efdee44a85bb22e1bc07dce3659a03cb3f4eb53dd213
3
+ size 99170955
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fa4ac864741730946ef3613e06e2ec60b9e22dde03b5487a1dc970c2c8840b0
3
+ size 49863207
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecaf76ba1fe790fbf0c8340f38cf3a2eb0f35793ae27b7a14a138443e377edd1
3
+ size 19345426
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "ensure_multiple_of": 14,
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "DPTImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "keep_aspect_ratio": true,
19
+ "resample": 3,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 518,
23
+ "width": 518
24
+ },
25
+ "size_divisor": null
26
+ }
quantize_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Constant",
8
+ "Gather",
9
+ "MatMul",
10
+ "Transpose",
11
+ "Equal",
12
+ "Expand",
13
+ "Concat",
14
+ "Sqrt",
15
+ "Pow",
16
+ "Relu",
17
+ "Cast",
18
+ "Conv",
19
+ "ConvTranspose",
20
+ "Slice",
21
+ "Unsqueeze",
22
+ "Reshape",
23
+ "Softmax",
24
+ "Erf",
25
+ "Sub",
26
+ "Identity",
27
+ "Where",
28
+ "ConstantOfShape",
29
+ "Squeeze",
30
+ "Div",
31
+ "ReduceMean",
32
+ "Shape",
33
+ "Resize",
34
+ "Mul",
35
+ "Add"
36
+ ],
37
+ "weight_type": "QUInt8"
38
+ }
39
+ }
40
+ }