GithubHelp home page GithubHelp logo

rxlgq / vae_iop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from takahashihiroshi/vae_iop

0.0 0.0 0.0 13 KB

pytorch implementation for "Variational Autoencoder with Implicit Optimal Priors".

Home Page: https://www.aaai.org/ojs/index.php/AAAI/article/view/4439

License: Other

Python 100.00%

vae_iop's Introduction

Variational Autoencoder with Implicit Optimal Priors

This is a pytorch implementation of the following paper [AAAI] [arXiv]:

@inproceedings{takahashi2019variational,
  title={Variational Autoencoder with Implicit Optimal Priors},
  author={Takahashi, Hiroshi and Iwata, Tomoharu and Yamanaka, Yuki and Yamada, Masanori and Yagi, Satoshi},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={33},
  pages={5066--5073},
  year={2019}
}

Please read license.txt before reading or using the files.

Prerequisites

Please install python>=3.6, torch, torchvision, numpy and scipy.

Usage

usage: main.py [-h] [--dataset DATASET] [--prior PRIOR]
               [--learning_rate LEARNING_RATE] [--seed SEED]
  • You can choose the dataset from following four image datasets: MNIST, OMNIGLOT, Histopathology and FreyFaces.
  • You can choose the prior of the VAE from normal (standard Gaussian prior) or iop (implicit optimal prior).
  • You can also change the random seed of the training and learning_rate of the optimizer (Adam).

Example

MNIST with standard Gaussian prior:

python main.py --dataset MNIST --prior normal

MNIST with implicit optimal prior:

python main.py --dataset MNIST --prior iop

Output

  • After the training, the mean of log-likelihood for test dataset will be displayed.
  • The detailed information of the training and test will be saved in npy directory.

vae_iop's People

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.