[resolved] Out of memory in the medium of training, always happen when training the same batch ID

My problem has been solved. See:

Thanks pytorch forum!