pytorch-semantic-segmentation icon indicating copy to clipboard operation
pytorch-semantic-segmentation copied to clipboard

Memory issue validation

Open DiegoOrtego opened this issue 8 years ago • 1 comments
trafficstars

Hi @ZijunDeng , I am reusing your PSPNet implementation for my purposes and I noticed a problematic situation when validating with a large set of images. You append in a list all predictions and gts in order to compute the performance metrics. So if the dataset is large enough, the memory is easily saturated.

DiegoOrtego avatar Oct 25 '17 14:10 DiegoOrtego

Yes, that's a problem. The evaluation of mIOU has to be done at once on the whole val set. My computer has 32GB memory, which is enough.

zijundeng avatar Oct 30 '17 10:10 zijundeng