Xenova HF staff commited on
Commit
04d7e6e
1 Parent(s): bb99d38

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "4e2a4f294821aab4135827c5805a86b476400408",
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:4a9001b7fc1b43814b49753904d2110ce4700103285a8868f191e784aa92c235
3
+ size 99172654
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44ac3963964f3a34404bd670d24c776cf6caa0cd905472215e12a0b9ffed0e7c
3
+ size 27527104
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
+ "Softmax",
8
+ "Resize",
9
+ "Identity",
10
+ "Cast",
11
+ "Shape",
12
+ "Div",
13
+ "Reshape",
14
+ "Erf",
15
+ "MatMul",
16
+ "Constant",
17
+ "ConstantOfShape",
18
+ "Concat",
19
+ "Sqrt",
20
+ "Equal",
21
+ "Where",
22
+ "Add",
23
+ "Squeeze",
24
+ "ConvTranspose",
25
+ "Unsqueeze",
26
+ "Conv",
27
+ "Expand",
28
+ "Sub",
29
+ "ReduceMean",
30
+ "Slice",
31
+ "Mul",
32
+ "Relu",
33
+ "Gather",
34
+ "Transpose",
35
+ "Pow"
36
+ ],
37
+ "weight_type": "QUInt8"
38
+ }
39
+ }
40
+ }