In Pytorch, I know that certain image processing transformations can be composed as such:
import torchvision.transforms as transforms
transform = transforms.Compose([transforms.ToTensor()
,
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))])
In my case, each image has a corresponding annotation of bounding box coordinates with YOLO format. Does Pytorch allow to apply these transformations to the bounding box coordinates of the image as well, and later save them as new annotations? Thanks.