Skip to content

This repository contains the code for the tutorial on GANs for the course Advanced Machine Learning

License

Notifications You must be signed in to change notification settings

rajatsharma2204/AML_Tutorial_GANs

Repository files navigation

AML Tutorial GANs

This repository contains the code for the tutorial on GANs for the course Advanced Machine Learning

Introduction

Generative Adversarial Networks (GANs) are machine learning models that solve the problem of generating new data from the probability space of the training data instead of simply classification and regression. GANs consist of two neural networks that compete against one another in a zero-sum game. The two networks are called Generator and Discriminator and their functions are as follows -

Generator

The task of the generator is to create new data points that resemble closely with the data points of the training data. The generator should be able to generate new points that appear as if they have been sampled from the original distribution. The generator typically takes input from the latent space and generates a data point in the space of training data. The input to the network is a point in latent space that is sampled randomly. The generator typically has deconvolution layers for converting the latent representations into original representations (such as images). The generator tries to increase the loss of the discriminator by fooling discriminator into believing that the data point generated belongs in the original space.

Discriminator

The task of the discriminator is to successfully distinguish between real samples and those generated by the generator. Since this is a classification task, discriminators are typically convolutional neural networks that try to classify the input data point into real and artificially created samples. The loss of discriminator is typically a cross entropy loss for classification. The discriminator tries to increase the loss of the generator by successfully discriminating the samples artificially created by the generator.

About

This repository contains the code for the tutorial on GANs for the course Advanced Machine Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published