Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to determine scale_factor and scene_scater in the config file. #23

Open
rockywind opened this issue Mar 8, 2023 · 2 comments
Open

Comments

@rockywind
Copy link

Hi,
How to determine scale_factor and scene_scater in the config file.
The original value of scale_factor is 5.0, and the value of scene_center is [0.2, 1.4, 7.1].

@ybbbbt
Copy link
Member

ybbbbt commented Mar 22, 2023

Hi, we determine the scale factor by measuring the size of the reconstruction target (i.e., room size) with MeshLab, and set the scene center to the reconstruction center (i.e., a desk).
The main reason of using scaling is to make the reconstruction lies inside [-1, 1], so as to make NeRF converge better.
You can also automatically compute these scale_factor using max distances of two cameras with some empirical scaling factors (e.g., 5), or adopting scene contraction like nerfstudio/mipnerf360 does.

@rockywind
Copy link
Author

Hi, @ybbbbt
Can you share me the code about how to generate the bbox.json?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants