How to change the size of input images in Training a classifier example?

Sorry for the stupid question.
I am learning NN via Pytorch, I started doing the training a classifier tutorial.
It works fine. but when I change the size of the images to 64 instead of 32 (via transforms.Scale(64) ) it does not work and gives me error.
Anyone knows how to fix it?
Thanks