How to use CutMix and MixUp
CutMix and
MixUp are popular augmentation strategies
that can improve classification accuracy.
These transforms are slightly different from the rest of the Torchvision
transforms, because they expect
batches of samples as input, not individual images. In this example we’ll
explain how to use them: after the , or as part of a collation
function.