SRDC-CVPR2020 icon indicating copy to clipboard operation
SRDC-CVPR2020 copied to clipboard

CUDA out of memory for large dataset despite small batch size

Open Spandan-Madan opened this issue 3 years ago • 0 comments

I am trying to run the model on a custom dataset, which is significantly larger than the datasets used in this repo.

On line 520 of trainer.py while calculating k_means, a large enough dataset creates problems as it tries to compute the k_means for the whole dataset simultaneously which leads to CUDA out of memory issues.

Any leads on how this can be improved?

Spandan-Madan avatar Dec 25 '21 21:12 Spandan-Madan