This will be a quick tip on how to use combine_adversarial_loss
in tf.contrib.gan.estimator.GANEstimator
. In my latest projects, I have been using TensorFlow estimators. Estimators allow you to focus more on creating models and wraps the whole training (including saving, exporting, and putting a model in production) into few lines. Recently, I experienced the limits of estimators when I wanted to train a generative adversarial network (GAN) with a combined adversarial loss. In this article, I will show you a little trick how to do that.
![TF tricks #1 Using GANs](https://bretahajek.com/wp-content/uploads/2019/03/TF-tricks1_GANs-1024x768.jpg)