File size: 8,683 Bytes
761ee67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
!!python/object:dn_splatter.dn_config.FSTrainerConfig
_target: !!python/name:nerfstudio.engine.trainer.Trainer ''
data: null
experiment_name: null
gradient_accumulation_steps:
  camera_opt: 100
  color: 10
  shs: 10
load_checkpoint: null
load_config: null
load_dir: null
load_scheduler: true
load_step: null
log_gradients: false
logging: !!python/object:nerfstudio.configs.base_config.LoggingConfig
  local_writer: !!python/object:nerfstudio.configs.base_config.LocalWriterConfig
    _target: !!python/name:nerfstudio.utils.writer.LocalWriter ''
    enable: true
    max_log_size: 10
    stats_to_track: !!python/tuple
    - !!python/object/apply:nerfstudio.utils.writer.EventName
      - Train Iter (time)
    - !!python/object/apply:nerfstudio.utils.writer.EventName
      - Train Rays / Sec
    - !!python/object/apply:nerfstudio.utils.writer.EventName
      - Test PSNR
    - !!python/object/apply:nerfstudio.utils.writer.EventName
      - Vis Rays / Sec
    - !!python/object/apply:nerfstudio.utils.writer.EventName
      - Test Rays / Sec
    - !!python/object/apply:nerfstudio.utils.writer.EventName
      - ETA (time)
  max_buffer_size: 20
  profiler: basic
  relative_log_dir: !!python/object/apply:pathlib.PosixPath []
  steps_per_log: 10
machine: !!python/object:nerfstudio.configs.base_config.MachineConfig
  device_type: cuda
  dist_url: auto
  machine_rank: 0
  num_devices: 1
  num_machines: 1
  seed: 42
max_num_iterations: 15000
method_name: dn-splatter
mixed_precision: false
optimizers:
  camera_opt:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: &id001 !!python/name:torch.optim.adam.Adam ''
      eps: 1.0e-15
      lr: 0.001
      max_norm: null
      weight_decay: 0
    scheduler: !!python/object:nerfstudio.engine.schedulers.ExponentialDecaySchedulerConfig
      _target: &id002 !!python/name:nerfstudio.engine.schedulers.ExponentialDecayScheduler ''
      lr_final: 5.0e-05
      lr_pre_warmup: 1.0e-08
      max_steps: 30000
      ramp: cosine
      warmup_steps: 0
  features_dc:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: *id001
      eps: 1.0e-15
      lr: 0.0025
      max_norm: null
      weight_decay: 0
    scheduler: null
  features_rest:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: *id001
      eps: 1.0e-15
      lr: 0.000125
      max_norm: null
      weight_decay: 0
    scheduler: null
  means:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: *id001
      eps: 1.0e-15
      lr: 0.00016
      max_norm: null
      weight_decay: 0
    scheduler: !!python/object:nerfstudio.engine.schedulers.ExponentialDecaySchedulerConfig
      _target: *id002
      lr_final: 1.6e-06
      lr_pre_warmup: 1.0e-08
      max_steps: 30000
      ramp: cosine
      warmup_steps: 0
  normals:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: *id001
      eps: 1.0e-15
      lr: 0.001
      max_norm: null
      weight_decay: 0
    scheduler: null
  opacities:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: *id001
      eps: 1.0e-15
      lr: 0.05
      max_norm: null
      weight_decay: 0
    scheduler: null
  quats:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: *id001
      eps: 1.0e-15
      lr: 0.001
      max_norm: null
      weight_decay: 0
    scheduler: null
  scales:
    optimizer: !!python/object:nerfstudio.engine.optimizers.AdamOptimizerConfig
      _target: *id001
      eps: 1.0e-15
      lr: 0.005
      max_norm: null
      weight_decay: 0
    scheduler: null
