nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.38k stars 112 forks source link

CUDA out of memery #99

Closed LHXhh closed 1 year ago

LHXhh commented 1 year ago

I test unbounded dataset garden in the train_mlp_nerf, which works well during training process, but there is something wrong during testing. Is that normal? Thank you very much. 飞书20221104-143539

liruilong940607 commented 1 year ago

Simply because the GPU you are using doesn't not have enough GPU memory to support this task. Testing would require extra memory.

liruilong940607 commented 1 year ago

You can use smaller target_sample_batch_size to save memory for training, or chunk_size to save memory for inference. Or sample less points via increasing render_step_size

LHXhh commented 1 year ago

I will have a try, Thank you.