hf-transformers-bot commited on
Commit
f1cba97
·
verified ·
1 Parent(s): a238370

Update tiny models for DepthProForDepthEstimation

Browse files
Files changed (3) hide show
  1. config.json +135 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +22 -0
config.json ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DepthProForDepthEstimation"
4
+ ],
5
+ "dtype": "float32",
6
+ "fov_model_config": {
7
+ "apply_layernorm": true,
8
+ "attention_probs_dropout_prob": 0.0,
9
+ "drop_path_rate": 0.0,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 32,
13
+ "image_size": 16,
14
+ "initializer_range": 0.02,
15
+ "layer_norm_eps": 1e-06,
16
+ "layerscale_value": 1.0,
17
+ "mlp_ratio": 4,
18
+ "model_type": "dinov2",
19
+ "num_attention_heads": 4,
20
+ "num_channels": 3,
21
+ "num_hidden_layers": 2,
22
+ "out_features": [
23
+ "stage2"
24
+ ],
25
+ "out_indices": [
26
+ 2
27
+ ],
28
+ "patch_size": 8,
29
+ "qkv_bias": true,
30
+ "reshape_hidden_states": true,
31
+ "stage_names": [
32
+ "stem",
33
+ "stage1",
34
+ "stage2"
35
+ ],
36
+ "use_mask_token": true,
37
+ "use_swiglu_ffn": false
38
+ },
39
+ "fusion_hidden_size": 16,
40
+ "image_model_config": {
41
+ "apply_layernorm": true,
42
+ "attention_probs_dropout_prob": 0.0,
43
+ "drop_path_rate": 0.0,
44
+ "hidden_act": "gelu",
45
+ "hidden_dropout_prob": 0.0,
46
+ "hidden_size": 16,
47
+ "image_size": 16,
48
+ "initializer_range": 0.02,
49
+ "layer_norm_eps": 1e-06,
50
+ "layerscale_value": 1.0,
51
+ "mlp_ratio": 4,
52
+ "model_type": "dinov2",
53
+ "num_attention_heads": 1,
54
+ "num_channels": 3,
55
+ "num_hidden_layers": 2,
56
+ "out_features": [
57
+ "stage2"
58
+ ],
59
+ "out_indices": [
60
+ 2
61
+ ],
62
+ "patch_size": 4,
63
+ "qkv_bias": true,
64
+ "reshape_hidden_states": true,
65
+ "stage_names": [
66
+ "stem",
67
+ "stage1",
68
+ "stage2"
69
+ ],
70
+ "use_mask_token": true,
71
+ "use_swiglu_ffn": false
72
+ },
73
+ "initializer_range": 0.02,
74
+ "intermediate_feature_dims": [
75
+ 10,
76
+ 8
77
+ ],
78
+ "intermediate_hook_ids": [
79
+ 1,
80
+ 0
81
+ ],
82
+ "merge_padding_value": 3,
83
+ "model_type": "depth_pro",
84
+ "num_fov_head_layers": 2,
85
+ "patch_model_config": {
86
+ "apply_layernorm": true,
87
+ "attention_probs_dropout_prob": 0.0,
88
+ "drop_path_rate": 0.0,
89
+ "hidden_act": "gelu",
90
+ "hidden_dropout_prob": 0.0,
91
+ "hidden_size": 24,
92
+ "image_size": 16,
93
+ "initializer_range": 0.02,
94
+ "layer_norm_eps": 1e-06,
95
+ "layerscale_value": 1.0,
96
+ "mlp_ratio": 4,
97
+ "model_type": "dinov2",
98
+ "num_attention_heads": 2,
99
+ "num_channels": 3,
100
+ "num_hidden_layers": 2,
101
+ "out_features": [
102
+ "stage2"
103
+ ],
104
+ "out_indices": [
105
+ 2
106
+ ],
107
+ "patch_size": 6,
108
+ "qkv_bias": true,
109
+ "reshape_hidden_states": true,
110
+ "stage_names": [
111
+ "stem",
112
+ "stage1",
113
+ "stage2"
114
+ ],
115
+ "use_mask_token": true,
116
+ "use_swiglu_ffn": false
117
+ },
118
+ "patch_size": 16,
119
+ "scaled_images_feature_dims": [
120
+ 12,
121
+ 12
122
+ ],
123
+ "scaled_images_overlap_ratios": [
124
+ 0.0,
125
+ 0.2
126
+ ],
127
+ "scaled_images_ratios": [
128
+ 0.5,
129
+ 1.0
130
+ ],
131
+ "transformers_version": "5.16.0.dev0",
132
+ "use_batch_norm_in_fusion_residual": false,
133
+ "use_bias_in_fusion_residual": true,
134
+ "use_fov_model": false
135
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b97ffc4bfb9da88232aaa27e529d1026258eedd1ac43973ae080a1252a9a0252
3
+ size 345716
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "DepthProImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 1536,
20
+ "width": 1536
21
+ }
22
+ }