Plt.imshow shows weird data augmentation when I have none

Could you try to use img = img.permute(1, 2, 0) instead of the view call?