Hi, I love the pytorch dataloaders and transforms, and have been using them for images.
But one thing I’m a little puzzled by is why the Resize function takes in the argument as (height, width) instead of (width, height) as seems to be the convention for PIL and cv2? I was thoroughly confused by my code’s behavior until I finally opened up the doc and saw that it is clearly stated there that the argument is (h,w). It was an easy fix, but it left me wondering why the convention seems flipped for pytorch.
Thanks.