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)

Setting up a project

The source code for the project is available on GitHub at the following link: https://github.com/PacktPublishing/Generative-Adversarial-Networks-Projects.

Run the following commands to set up the project:

  1. Start by navigating to the parent directory, as follows:
cd Generative-Adversarial-Networks-Projects
  1. Next, change directory from the current directory to the Chapter02 directory:
cd Chapter02
  1. Next, create a Python virtual environment for this project:
virtualenv venv
  1. After that, activate the virtual environment:
source venv/bin/activate
  1. Finally, install all the requirements that are indicated in the requirements.txt file:
pip install -r requirements.txt

We have now successfully set up the project. For more information, refer to the README.md file included with the code repository.