jiyanggao/Video-Person-ReID

GPU Out of Memory

DNHanXu opened this issue · 3 comments

I made some changes on original codes to make it compatible with torch 1.0.1 and python 3.6. However, I encounter gpu out of memory problem during testing process. Does anyone have the same problem? And is it caused by version difference? I used 1080ti with 11GB memory.

make some changes according to version update of Pytorch from 0.3 to 0.4 will solve this problem

I had same problem,could you tell me how to solve it?

@usename6 For torch >= 0.4, try to use 'torch.no_grad()' instead of 'volatile' flag.