for i, (inputs, targets) in enumerate(data_loader):
        
 
                    with torch.no_grad():
                           inputs = Variable(inputs)
                           targets = Variable(targets)
                           print("targets.data", targets.item())

It doesn’t seem to be giving the target value.