DANN-keras icon indicating copy to clipboard operation
DANN-keras copied to clipboard

A simple implementation of domain adversarial training with GAN loss in Keras

A keras implementation of a custom version of adversarial domain adaptation

Some code is borrowed from this repo

[https://github.com/pumpikano/tf-dann/blob/master/Blobs-DANN.ipynb]

The method implemented combines these three papers:

Ganin, Yaroslav, and Victor Lempitsky. "Unsupervised Domain Adaptation by Backpropagation." International Conference on Machine Learning. 2015.(http://sites.skoltech.ru/compvision/projects/grl/files/paper.pdf) Tzeng, Eric, et al. "Adversarial discriminative domain adaptation." Computer Vision and Pattern Recognition (CVPR). Vol. 1. No. 2. 2017. Li, Yanghao, et al. "Revisiting batch normalization for practical domain adaptation." arXiv preprint arXiv:1603.04779 (2016).