Same transform for a paired image?

Alternatively, you could also use the functional API from torchvision as given in this example.

1 Like