nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Increasing training time and GPU memory

Open kwea123 opened this issue 3 years ago • 1 comments

The training time is increasing and the GPU memory too (although it doesn't cause OOM)

Training time at the beginning Screenshot from 2022-10-13 11-04-02

Training time after a while (and it keeps increasing afterwards too) Screenshot from 2022-10-13 11-06-14

The command is

ns-train instant-ngp --vis tensorboard --data /home/ubuntu/data/nerf_data/nerf_synthetic/lego \
--trainer.steps-per-save 10000 --trainer.steps-per-eval-batch 10000 \
--trainer.steps-per-eval-image 10000 --trainer.steps-per-eval-all-images 10000 \
--trainer.max-num-iterations 10000 \
blender-data

I disabled all intermediate evals so it's training only, and no visualization either.

kwea123 avatar Oct 13 '22 02:10 kwea123

This is likely due to the dynamic batching, although I would expect the number of rays/sec to also increase. Will need to investigate.

tancik avatar Oct 13 '22 02:10 tancik

Has this issue been solved? I cannot reproduce the issue on latest main branch

97littleleaf11 avatar Apr 26 '23 15:04 97littleleaf11