Giter VIP home page Giter VIP logo

dcgan_mnist's Introduction

Deep Convolutional Generative Adversarial Network

About

DCGAN(Deep Convolutional Generative Adversarial Network) is an architecture used to generate new content.

Architecture

DCGANs comprises of two neural networks, Generator and Discriminator. Generator generates a fake image and has no
prior knowledge of real image. It interacts with the Discriminator in order to learn what kind of image it needs to generate.

Discriminator is a classifier which determines whether an image is fake or real. Discriminator neural network is fed with
both real(given by user) and fake images(generated by Generator), and it is then trained to accept the real images and reject
the fake images.

Main purpose of Generator is to fool the Discriminator Neural Network by generating fake images and make the Discriminator classify them as real images.

Discriminator neural network in this repository take images from MNIST dataset as real image input and Generator tries to generate fake hand written digits.

Requirements

  • Python 2.7
  • Pytorch (works perfectly on pytorch version 0.4.0)

Usage

  • Run the python main.py after cloning or downloading the repository .

Result

Generated Image MNIST dataset

Real Image Fake Image at 20th epoch Fake Images During Training

dcgan_mnist's People

Contributors

zephyr2403 avatar

Stargazers

 avatar  avatar

Watchers

 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.