Mixup data augmentation

(William Horton) #21

So for mixup with multilabel classification we should use y_stack=False? Could you explain what that’s doing, exactly?


Indeed you should. y_stack=True stacks the not-encoded targets of the batch, the shuffled version of the batch and the lambda vector. y_stack=False will just do the linear combination directly.