ChrisAllenMing / Mixup_for_UDA

Implementation of Adversarial Domain Adaptation with Domain Mixup (AAAI 2020 Oral).
162 stars 24 forks source link

mixup ratio clipping? #1

Closed veroveroxie closed 4 years ago

veroveroxie commented 4 years ago

Nice work! Could you please explain the mixup ratio clipping operation used in the code? Why do you clip it to [0.,0.2] and [0.8,1.0]? Is there any heuristics in choosing the alpha or mixup ratio?

ChrisAllenMing commented 4 years ago

This operation is based on the heuristic that those samples approaching source or target domain are easier to discriminate, which makes domain discriminator easier to converge and, at the same time, provides enough information of the status between two domains.

veroveroxie commented 4 years ago

thank you!