Upload 2 files
Browse files- config.json +86 -171
- preprocessor_config.json +27 -0
config.json
CHANGED
@@ -1,171 +1,86 @@
|
|
1 |
-
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
"
|
8 |
-
"
|
9 |
-
|
10 |
-
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
"
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
"
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
"max_translation": 100,
|
88 |
-
"memory_efficient": true,
|
89 |
-
"midas_model_type": "vits",
|
90 |
-
"min_depth": 0.001,
|
91 |
-
"min_temp": 0.0212,
|
92 |
-
"model": "zoedepth",
|
93 |
-
"n_attractors": [
|
94 |
-
16,
|
95 |
-
8,
|
96 |
-
4,
|
97 |
-
1
|
98 |
-
],
|
99 |
-
"n_bins": 64,
|
100 |
-
"name": "ZoeDepth",
|
101 |
-
"notes": "",
|
102 |
-
"output_distribution": "logbinomial",
|
103 |
-
"prefetch": false,
|
104 |
-
"pretrained_resource": "local::./work_dir/DepthAnything_vits.pt",
|
105 |
-
"print_losses": false,
|
106 |
-
"project": "ZoeDepth",
|
107 |
-
"random_crop": false,
|
108 |
-
"random_translate": false,
|
109 |
-
"root": ".",
|
110 |
-
"save_dir": "",
|
111 |
-
"shared_dict": "NULL",
|
112 |
-
"tags": "",
|
113 |
-
"train_midas": true,
|
114 |
-
"translate_prob": 0.2,
|
115 |
-
"type": "DA-ZoeDepth",
|
116 |
-
"uid": "NULL",
|
117 |
-
"use_amp": false,
|
118 |
-
"use_pretrained_midas": true,
|
119 |
-
"use_shared_dict": false,
|
120 |
-
"validate_every": 0.25,
|
121 |
-
"version_name": "v1",
|
122 |
-
"workers": 16
|
123 |
-
},
|
124 |
-
"guided_fusion": {
|
125 |
-
"g2l": true,
|
126 |
-
"in_channels": [
|
127 |
-
32,
|
128 |
-
64,
|
129 |
-
64,
|
130 |
-
64,
|
131 |
-
64,
|
132 |
-
64
|
133 |
-
],
|
134 |
-
"n_channels": 5,
|
135 |
-
"num_patches": [
|
136 |
-
203056,
|
137 |
-
66304,
|
138 |
-
16576,
|
139 |
-
4144,
|
140 |
-
1036,
|
141 |
-
266
|
142 |
-
],
|
143 |
-
"patch_process_shape": [
|
144 |
-
392,
|
145 |
-
518
|
146 |
-
],
|
147 |
-
"type": "GuidedFusionPatchFusion"
|
148 |
-
},
|
149 |
-
"image_raw_shape": [
|
150 |
-
2160,
|
151 |
-
3840
|
152 |
-
],
|
153 |
-
"max_depth": 80,
|
154 |
-
"min_depth": 0.001,
|
155 |
-
"patch_process_shape": [
|
156 |
-
392,
|
157 |
-
518
|
158 |
-
],
|
159 |
-
"patch_split_num": [
|
160 |
-
4,
|
161 |
-
4
|
162 |
-
],
|
163 |
-
"pretrain_model": [
|
164 |
-
"./work_dir/depthanything_vits_u4k/coarse_pretrain/checkpoint_24.pth",
|
165 |
-
"./work_dir/depthanything_vits_u4k/fine_pretrain/checkpoint_24.pth"
|
166 |
-
],
|
167 |
-
"sigloss": {
|
168 |
-
"type": "SILogLoss"
|
169 |
-
},
|
170 |
-
"transformers_version": "4.36.2"
|
171 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"DepthAnythingForDepthEstimation"
|
4 |
+
],
|
5 |
+
"backbone": null,
|
6 |
+
"backbone_config": {
|
7 |
+
"apply_layernorm": true,
|
8 |
+
"architectures": [
|
9 |
+
"Dinov2Model"
|
10 |
+
],
|
11 |
+
"attention_probs_dropout_prob": 0.0,
|
12 |
+
"drop_path_rate": 0.0,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.0,
|
15 |
+
"hidden_size": 384,
|
16 |
+
"image_size": 518,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"layer_norm_eps": 1e-06,
|
19 |
+
"layerscale_value": 1.0,
|
20 |
+
"mlp_ratio": 4,
|
21 |
+
"model_type": "dinov2",
|
22 |
+
"num_attention_heads": 6,
|
23 |
+
"num_channels": 3,
|
24 |
+
"num_hidden_layers": 12,
|
25 |
+
"out_features": [
|
26 |
+
"stage9",
|
27 |
+
"stage10",
|
28 |
+
"stage11",
|
29 |
+
"stage12"
|
30 |
+
],
|
31 |
+
"out_indices": [
|
32 |
+
9,
|
33 |
+
10,
|
34 |
+
11,
|
35 |
+
12
|
36 |
+
],
|
37 |
+
"patch_size": 14,
|
38 |
+
"qkv_bias": true,
|
39 |
+
"reshape_hidden_states": false,
|
40 |
+
"stage_names": [
|
41 |
+
"stem",
|
42 |
+
"stage1",
|
43 |
+
"stage2",
|
44 |
+
"stage3",
|
45 |
+
"stage4",
|
46 |
+
"stage5",
|
47 |
+
"stage6",
|
48 |
+
"stage7",
|
49 |
+
"stage8",
|
50 |
+
"stage9",
|
51 |
+
"stage10",
|
52 |
+
"stage11",
|
53 |
+
"stage12"
|
54 |
+
],
|
55 |
+
"torch_dtype": "float32",
|
56 |
+
"use_mask_token": true,
|
57 |
+
"use_swiglu_ffn": false
|
58 |
+
},
|
59 |
+
"backbone_kwargs": null,
|
60 |
+
"depth_estimation_type": "relative",
|
61 |
+
"fusion_hidden_size": 64,
|
62 |
+
"head_hidden_size": 32,
|
63 |
+
"head_in_index": -1,
|
64 |
+
"initializer_range": 0.02,
|
65 |
+
"max_depth": 1,
|
66 |
+
"model_type": "depth_anything",
|
67 |
+
"neck_hidden_sizes": [
|
68 |
+
48,
|
69 |
+
96,
|
70 |
+
192,
|
71 |
+
384
|
72 |
+
],
|
73 |
+
"output_attentions": false,
|
74 |
+
"patch_size": 14,
|
75 |
+
"reassemble_factors": [
|
76 |
+
4,
|
77 |
+
2,
|
78 |
+
1,
|
79 |
+
0.5
|
80 |
+
],
|
81 |
+
"reassemble_hidden_size": 384,
|
82 |
+
"torch_dtype": "float32",
|
83 |
+
"transformers_version": null,
|
84 |
+
"use_pretrained_backbone": false,
|
85 |
+
"use_timm_backbone": false
|
86 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": false,
|
4 |
+
"do_reduce_labels": false,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": true,
|
7 |
+
"ensure_multiple_of": 14,
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_processor_type": "DPTImageProcessor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"keep_aspect_ratio": true,
|
20 |
+
"resample": 3,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"height": 518,
|
24 |
+
"width": 518
|
25 |
+
},
|
26 |
+
"size_divisor": null
|
27 |
+
}
|