Text to image synthesis is one of the use cases for Generative Adversarial Networks (GANs) that has many industrial applications, just like the GANs described in previous chapters. Synthesizing images from text descriptions is very hard, as it is very difficult to build a model that can generate images that reflect the meaning of the text. One network that tries to solve this problem is StackGAN. In this chapter, we will implement a StackGAN in the Keras framework, using TensorFlow as the backend.
In this chapter, we will cover the following topics:
- Introduction to StackGAN
- The architecture of StackGAN
- Data gathering and preparation
- A Keras implementation of StackGAN
- Training a StackGAN
- Evaluating the model
- Practical applications of a pix2pix network