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

estimator.binaries.sum() update very slow #288

Open
Hmartin1978 opened this issue Mar 8, 2024 · 0 comments
Open

estimator.binaries.sum() update very slow #288

Hmartin1978 opened this issue Mar 8, 2024 · 0 comments

Comments

@Hmartin1978
Copy link

HI, very thanks for your amazing works!
I have some problems when apply nerfacc to my own implementation. For my own NeRF implementation, I use two MLPs and training time is less than 5h(250000 iters), but if I apply nerfacc and just use one MLP to query the training time increases to 6~8h.

The problem is, the update of estimator.binaries.sum()(in training loop) is very slow, it stars from about 100 0000 and remains 10^5 like 90 0000 very very long time(density is updating), which further results long training time.
I find if I set 1. the learning rate to a small value like 5e-4 ~ 2e-3 or 2. small render_size like 0.003(sutiable for current scene) or 3. larger far_plane >= 10 can all cause this situation
2

However, If I set 1. the learining_rate to a larger value like 5e-3~1e-2 or 2. increase the render_size like 0.03 even larger or 3. smaller far_plane like 2 can all decrease the estimator.binaries.sum() to zero(density will decrease to nan first) very quickly and get error
1

So I'm very confused about where is wrong, could you give me some suggestion? Very thanks!

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

1 participant