But transformations are callable and take in an PIL image and return a transformed version. The definition of this subclass is based on pytorch doc here https://pytorch.org/docs/stable/_modules/torchvision/datasets/voc.html#VOCSegmentation, they also apply transformations on two arguments