How to process two images with the same augmentation?

We have a requirement that processes two images with the SAME augmentation. How to use torchvision.transforms to implement in an elegant way?

I am not sure about torchvision.transforms.
imgaug python library may be of help to you.

You could use the functional API via torchvision.transforms.functional as seen in this example.

Hi, thx. But I can’t clip into the link. Could you paste the URL?

Sorry, I had a typo in the link. Should work now.