Mixup mixes labels exactly as it mixes inputs, so a blended example gets a soft target. The model is then trained to match that soft label, not a hard one.
Implement mixup_targets(y, perm, lam), applying the same permutation and weight to the one-hot labels.
Use the same expression as the inputs, applied to the label matrix.
No results yet
Run your code to check it against the examples, or submit to run every test.