MixUp + Cutmix implementation is (badly!) incorrect #13490
Labels
models:official
models that come under official repository
stat:awaiting response
Waiting on input from the contributor
The code for sampling from a beta distribution in tfm.vision.augment.MixupAndCutmix._sample_from_beta is incorrect:
It should be
https://github.com/tensorflow/models/blob/8c5c79c27c4bb2843308bf8623daa24f4f3cbe62/official/vision/ops/augment.py#L2712C1-L2713C1
This results in very bad mixup samples:
The text was updated successfully, but these errors were encountered: