Kevinkevin189:

le (image,segmentation result),I want to augment my dataset by random crop operation.But I don’t know how to random the two pics simutaneously,I mean, the random crop must be an atomic opearion which applied on the two image,crop the exact the same part.


I think in torch.transforms you can do that while apply the dataset itself.