HanzhouLiu commited on
Commit
746c548
·
verified ·
1 Parent(s): 30d484d

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +10 -3
  2. config.json +107 -0
  3. hydra_config.yaml +249 -0
  4. model.safetensors +3 -0
README.md CHANGED
@@ -1,3 +1,10 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - model_hub_mixin
4
+ - pytorch_model_hub_mixin
5
+ ---
6
+
7
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
8
+ - Code: [More Information Needed]
9
+ - Paper: [More Information Needed]
10
+ - Docs: [More Information Needed]
config.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_cfg": {
3
+ "background_color": [
4
+ 1.0,
5
+ 1.0,
6
+ 1.0
7
+ ],
8
+ "make_scale_invariant": false,
9
+ "name": "splatting_cuda"
10
+ },
11
+ "encoder_cfg": {
12
+ "add_view": false,
13
+ "anchor_feat_dim": 128,
14
+ "apply_bounds_shim": true,
15
+ "backbone": {
16
+ "asymmetry_decoder": true,
17
+ "intrinsics_embed_degree": 4,
18
+ "intrinsics_embed_loc": "encoder",
19
+ "intrinsics_embed_type": "token",
20
+ "model": "ViTLarge_BaseDecoder",
21
+ "name": "croco",
22
+ "patch_embed_cls": "PatchEmbedDust3R"
23
+ },
24
+ "conf_threshold": 0.1,
25
+ "connect_layers": false,
26
+ "d_feature": 32,
27
+ "detach_geo_feat": false,
28
+ "distill": false,
29
+ "encode_content": false,
30
+ "expand_style_tokens": 1,
31
+ "freeze_backbone": true,
32
+ "freeze_module": "None",
33
+ "gaussian_adapter": {
34
+ "gaussian_scale_max": 15.0,
35
+ "gaussian_scale_min": 0.5,
36
+ "sh_degree": 0
37
+ },
38
+ "gaussians_per_pixel": 1,
39
+ "geo_use_img_feat": true,
40
+ "gs_keep_ratio": 1.0,
41
+ "gs_params_head_type": "dpt_gs",
42
+ "gs_prune": false,
43
+ "gt_pose_to_pts": false,
44
+ "input_mean": [
45
+ 0.5,
46
+ 0.5,
47
+ 0.5
48
+ ],
49
+ "input_std": [
50
+ 0.5,
51
+ 0.5,
52
+ 0.5
53
+ ],
54
+ "intermediate_layer_idx": [
55
+ 4,
56
+ 11,
57
+ 17,
58
+ 23
59
+ ],
60
+ "n_offsets": 2,
61
+ "name": "anysplat",
62
+ "num_monocular_samples": 32,
63
+ "num_surfaces": 1,
64
+ "opacity_conf": false,
65
+ "opacity_mapping": {
66
+ "final": 0.0,
67
+ "initial": 0.0,
68
+ "warm_up": 1
69
+ },
70
+ "opacity_threshold": 0.001,
71
+ "pass_pts_all": true,
72
+ "pose_free": true,
73
+ "pred_head_type": "depth",
74
+ "pred_pose": true,
75
+ "pretrained_weights": "",
76
+ "render_conf": false,
77
+ "resize_method": "deconv",
78
+ "shared_patch_embed": true,
79
+ "simple_branch": false,
80
+ "style_aa_block_size": 1,
81
+ "style_aa_order": [
82
+ "global"
83
+ ],
84
+ "style_block_fn": "CrossBlock",
85
+ "style_depth": 24,
86
+ "style_fuse_patch_tokens": false,
87
+ "style_gs_head_norm_layer": "layernorm",
88
+ "style_head_type": "base",
89
+ "style_intermediate_layer_idx": [
90
+ 4,
91
+ 11,
92
+ 17,
93
+ 23
94
+ ],
95
+ "style_patch_embed": "dinov2_vitl14_reg",
96
+ "use_geo_in_color": false,
97
+ "use_img_feat": false,
98
+ "visualizer": {
99
+ "export_ply": false,
100
+ "min_resolution": 256,
101
+ "num_samples": 8
102
+ },
103
+ "voxel_size": 0.002,
104
+ "voxelize": true,
105
+ "weighting_mode": "original"
106
+ }
107
+ }
hydra_config.yaml ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ encoder:
3
+ backbone:
4
+ name: croco
5
+ model: ViTLarge_BaseDecoder
6
+ patch_embed_cls: PatchEmbedDust3R
7
+ asymmetry_decoder: true
8
+ intrinsics_embed_loc: encoder
9
+ intrinsics_embed_degree: 4
10
+ intrinsics_embed_type: token
11
+ name: anysplat
12
+ opacity_mapping:
13
+ initial: 0.0
14
+ final: 0.0
15
+ warm_up: 1
16
+ num_monocular_samples: 32
17
+ num_surfaces: 1
18
+ predict_opacity: false
19
+ gaussians_per_pixel: 1
20
+ gaussian_adapter:
21
+ gaussian_scale_min: 0.5
22
+ gaussian_scale_max: 15.0
23
+ sh_degree: 0
24
+ d_feature: 32
25
+ visualizer:
26
+ num_samples: 8
27
+ min_resolution: 256
28
+ export_ply: false
29
+ apply_bounds_shim: true
30
+ gs_params_head_type: dpt_gs
31
+ pose_free: true
32
+ pretrained_weights: ''
33
+ scale_align: false
34
+ voxel_size: 0.002
35
+ n_offsets: 2
36
+ anchor_feat_dim: 128
37
+ add_view: false
38
+ color_attr: 3D
39
+ mlp_type: unified
40
+ scaffold: true
41
+ intrinsics_embed_loc: encoder
42
+ intrinsics_embed_type: token
43
+ pred_pose: true
44
+ gs_prune: false
45
+ pred_head_type: depth
46
+ freeze_backbone: true
47
+ distill: false
48
+ render_conf: false
49
+ conf_threshold: 0.1
50
+ freeze_module: None
51
+ voxelize: true
52
+ intermediate_layer_idx:
53
+ - 4
54
+ - 11
55
+ - 17
56
+ - 23
57
+ use_img_feat: false
58
+ style_aa_order:
59
+ - global
60
+ shared_patch_embed: true
61
+ style_depth: 24
62
+ style_intermediate_layer_idx:
63
+ - 4
64
+ - 11
65
+ - 17
66
+ - 23
67
+ encode_content: false
68
+ style_patch_embed: dinov2_vitl14_reg
69
+ style_fuse_patch_tokens: false
70
+ style_block_fn: CrossBlock
71
+ pass_pts_all: true
72
+ style_aa_block_size: 1
73
+ style_head_type: base
74
+ resize_method: deconv
75
+ decoder:
76
+ name: splatting_cuda
77
+ background_color:
78
+ - 1.0
79
+ - 1.0
80
+ - 1.0
81
+ make_scale_invariant: false
82
+ loss:
83
+ mse:
84
+ weight: 1.0
85
+ conf: false
86
+ depth_consis:
87
+ weight: 0.1
88
+ sigma_image: null
89
+ use_second_derivative: false
90
+ conf: false
91
+ loss_type: MSE
92
+ lpips:
93
+ weight: 0.05
94
+ apply_after_step: 0
95
+ conf: false
96
+ ffl:
97
+ weight: 1.0
98
+ conf: false
99
+ total_variance:
100
+ weight: 10.0
101
+ conf: false
102
+ mask: false
103
+ alpha: false
104
+ adain_style:
105
+ weight: 1.0
106
+ style_weight: 1.0
107
+ content_weight: 0.1
108
+ mse_weight: 0.0
109
+ style_loss_type: 3d
110
+ use_checkpoint: false
111
+ style_feat_weights:
112
+ - 1
113
+ - 1
114
+ - 1
115
+ - 1
116
+ - 1
117
+ content_feat_weights:
118
+ - 1
119
+ - 1
120
+ weighting_mode: softmax
121
+ scale_style: true
122
+ patch_first_frame: false
123
+ patch_size: 28
124
+ patch_match_layer_weight:
125
+ - 1
126
+ - 1
127
+ - 0
128
+ - 0
129
+ - 0
130
+ patch_loss_weight: 0.1
131
+ clip:
132
+ weight: 1.0
133
+ n_cuts: 4
134
+ cut_target: false
135
+ wandb:
136
+ project: anysplat
137
+ entity: scene-representation-group
138
+ name: dl3dv_style_global_deconv960
139
+ mode: online
140
+ tags:
141
+ - dl3dv960
142
+ - 448x448
143
+ mode: train
144
+ data_loader:
145
+ train:
146
+ num_workers: 16
147
+ persistent_workers: true
148
+ batch_size: 1
149
+ seed: 1234
150
+ test:
151
+ num_workers: 4
152
+ persistent_workers: false
153
+ batch_size: 1
154
+ seed: 2345
155
+ val:
156
+ num_workers: 16
157
+ persistent_workers: true
158
+ batch_size: 1
159
+ seed: 3456
160
+ optimizer:
161
+ lr: 0.0002
162
+ warm_up_steps: 1000
163
+ backbone_lr_multiplier: 0.1
164
+ checkpointing:
165
+ load: output/exp_dl3dv_style_global_deconv960/2025-10-09_14-59-08/checkpoints/epoch_23-step_8500.ckpt
166
+ every_n_train_steps: 500
167
+ save_top_k: 3
168
+ save_weights_only: false
169
+ resume: true
170
+ save_hf: true
171
+ train:
172
+ output_path: ${hydra.run.dir}
173
+ depth_mode: null
174
+ extended_visualization: false
175
+ print_log_every_n_steps: 10
176
+ distiller: ''
177
+ distill_max_steps: 1000000
178
+ random_context_views: false
179
+ pose_loss_alpha: 1.0
180
+ pose_loss_delta: 1.0
181
+ cxt_depth_weight: 0.0
182
+ weight_pose: 10.0
183
+ weight_depth: 1.0
184
+ weight_normal: 0.0
185
+ stylization_start_step: 10000
186
+ train_stage: style
187
+ test:
188
+ output_path: outputs/test-nopo
189
+ align_pose: true
190
+ pose_align_steps: 100
191
+ rot_opt_lr: 0.005
192
+ trans_opt_lr: 0.005
193
+ compute_scores: true
194
+ save_image: true
195
+ save_video: false
196
+ save_compare: true
197
+ generate_video: false
198
+ mode: inference
199
+ image_folder: examples/bungeenerf
200
+ seed: 111123
201
+ trainer:
202
+ max_steps: 15000
203
+ val_check_interval: 500
204
+ gradient_clip_val: 1
205
+ num_nodes: 1
206
+ accumulate_grad_batches: 1
207
+ precision: bf16-mixed
208
+ dataset:
209
+ dl3dv:
210
+ make_baseline_1: false
211
+ relative_pose: true
212
+ augment: true
213
+ background_color:
214
+ - 1.0
215
+ - 1.0
216
+ - 1.0
217
+ overfit_to_scene: null
218
+ skip_bad_shape: true
219
+ rescale_to_1cube: false
220
+ view_sampler:
221
+ name: sequence
222
+ num_context_views: 20
223
+ num_target_views: 1
224
+ max_img_per_gpu: 20
225
+ min_gap: 1
226
+ max_gap: 5
227
+ min_distance_between_context_views: 32
228
+ max_distance_between_context_views: 256
229
+ min_gap_multiplier: 3
230
+ max_gap_multiplier: 5
231
+ name: dl3dv
232
+ roots:
233
+ - /nfs_data/peng/DL3DV-10K-960P
234
+ resolution: 960P
235
+ input_image_shape:
236
+ - 224
237
+ - 448
238
+ original_image_shape:
239
+ - 540
240
+ - 960
241
+ cameras_are_circular: false
242
+ baseline_min: 0.001
243
+ baseline_max: 100.0
244
+ max_fov: 100.0
245
+ avg_pose: false
246
+ intr_augment: true
247
+ normalize_by_pts3d: false
248
+ art_in_geo: false
249
+ argument_art: false
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57a7c68409e19088a819dffcd3f3dcd9bf3c520b25cbb95f0d2c0e0c9874fe0e
3
+ size 3871788804