hf-transformers-bot commited on
Commit
7d0cce9
·
verified ·
1 Parent(s): 33cea24

Update tiny models for ZoeDepthForDepthEstimation

Browse files
Files changed (3) hide show
  1. config.json +98 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +25 -0
config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_projection": false,
3
+ "architectures": [
4
+ "ZoeDepthForDepthEstimation"
5
+ ],
6
+ "attractor_alpha": 1000,
7
+ "attractor_gamma": 2,
8
+ "attractor_kind": "mean",
9
+ "backbone": null,
10
+ "backbone_config": {
11
+ "apply_layernorm": true,
12
+ "attention_probs_dropout_prob": 0.0,
13
+ "drop_path_rate": 0.0,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.0,
16
+ "hidden_size": 4,
17
+ "image_size": 32,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 8,
20
+ "is_training": true,
21
+ "layer_norm_eps": 1e-06,
22
+ "layerscale_value": 1.0,
23
+ "mlp_ratio": 4,
24
+ "model_type": "dinov2",
25
+ "num_attention_heads": 2,
26
+ "num_channels": 3,
27
+ "num_hidden_layers": 2,
28
+ "out_features": [
29
+ "stage1",
30
+ "stage2"
31
+ ],
32
+ "out_indices": [
33
+ 1,
34
+ 2
35
+ ],
36
+ "patch_size": 16,
37
+ "qkv_bias": true,
38
+ "reshape_hidden_states": false,
39
+ "stage_names": [
40
+ "stem",
41
+ "stage1",
42
+ "stage2"
43
+ ],
44
+ "use_mask_token": true,
45
+ "use_swiglu_ffn": false
46
+ },
47
+ "backbone_hidden_size": 4,
48
+ "batch_norm_eps": 1e-05,
49
+ "bin_centers_type": "softplus",
50
+ "bin_configurations": [
51
+ {
52
+ "max_depth": 10.0,
53
+ "min_depth": 0.001,
54
+ "n_bins": 64
55
+ }
56
+ ],
57
+ "bin_embedding_dim": 128,
58
+ "bottleneck_features": 6,
59
+ "dtype": "float32",
60
+ "fusion_hidden_size": 6,
61
+ "head_in_index": -1,
62
+ "hidden_act": "gelu",
63
+ "initializer_range": 0.02,
64
+ "max_temp": 50.0,
65
+ "min_temp": 0.0212,
66
+ "model_type": "zoedepth",
67
+ "neck_hidden_sizes": [
68
+ 2,
69
+ 2
70
+ ],
71
+ "num_attractors": [
72
+ 16,
73
+ 8,
74
+ 4,
75
+ 1
76
+ ],
77
+ "num_out_features": [
78
+ 6,
79
+ 6,
80
+ 6,
81
+ 6
82
+ ],
83
+ "num_patch_transformer_layers": null,
84
+ "num_relative_features": 32,
85
+ "patch_transformer_hidden_size": null,
86
+ "patch_transformer_intermediate_size": null,
87
+ "patch_transformer_num_attention_heads": null,
88
+ "readout_type": "project",
89
+ "reassemble_factors": [
90
+ 4,
91
+ 2,
92
+ 1,
93
+ 0.5
94
+ ],
95
+ "transformers_version": "5.16.0.dev0",
96
+ "use_batch_norm_in_fusion_residual": false,
97
+ "use_bias_in_fusion_residual": null
98
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:399ec6a6980b24e538bfd87ae085ba300a63d7748ac5f3670fa3ef14eaa12f02
3
+ size 798708
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "ensure_multiple_of": 32,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "ZoeDepthImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "keep_aspect_ratio": true,
19
+ "resample": 2,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 384,
23
+ "width": 512
24
+ }
25
+ }