google-research / uda

Unsupervised Data Augmentation (UDA)
https://arxiv.org/abs/1904.12848
Apache License 2.0
2.18k stars 312 forks source link

Are crop and flip used on both labeled and unlabeled images? #71

Closed jiequanz closed 4 years ago

jiequanz commented 4 years ago

Are crop and flip used on both labeled and unlabeled images? After reading the code, I think they are used for all images, but want to make sure.

michaelpulsewidth commented 4 years ago

Yes. We mentioned this in our updated paper "In the vision domain, simple augmentations including cropping and flipping are applied to labeled examples. To minimize the discrepancy between supervised training and prediction on unlabeled examples, we apply the same simple augmentations to unlabeled examples."