Book Image

Hands-On Generative Adversarial Networks with PyTorch 1.x

By : John Hany, Greg Walters
Book Image

Hands-On Generative Adversarial Networks with PyTorch 1.x

By: John Hany, Greg Walters

Overview of this book

With continuously evolving research and development, Generative Adversarial Networks (GANs) are the next big thing in the field of deep learning. This book highlights the key improvements in GANs over generative models and guides in making the best out of GANs with the help of hands-on examples. This book starts by taking you through the core concepts necessary to understand how each component of a GAN model works. You'll build your first GAN model to understand how generator and discriminator networks function. As you advance, you'll delve into a range of examples and datasets to build a variety of GAN networks using PyTorch functionalities and services, and become well-versed with architectures, training strategies, and evaluation methods for image generation, translation, and restoration. You'll even learn how to apply GAN models to solve problems in areas such as computer vision, multimedia, 3D models, and natural language processing (NLP). The book covers how to overcome the challenges faced while building generative models from scratch. Finally, you'll also discover how to train your GAN models to generate adversarial examples to attack other CNN and GAN models. By the end of this book, you will have learned how to build, train, and optimize next-generation GAN models and use them to solve a variety of real-world problems.
Table of Contents (15 chapters)
Free Chapter
1
Section 1: Introduction to GANs and PyTorch
5
Section 2: Typical GAN Models for Image Synthesis

Reconstructing 3D models with GANs

So far, we've learned how to synthesize images, text, and audio with GANs. Now, it's time to explore the 3D world and learn how to use GANs to create convincing 3D models.

In this chapter, you will learn how 3D objects are represented in computer graphics (CG). We will also look into the fundamental concepts of CG, including camera and projection matrices. By the end of this chapter, you will have learned how to create and train 3D_GAN to generate a point cloud of 3D objects, such as chairs.

You will know the fundamental knowledge of the representation of 3D objects and the basic concept of 3D convolution. Then, you will learn to construct a 3D-GAN model by 3D convolutions and train it to generate 3D objects. You will also get familiar with PrGAN, a model that generates 3D objects based on their black-and-white 2D views.

The following...