Git Product home page Git Product logo

0xpranjal / generative-adversarial-network-from-scratch Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 413 KB

This repository is to demonstrate how we can create new images of a distribution of images with a Generative Adversarial Network (GAN)

License: GNU General Public License v3.0

Jupyter Notebook 98.68% Python 1.32%
gan discriminator predictions generative-adversarial-network neural-network machine-learning scratch-implementation

generative-adversarial-network-from-scratch's Introduction

Generative Adversarial Network

A generative adversarial network, or GAN, is a deep neural network framework which is able to learn from a set of training data and generate new data with the same characteristics as the training data.

This repository is to demonstrate how we can create new images of a distribution of images with a Generative Adversarial Network (GAN).

What is GAN ?

GAN is a architecture which makes use of multiple neural networks that compete against each other to make the predictions.

Coder GIF

Generator:

The network responsible for generating new data from training a data.

Discriminator:

Identifies and distinguishes a generated image/fake image from an original image of the training combined together form a GAN, both these networks learn based on their previous predictions, competing with each other for the better outcome.

How To Build A GAN In 8 Simple Steps We will follow the steps given below to build a simple Generative Adversarial Network.

  1. Importing the necessary modules
  2. Building a simple Generator network
  3. Building a simple Discriminator network
  4. Building a GAN by stacking the generator and discriminator
  5. Plotting the generated images
  6. A training method for GAN
  7. Loading and processing MNIST data
  8. Training The GAN

Coder GIF

References & Articles

  1. Intro to GAN
  2. How To Build A Generative Adversarial Network In 8 Simple Steps

generative-adversarial-network-from-scratch's People

Contributors

0xpranjal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.