CPU memory usage is high
LiheYoung opened this issue · comments
The cpu memory usage is high when training on Cityscapes. I didn't crop the image, and input size is 1024x2048. Larger size may lead to higher GPU memory usage but my GPU memory usage is okay(around 11G), the cpu memory usage is high(around 80%). Sometimes it may be killed because it cannot allocate memory.
Maybe this visualized image is too large in your case?
pytorch-fcn/torchfcn/trainer.py
Lines 126 to 129 in e86a0f0
Those visualized images are tiled to create another large image.
pytorch-fcn/torchfcn/trainer.py
Lines 133 to 137 in e86a0f0