@@ -158,16 +158,10 @@ class SplatfactoModelConfig(ModelConfig):
158158 """If True, apply color correction to the rendered images before computing the metrics."""
159159 strategy : Literal ["default" , "mcmc" ] = "default"
160160 """The default strategy will be used if strategy is not specified. Other strategies, e.g. mcmc, can be used."""
161- cap_max : int = 1_000_000
161+ max_gs_num : int = 1_000_000
162162 """Maximum number of GSs. Default to 1_000_000."""
163163 noise_lr : float = 5e5
164164 """MCMC samping noise learning rate. Default to 5e5."""
165- min_opacity : float = 0.005
166- """GSs with opacity below this value will be pruned. Default to 0.005."""
167- verbose : bool = False
168- """Whether to print verbose information. Default to False."""
169- max_steps : int = 30_000
170- """Number of training steps"""
171165 mcmc_opacity_reg : float = 0.01
172166 """Regularization term for opacity in MCMC strategy. Only enabled when using MCMC strategy"""
173167 mcmc_scale_reg : float = 0.01
@@ -287,13 +281,13 @@ def populate_modules(self):
287281 self .strategy_state = self .strategy .initialize_state (scene_scale = 1.0 )
288282 elif self .config .strategy == "mcmc" :
289283 self .strategy = MCMCStrategy (
290- cap_max = self .config .cap_max ,
284+ cap_max = self .config .max_gs_num ,
291285 noise_lr = self .config .noise_lr ,
292286 refine_start_iter = self .config .warmup_length ,
293287 refine_stop_iter = self .config .stop_split_at ,
294288 refine_every = self .config .refine_every ,
295- min_opacity = self .config .min_opacity ,
296- verbose = self . config . verbose ,
289+ min_opacity = self .config .cull_alpha_thresh ,
290+ verbose = False ,
297291 )
298292 self .strategy_state = self .strategy .initialize_state ()
299293 else :
0 commit comments