Hi, i want to ask if I want to rotate images for neural network if this is normal way, if there is no problem with that black corners. I am not sure if there is another way to do this.
torchvision.transforms.RandomRotation() lets you specify a fill argument, which you can use to vary the color used in the corners so it’s not always black.
https://pytorch.org/vision/main/generated/torchvision.transforms.RandomRotation.html