Commit
·
f6d7335
1
Parent(s):
e78df6a
Upload tiny models for DepthAnythingForDepthEstimation
Browse files- config.json +50 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"architectures": [
|
4 |
+
"DepthAnythingForDepthEstimation"
|
5 |
+
],
|
6 |
+
"backbone": null,
|
7 |
+
"backbone_config": {
|
8 |
+
"hidden_size": 4,
|
9 |
+
"image_size": 32,
|
10 |
+
"intermediate_size": 8,
|
11 |
+
"is_training": true,
|
12 |
+
"model_type": "dinov2",
|
13 |
+
"num_attention_heads": 2,
|
14 |
+
"num_hidden_layers": 2,
|
15 |
+
"out_features": [
|
16 |
+
"stage1",
|
17 |
+
"stage2"
|
18 |
+
],
|
19 |
+
"out_indices": [
|
20 |
+
1,
|
21 |
+
2
|
22 |
+
],
|
23 |
+
"reshape_hidden_states": false,
|
24 |
+
"stage_names": [
|
25 |
+
"stem",
|
26 |
+
"stage1",
|
27 |
+
"stage2"
|
28 |
+
]
|
29 |
+
},
|
30 |
+
"fusion_hidden_size": 6,
|
31 |
+
"head_hidden_size": 32,
|
32 |
+
"head_in_index": -1,
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"model_type": "depth_anything",
|
35 |
+
"neck_hidden_sizes": [
|
36 |
+
2,
|
37 |
+
2
|
38 |
+
],
|
39 |
+
"patch_size": 16,
|
40 |
+
"reassemble_factors": [
|
41 |
+
4,
|
42 |
+
2,
|
43 |
+
1,
|
44 |
+
0.5
|
45 |
+
],
|
46 |
+
"reassemble_hidden_size": 4,
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": null,
|
49 |
+
"use_pretrained_backbone": false
|
50 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1a148e5a1920b9145c0549cc7cc59a0fd86295d197b67f7bb95a49afadce4af
|
3 |
+
size 39488
|
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 |
+
}
|