-
Notifications
You must be signed in to change notification settings - Fork 46
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 train DyNeRF scenes ? #1
Comments
Thanks for trying the code out so quickly! To set up the importance sampling, you would set data_downsample to 4 and num_steps to 1 in the config you're using. Then once it finishes you can reset to the original parameters and run again to actually train. Be aware that the DyNeRF dataset is much larger than the other datasets, and it can take several minutes to load (the other datasets load in a few seconds). |
How does K-Planes remember the importance sampling across the two runs? Does it save any file containing the importance sampling weights during the first run (with downsample=4) and load these weights during the second run (with downsample=2)? |
Yes, it saves files called |
Great! Thank you, for the clarification. One follow-up question. I am running out of memory (CPU RAM) when creating the |
You could try with downsample 8; I don't expect it would hurt performance that much but there's a risk I might have hardcoded the 4 somewhere, so it might error but hopefully not. It's also not that much worse if you train without any importance sampling at all, though you will lose some details in the dynamic regions. |
I generated weights with down=8 and trained the model with down=2. The code didn't throw any error. So, I guess you haven't hard coded 4! |
I'm going through something similar and saw the last comment. Just wanted to add that this bit is hardcoded K-Planes/plenoxels/datasets/video_datasets.py Line 153 in 7e3a82d
|
Hi, thanks for providing the code ! I am trying to train DyNeRF scenes but I keep on stucking at the dataloader part.
I saw the recommendation to train these scenes with data_downsample=4 for one step. How exactly can I do that ? Should I manually change
'num_steps': 1
?The text was updated successfully, but these errors were encountered: