facebookresearch / OmnimatteRF

A matting method that combines dynamic 2D foreground layers and a 3D background model.
MIT License
123 stars 13 forks source link

For depth supervision command #7

Closed HarryHsing closed 9 months ago

HarryHsing commented 9 months ago

Use the '+' Sign to Add New Configurations: If scene_scale is a new field that you are adding to the configuration, you should prefix it with a '+' sign in your command. This tells Hydra that you are adding a new field rather than modifying an existing one. Modify your command as follows:

python ./ui/cli.py train_ours wild/visd_3_rp_2_depth --use_depths -- fg_losses=[alpha_reg,brightness_reg,flow_recons,mask,recons,warped_alpha,bg_tv_reg,robust_depth_matching,bg_distortion] fg_losses.robust_depth_matching.config.alpha=0.1 fg_losses.bg_distortion.config.alpha=0.01 +data_sources.llff_camera.scene_scale=0.2