GithubHelp home page GithubHelp logo

dcgan's Introduction

Face Generating GAN

A deep convolutional GAN was trained from scratch on the Large scale CelebFaces dataset[1] consisting of 200k images of faces.

A random sample vector as well as a dropout was used in both the Discriminator and the Generator to induce noise.

Various values of dropouts were tried.

Training Method

Download the images into data/celeba/ folder in the same directory.

./train.py --d1 [argument] --d2 [argument]

d1 and d2 are dropout values that are applied on the odd and even layers of the network respectively.They can be independently chosen.

Sample Generation

./sample_generator.py --d1 [argument] --d2 [argument]

Model state dictionaries for models with different dropouts values are provided for trained models in models folder

Sample Images

Some generated face images are stored in samples folder with the d1 and d2 used.

Future Scope

Decrease single mode generator outputs by adding more random noise to the generator network

References

[1] http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html
[2] https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html

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.