barbararoessle / dense_depth_priors_nerf

Dense Depth Priors for Neural Radiance Fields from Sparse Input Views
MIT License
378 stars 49 forks source link

I encountered the error while Optimizing NeRF with Dense Depth Priors #15

Open ztqyang opened 1 year ago

ztqyang commented 1 year ago

Hi, thanks for your code! While Optimizing,it shows RuntimeError. cUDA is out of memory. Is there any way to reduce the required memory.

barbararoessle commented 1 year ago

Hi, you can reduce netchunk_per_gpu. If that is not enough, you could reduce the batch size, however this may also require adapting the learning rate.