What you should print is the 2 variable you fed for criterion, which is output, target.
I suggest you to take a look at the official GAN example https://github.com/pytorch/examples/blob/master/dcgan/main.py 73 .