output_dir: !!python/object/apply:pathlib.PosixPath
- outputs
- coke_bottle
- 9view
pipeline: !!python/object:dn_splatter.dn_pipeline.DNSplatterPipelineConfig
  _target: !!python/name:dn_splatter.dn_pipeline.DNSplatterPipeline ''
  datamanager: !!python/object:dn_splatter.dn_datamanager.DNSplatterManagerConfig
    _target: !!python/name:dn_splatter.dn_datamanager.DNSplatterDataManager ''
    cache_images: gpu
    cache_images_type: float32
    camera_res_scale_factor: 1.0
    data: null
    dataparser: !!python/object:dn_splatter.data.normal_nerfstudio.NormalNerfstudioConfig
      _target: !!python/name:dn_splatter.data.normal_nerfstudio.NormalNerfstudio ''
      auto_scale_poses: true
      camera_path_filename: !!python/object/apply:pathlib.PosixPath
      - camera_path.json
      center_method: none
      data: !!python/object/apply:pathlib.PosixPath
      - datasets
      - coke_bottle
      depth_unit_scale_factor: 0.001
      downscale_factor: null
      eval_interval: 8
      eval_mode: fraction
      grad_visualization: false
      load_3D_points: true
      load_cameras: false
      load_normals: true
      load_pcd_normals: true
      load_touches: false
      mask_color: null
      normal_format: opencv
      orientation_method: none
      output_dir: !!python/object/apply:pathlib.PosixPath
      - outputs
      - coke_bottle
      - 9view
      scale_factor: 1.0
      scene_scale: 1.0
      train_split_fraction: 0.9
    eval_image_indices: !!python/tuple
    - 0
    eval_num_images_to_sample_from: -1
    eval_num_times_to_repeat_images: -1
    fps_reset_every: 100
    images_on_gpu: false
    masks_on_gpu: false
    max_thread_workers: null
    train_cameras_sampling_seed: 42
    train_cameras_sampling_strategy: random
  experiment_name: experiment
  model: !!python/object:dn_splatter.dn_model.DNSplatterModelConfig
    _target: !!python/name:dn_splatter.dn_model.DNSplatterModel ''
    add_touch_at: 1000
    apply_sdf_loss_after_iters: 2000
    apply_sdf_loss_iters: 100
    background_color: white
    base_dir: !!python/object/apply:pathlib.PosixPath
    - outputs
    - coke_bottle
    - 9view
    binary_opacities_threshold: 0.9
    camera_optimizer: !!python/object:nerfstudio.cameras.camera_optimizers.CameraOptimizerConfig
      _target: !!python/name:nerfstudio.cameras.camera_optimizers.CameraOptimizer ''
      mode: 'off'
      optimizer: null
      rot_l2_penalty: 0.001
      scheduler: null
      trans_l2_penalty: 0.01
    collider_params:
      far_plane: 6.0
      near_plane: 2.0
    continue_cull_post_densification: true
    cull_alpha_thresh: 0.1
    cull_scale_thresh: 0.5
    cull_screen_size: 0.15
    densify_grad_thresh: 0.0008
    densify_size_thresh: 0.01
    depth_loss_type: !!python/object/apply:dn_splatter.losses.DepthLossType
    - EdgeAwareLogL1
    depth_tolerance: 0.1
    enable_collider: true
    eval_num_rays_per_chunk: 4096
    knn_to_track: 16
    loss_coefficients:
      rgb_loss_coarse: 1.0
      rgb_loss_fine: 1.0
    max_gauss_ratio: 5.0
    mono_depth_lambda: 0.2
    n_split_samples: 2
    normal_lambda: 0.4
    normal_supervision: mono
    num_downscales: 0
    num_random: 50000
    num_sdf_samples: 100
    output_depth_during_training: true
    predict_normals: true
    prompt: null
    random_init: false
    random_scale: 10.0
    rasterize_mode: classic
    refine_every: 100
    reset_alpha_every: 30
    resolution_schedule: 3000
    sdf_loss_lambda: 0.1
    sensor_depth_lambda: 0.2
    sh_degree: 3
    sh_degree_interval: 1000
    smooth_loss_lambda: 0.1
    smooth_loss_type: !!python/object/apply:dn_splatter.losses.DepthLossType
    - TV
    sparse_lambda: 0.1
    sparse_loss_steps: 10
    split_screen_size: 0.05
    ssim_lambda: 0.2
    stop_screen_size_at: 4000
    stop_split_at: 10000
    two_d_gaussians: true
    use_binary_opacities: true
    use_depth_loss: true
    use_depth_smooth_loss: true
    use_normal_cosine_loss: false
    use_normal_loss: true
    use_normal_tv_loss: true
    use_scale_regularization: false
    use_sdf_loss: false
    use_sparse_loss: false
    warmup_length: 500
  num_pd_points: 1000000
  save_train_images: false
  skip_point_metrics: true
project_name: nerfstudio-project
prompt: null
relative_model_dir: !!python/object/apply:pathlib.PosixPath
- nerfstudio_models
save_only_latest_checkpoint: true
steps_per_eval_all_images: 1000000
steps_per_eval_batch: 500
steps_per_eval_image: 500
steps_per_save: 15000
timestamp: 2024-12-24_174111
use_grad_scaler: false
viewer: !!python/object:nerfstudio.configs.base_config.ViewerConfig
  camera_frustum_scale: 0.1
  default_composite_depth: true
  image_format: jpeg
  jpeg_quality: 75
  make_share_url: false
  max_num_display_images: 512
  num_rays_per_chunk: 32768
  quit_on_train_completion: true
  relative_log_filename: viewer_log_filename.txt
  websocket_host: 0.0.0.0
  websocket_port: null
  websocket_port_default: 7007
vis: viewer