Improved GANs—Conditional GAN
Explore Conditional GANs to generate specific image classes by conditioning generator and discriminator models on class labels. Understand their architecture and training with TensorFlow, including how to implement multi-input models using the Keras functional API and leverage conditioning for controlled synthetic image results.
We'll cover the following...
GANs are powerful systems that can generate realistic samples from the domain of training. Architectures like the vanilla GAN and DCGAN have also been used to generate samples that resemble human faces and even real-world items (from training on CIFAR-10 and so on). However, they miss out on the ability to control the samples we would like to generate.
Architecture
In simple words, we can use a trained generator to generate any number of samples required, yet we cannot control it to generate a specific type of example. Conditional
In their work, conditional adversarial networks, Mirza et al. pointed toward using class labels as additional conditioning input to both generator and discriminator models. We denote the conditioning input as
Where