GithubHelp home page GithubHelp logo

zhen-he / ibp_vae Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rachtsingh/ibp_vae

0.0 1.0 0.0 1.1 MB

mean-field and structured VAEs for the IBP

Python 60.78% Shell 0.98% C 29.44% C++ 1.64% Cuda 7.16%

ibp_vae's Introduction

Indian Buffet Process VAEs

This repository contains the code for the paper "Structured Variational Autoencoders for the Beta-Bernoulli Process", by Jeffrey Ling, Rachit Singh, and Finale Doshi-Velez. The paper is itself forthcoming on the ArXiv, but a workshop version is available at the AABI NIPS workshop page.

This codebase is somewhat incomplete, missing some code that we haven't had time to clean up. We're working on putting all of the code up as soon as possible, and will do so over the next few weeks. Please let us know if you run into problems by making an issue.

We can also be contacted at [email protected], and [email protected], and feel free to send us an email.

Quickstart

To run the code with GPU support, navigate to src/lgamma and do ./make.sh.

Navigate to base directory and run

python scripts/run_s_ibp_concrete.py --savefile testsave

--savefile is a required argument. Models will be saved under models/ (last, and best over epochs) and train, valid, test curves and timings are saved under runs/.

Use --help to see arguments.

Note about compilation

We're working on incorporating all of the required CUDA functionality in PyTorch master, but until then the compilation process is likely a little tricky. For example, you'll almost definitely need to change sm_35 in make.sh to your card's compute capability and the CUDA_PATH must be customized. Finally, one likely change you'll need to make is to fix build.py to have the correct cuda_path and include_dirs. Please feel free to send me an email if you have trouble compiling - I'm happy to help.

ibp_vae's People

Contributors

jeffreyling avatar melaniefp avatar rachtsingh 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.