for batch_idx, image in enumerate(data_loader):
        image = Variable(image, volatile=True)

This is my original code
and I get  this message.
volatile = now has no effect. Usewith torch.no_grad():instead.
I searched about this and then I find that there is no need use to Variable().
then I just use
for batch_idx, image in enumerate(data_loader):
        Just use image ...

or change like this ?
with torch.no_grad():
       image = Variable(image)