Solved by ptrblck in post #10 
              
              
                Note that Resize will behave differently on input images with a different height and width. 
From the docs: 

size  ( sequence  or   int ) – Desired output size. If size is a sequence like (h, w), output size will be matched to this. If size is an int, smaller edge of the image will be matched to th…