I meet this error with pytorch 0.4 and python 3.5, when I try to train and then evaluate the network every epoch. After several epoches, it throws this error and can not free the GPU memory.
Anyone to help figure out what is the problem?