GithubHelp home page GithubHelp logo

grseb9s / dcgan-keras-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yashk2810/dcgan-keras

0.0 2.0 0.0 4.11 MB

Deep Convolutional Generative Adverserial Networks

License: MIT License

Jupyter Notebook 100.00%

dcgan-keras-1's Introduction

Deep Convolutional GAN

This is an implementation of the DCGAN paper.

  • The training images have been scaled to a range of [-1, 1].
  • The activation function used is LeakyRELU(for both the generator and discriminator) with 0.2 as the alpha(slope) value except for the last layer of the generator which uses tanh as the activation function.
  • There are no Fully connected layers used.
  • Instead of Max-pooling, strided convolutions are used in the discriminator.
  • For the generator, Upsampling followed by a convolutional layer is used to increase the resolution of the image.
  • The optimizer used is Adam.
  • A batch size of 128 is used to the train the generator and the discriminator.

The image below has been obtained after training the model for 50 epochs.

image1

Requirements

  • Keras
  • Tensorflow
  • Numpy
  • Tqdm
  • Matplotlib

Usage

The DCGAN.ipynb notebook contains the entire code. To model weights for the generator and the discriminator are available in the model weights folder. The dataset used is the MNIST dataset. This dataset is provided by Keras, so there is no need to download it separately.

dcgan-keras-1's People

Contributors

yashk2810 avatar

Watchers

James Cloos avatar paper2code - bot 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.