Upload folder using huggingface_hub
Browse files- config.json +81 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- preprocessor_config.json +26 -0
- quantize_config.json +39 -0
config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "b43482a99c60f831503b4e49d282f0cac8bc3a24",
|
3 |
+
"_name_or_path": "LiheYoung/depth-anything-large-hf",
|
4 |
+
"architectures": [
|
5 |
+
"DepthAnythingForDepthEstimation"
|
6 |
+
],
|
7 |
+
"backbone": null,
|
8 |
+
"backbone_config": {
|
9 |
+
"architectures": [
|
10 |
+
"Dinov2Model"
|
11 |
+
],
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"image_size": 518,
|
14 |
+
"model_type": "dinov2",
|
15 |
+
"num_attention_heads": 16,
|
16 |
+
"num_hidden_layers": 24,
|
17 |
+
"out_features": [
|
18 |
+
"stage21",
|
19 |
+
"stage22",
|
20 |
+
"stage23",
|
21 |
+
"stage24"
|
22 |
+
],
|
23 |
+
"out_indices": [
|
24 |
+
21,
|
25 |
+
22,
|
26 |
+
23,
|
27 |
+
24
|
28 |
+
],
|
29 |
+
"patch_size": 14,
|
30 |
+
"reshape_hidden_states": false,
|
31 |
+
"stage_names": [
|
32 |
+
"stem",
|
33 |
+
"stage1",
|
34 |
+
"stage2",
|
35 |
+
"stage3",
|
36 |
+
"stage4",
|
37 |
+
"stage5",
|
38 |
+
"stage6",
|
39 |
+
"stage7",
|
40 |
+
"stage8",
|
41 |
+
"stage9",
|
42 |
+
"stage10",
|
43 |
+
"stage11",
|
44 |
+
"stage12",
|
45 |
+
"stage13",
|
46 |
+
"stage14",
|
47 |
+
"stage15",
|
48 |
+
"stage16",
|
49 |
+
"stage17",
|
50 |
+
"stage18",
|
51 |
+
"stage19",
|
52 |
+
"stage20",
|
53 |
+
"stage21",
|
54 |
+
"stage22",
|
55 |
+
"stage23",
|
56 |
+
"stage24"
|
57 |
+
],
|
58 |
+
"torch_dtype": "float32"
|
59 |
+
},
|
60 |
+
"fusion_hidden_size": 256,
|
61 |
+
"head_hidden_size": 32,
|
62 |
+
"head_in_index": -1,
|
63 |
+
"initializer_range": 0.02,
|
64 |
+
"model_type": "depth_anything",
|
65 |
+
"neck_hidden_sizes": [
|
66 |
+
256,
|
67 |
+
512,
|
68 |
+
1024,
|
69 |
+
1024
|
70 |
+
],
|
71 |
+
"patch_size": 14,
|
72 |
+
"reassemble_factors": [
|
73 |
+
4,
|
74 |
+
2,
|
75 |
+
1,
|
76 |
+
0.5
|
77 |
+
],
|
78 |
+
"reassemble_hidden_size": 1024,
|
79 |
+
"transformers_version": null,
|
80 |
+
"use_pretrained_backbone": false
|
81 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57f29727d51273d895291dcfade55e224be3cfa59f4c18d1510325fd6bb8b1d5
|
3 |
+
size 1337138645
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d52705d293edd1ae6c44c2b3dacc9753037d50591653d0d7e75fabc94758ee8
|
3 |
+
size 347929189
|
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 |
+
"Constant",
|
8 |
+
"Conv",
|
9 |
+
"Shape",
|
10 |
+
"Erf",
|
11 |
+
"ConstantOfShape",
|
12 |
+
"Squeeze",
|
13 |
+
"Div",
|
14 |
+
"Concat",
|
15 |
+
"Slice",
|
16 |
+
"Where",
|
17 |
+
"Resize",
|
18 |
+
"Reshape",
|
19 |
+
"Sqrt",
|
20 |
+
"Cast",
|
21 |
+
"Relu",
|
22 |
+
"Gather",
|
23 |
+
"Sub",
|
24 |
+
"Add",
|
25 |
+
"ConvTranspose",
|
26 |
+
"Mul",
|
27 |
+
"Equal",
|
28 |
+
"Expand",
|
29 |
+
"Transpose",
|
30 |
+
"Pow",
|
31 |
+
"Softmax",
|
32 |
+
"ReduceMean",
|
33 |
+
"MatMul",
|
34 |
+
"Unsqueeze"
|
35 |
+
],
|
36 |
+
"weight_type": "QUInt8"
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|