4

Generative Adversarial Networks (GANs)

In this chapter, we'll be investigating generative adversarial networks (GANs) [1]. GANs belong to the family of generative models. However, unlike autoencoders, generative models are able to create new and meaningful outputs given arbitrary encodings.

In this chapter, the working principles of GANs will be discussed. We'll also review the implementations of several early GANs using tf.keras, while, later on in the chapter, we'll demonstrate the techniques needed to achieve stable training. The scope of this chapter covers two popular examples of GAN implementations, Deep Convolutional GAN (DCGAN) [2] and Conditional GAN (CGAN) [3].

In summary, the goals of this chapter are:

  • To introduce the principles ...

Get Advanced Deep Learning with TensorFlow 2 and Keras - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.