Coder Social home page Coder Social logo

shashirajpandey / gan-optimization-landscape Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookresearch/gan-optimization-landscape

0.0 0.0 0.0 771 KB

code to reproduce the empirical results in the research paper

License: MIT License

Python 20.02% Jupyter Notebook 79.98%

gan-optimization-landscape's Introduction

This is the code for reproducing the experimental results in our paper A Closer Look at the Optimization Landscapes of Generative Adversarial Networks, Hugo Berard, Gauthier Gidel, Amjad Almahairi, Pascal Vincent, Simon Lacoste-Julien, 2019.

If you find this code useful please cite our paper:

@misc{berard2019closer,
    title={A Closer Look at the Optimization Landscapes of Generative Adversarial Networks},
    author={Hugo Berard and Gauthier Gidel and Amjad Almahairi and Pascal Vincent and Simon Lacoste-Julien},
    year={2019},
    eprint={1906.04848},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

For any questions regarding the code please contact Hugo Berard ([email protected]).

License

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Running the Code

We provide a conda environment to run the code: conda create -f mnist-exp_environment.yml

The code for computing the eigenvalues and the path-angle is in plot_path_tools.py.

To run the code for the Mixture of Gaussian experiment: python train_mixture_gan.py OUTPUT_PATH --deterministic --saving-stats

To run the code for the MNIST experiment: python train_mnist.py

The visualization of the results can be done with mnist_plots.ipynb

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.