city-super / GSDF

[NeurIPS 2024]GSDF: 3DGS Meets SDF for Improved Rendering and Reconstruction
Other
295 stars 11 forks source link

How to reduce GPU memory usage #13

Closed CanCanZeng closed 2 weeks ago

CanCanZeng commented 2 weeks ago

Hello, I am trying to rebuild the Barn scene using the train.sh script, but an OOM error occurs every time it runs to around 20K. I am using a NVIDIA 4080 graphics card with 16GB of video memory. How can I reduce the usage of video memory so that my machine can also run GSDF?

MulinYu commented 2 weeks ago

Maybe reduce the resolution of hash grid in 'xyz_encoding_config' but it will lead to degraded quality.

CanCanZeng commented 2 weeks ago

Thank you for your reply!