Book Image

Generative Adversarial Networks Projects

By : Kailash Ahirwar
Book Image

Generative Adversarial Networks Projects

By: Kailash Ahirwar

Overview of this book

Generative Adversarial Networks (GANs) have the potential to build next-generation models, as they can mimic any distribution of data. Major research and development work is being undertaken in this field since it is one of the rapidly growing areas of machine learning. This book will test unsupervised techniques for training neural networks as you build seven end-to-end projects in the GAN domain. Generative Adversarial Network Projects begins by covering the concepts, tools, and libraries that you will use to build efficient projects. You will also use a variety of datasets for the different projects covered in the book. The level of complexity of the operations required increases with every chapter, helping you get to grips with using GANs. You will cover popular approaches such as 3D-GAN, DCGAN, StackGAN, and CycleGAN, and you’ll gain an understanding of the architecture and functioning of generative models through their practical implementation. By the end of this book, you will be ready to build, train, and optimize your own end-to-end GAN models at work or in your own projects.
Table of Contents (11 chapters)

Preparing the data

In this chapter, we will be using the Wiki-Cropped dataset, which contains more than 64, 328 images of various people's faces. The authors have also made a dataset available that contains only the cropped faces, so we don't need to crop faces.

The authors of the paper titled Deep expectation of real and apparent age from a single image without facial landmarks, which is available at https://www.vision.ee.ethz.ch/en/publications/papers/articles/eth_biwi_01299.pdf, have scraped these images from Wikipedia and made them available for academic purposes. If you intend to use the dataset for commercial purposes, contact the authors at [email protected].

You can manually download the dataset from the following link and place all the compressed files in the directory inside the Age-cGAN project at https://data.vision.ee.ethz.ch/cvl/rrothe/imdb-wiki...