Closed buzhiqimeiliuqiangdong closed 4 years ago
Hi, while I was training on 16GB GPU there was no problem. Problem is 12GB GPU. Thank you!
When I run 'python train.py --evaluate --snapshot checkpoints/best_cityscapes_checkpoint.pth',CUDA out of memory. My GPU is 11GB of memory,How can I solve this problem,thx.
how about the size of your image
Out of memory issues are almost always caused by not having enough GPU memory. You could either use a smaller backbone network, or try to optimize the code by freeing up some variables as soon as they are done being used.
When I run 'python train.py --evaluate --snapshot checkpoints/best_cityscapes_checkpoint.pth',CUDA out of memory. My GPU is 11GB of memory,How can I solve this problem,thx.