Implementation of "Adversarial Discriminative Domain Adaptation"(https://arxiv.org/abs/1702.05464) on pytorch
mnist -> usps
usps -> mnist
#training a model on source domain data
"A->B config-file" should be usps2mnist.yaml or mnist2usps.yaml
val reports the accuracy on target data
#adapt the model trained on source data to fit target data with ADDA method
"A->B config-file" should be usps2mnist.yaml or mnist2usps.yaml
Method | mnist -> usps | usps -> mnist |
---|---|---|
source only | 84% (1560/1860) | 78% (7820/10000) |
adapted | 92% (1709/1860) | 91% (9074/10000) |