You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the ToTensor class of to_tensor function takes input in the dimension of (H, W) while PIL has it's images dimension be (W, H).
Why is this transpose ?