autonomousvision / sdfstudio

A Unified Framework for Surface Reconstruction
Apache License 2.0
1.9k stars 179 forks source link

How do I find the appropriate far plane near plane value? #298

Closed hanjoonwon closed 3 months ago

hanjoonwon commented 3 months ago

I kept not finding the right option values for my images and got poor quality meshes, but when I set the near and far plane values as the author suggested and used neus, I got good quality.

OMP_NUM_THREADS=4 ns-train neus --pipeline.datamanager.train-num-rays-per-batch 1024 --pipeline.model.sdf-field.inside-outside False --pipeline.model.sdf-field.bias 0.3\ --pipeline.model.sdf-field.beta-init 0.3 --pipeline.model.sdf-field.use-appearance-embedding True --trainer.steps-per-eval-image 5000 --trainer.max-num-iterations 200000 --pipeline.model.near-plane 0.05\ --pipeline.model.far-plane 2. --pipeline.model.overwrite-near-far-plane True --pipeline.model.mono-normal-loss-mult 0.01

If I want to get good quality results with other image data, how do I set the appropriate train option?

I set the meta_data as specified, but the result quality is poor