Xenova HF staff commited on
Commit
89f84a1
1 Parent(s): 9c02509

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "96dc1ca013de502aa43e5f4e4203d1810d31f98d",
3
+ "_name_or_path": "LiheYoung/depth-anything-base-hf",
4
+ "architectures": [
5
+ "DepthAnythingForDepthEstimation"
6
+ ],
7
+ "backbone": null,
8
+ "backbone_config": {
9
+ "architectures": [
10
+ "Dinov2Model"
11
+ ],
12
+ "hidden_size": 768,
13
+ "image_size": 518,
14
+ "model_type": "dinov2",
15
+ "num_attention_heads": 12,
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": 128,
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
+ 96,
39
+ 192,
40
+ 384,
41
+ 768
42
+ ],
43
+ "patch_size": 14,
44
+ "reassemble_factors": [
45
+ 4,
46
+ 2,
47
+ 1,
48
+ 0.5
49
+ ],
50
+ "reassemble_hidden_size": 768,
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:31c6e0a9de2c1445245a6a06d4e6775f7051d90e64f3cca6bac722b591074c9d
3
+ size 389030316
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b34a666756b2502993068603370e5621c204cbf9964ebe26e92e846b4e2e007
3
+ size 102661099
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,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Where",
8
+ "Softmax",
9
+ "Div",
10
+ "Conv",
11
+ "ConstantOfShape",
12
+ "ConvTranspose",
13
+ "Relu",
14
+ "Cast",
15
+ "Squeeze",
16
+ "Shape",
17
+ "Expand",
18
+ "Gather",
19
+ "ReduceMean",
20
+ "Unsqueeze",
21
+ "Erf",
22
+ "Mul",
23
+ "Add",
24
+ "Reshape",
25
+ "Slice",
26
+ "Concat",
27
+ "MatMul",
28
+ "Sub",
29
+ "Transpose",
30
+ "Resize",
31
+ "Sqrt",
32
+ "Constant",
33
+ "Equal",
34
+ "Pow"
35
+ ],
36
+ "weight_type": "QUInt8"
37
+ }
38
+ }
39
+ }