Is there a clear resource somewhere on how to apply the same random transforms to both the input and target for semantic segmentation problems? I’ve seen that it’s been discussed by some of the devs but I can’t find documentation on what my code should look like to do it.
In my case, I need to apply some transforms only to target (eg. grayscale), but also the same randomcrop/randomhorizontalflip etc. to both the input and target.