Coder Social home page Coder Social logo

mostafaelaraby / gan-random-projection-pytorch Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 21.61 MB

A notebook explaining the difference between DCGAN and using multiple random projections to train several discriminators

Home Page: https://arxiv.org/abs/1705.07831

License: Apache License 2.0

Jupyter Notebook 100.00%
gan dcgan

gan-random-projection-pytorch's Introduction

GAN Random Projection

In this repo an implementation of DCGAN and comparing its results when we use a single discriminator versus using a set of discriminator each one of them on a different projection of the data.

We use random filters fixed throughout the training, these filters are then applied to input images from the data distribution or data generated by the generator. These random projection are then sent to a set of discriminators each working on a specific filter.

The notebook is commented and contains already generated images.

Motivation

In GANs, non saturating discriminators can provide meaningful gradients to the generator.
Meaningful gradients will let us continue the adversarial training longer without having the discriminator beat the generator
We will get different gradients from each discriminator, each gradient will be in a different lower dimensional space depending on our initial filter which will help the training avoid mode collapse.

References

[1] Neyshabur, Behnam, Srinadh Bhojanapalli, and Ayan Chakrabarti. "Stabilizing GAN training with multiple random projections." arXiv preprint arXiv:1705.07831 (2017).

gan-random-projection-pytorch's People

Contributors

mostafaelaraby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.