GithubHelp home page GithubHelp logo

misgan's Introduction

MisGAN: Learning from Incomplete Data with GANs

This repository provides a PyTorch implementation of MisGAN, a GAN-based framework for learning from incomplete data.

Requirements

The code requires Python 3.6 or later. The file requirements.txt contains the full list of required Python modules.

Jupyter notebook

We provide a notebook that includes an overview of MisGAN as well as the annotated implementation that runs on MNIST. The notebook can be viewed from here.

Usage

The source code can be found in the src directory. Separate scripts are provided to run MisGAN on MNIST and CelebA datasets.

For CelebA, you will need to download the dataset from its website:

  • Download the file img_align_celeba.zip (available from this link).
  • Extract the zip file into the directory src/celeba-data that you create.

The commands below need to be run under the src directory.

MisGAN on MNIST:

python mnist_misgan.py

MisGAN imputation on MNIST:

python mnist_misgan_impute.py

MisGAN on CelebA:

python celeba_misgan.py

MisGAN imputation on CelebA:

python celeba_misgan_impute.py

Use -h to see all available command-line arguments for each script.

References

Steven Cheng-Xian Li, Bo Jiang, Benjamin Marlin. "MisGAN: Learning from Incomplete Data with Generative Adversarial Networks." ICLR 2019. [arXiv]

Contact

Your feedback would be greatly appreciated! Reach us at [email protected].

misgan's People

Contributors

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