Giter Site home page Giter Site logo

pvae's Introduction

Prerequisites

Modules in requirements.txt.

Run experiments

Synthetic dataset

CUDA_VISIBLE_DEVICES='' python3 pvae/main.py --model hyp_tree --latent-dim 2 --hidden-dim 200 --prior-std-scale 1.7 --data-dim 50 --data-params 6 2 1 1 5 5 --arch-dec Gyroplane --epochs 1000 --save-freq 1000 --lr 1e-3 --batch-size 64 --iwae-samples 5000

MNIST dataset

CUDA_VISIBLE_DEVICES='' python3 pvae/main.py --model hyp_mnist --latent-dim 2 --hidden-dim 600 --c 0.7 --prior WrappedNormal --posterior WrappedNormal --arch-dec Gyroplane --arch-enc '' --lr 5e-4 --epochs 80 --save-freq 80 --batch-size 128 --iwae-samples 5000

Running tests

pip3 install nose2
nose2

References

If you find this code useful for your research, please cite the following paper in your publication:

@article{mathieu2019poincare,
  title={Hierarchical Representations with Poincar\'e Variational Auto-Encoders},
  author={Mathieu, Emile and Le Lan, Charline and Maddison, Chris J. and Tomioka, Ryota and Whye Teh, Yee},
  journal={arXiv preprint arXiv:1901.06033},
  year={2019}
}

pvae's People

Contributors

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