I use cv2 to read and resize the image and the top image is the result. Then I want to use torchvision.transforms to do data augmentation for this image. I applied RandomHorizontalFlip(), but the result shows quite different with the top one.
Why do they looks like so different? How can I do data augmentation in Pytorch?
Thank you!