Solved by ptrblck in post #2 
              
              
                Since you have a CNN you should pass your input as images. 
Try to remove the image = images.reshape(-1, 28*28) line and run it again. 
Your code already flattens the activation after the conv and before the linear layers.