Tensorflow-gpu (1.0.0.rc2, Window, py35) implementation of Domain Adversarial Neural Network.
Modified from pumpikano's github
#CHANGE LOGS Blobs-DANN.ipynb
- Kernel: Python2 -> Python3
- / -> //
- specified arguments of softmax_cross_entropy_with_logits(logits = , labels = ) e.g.) tf.nn.softmax_cross_entropy_with_logits(p_logit, y) -> tf.nn.softmax_cross_entropy_with_logits(logits = p_logit, labels = y)
- .next() -> .__next()__
- print ~ -> print(~)
flip_gradient.py
- tf.neg(
) -> tf.negative()