Coder Social home page Coder Social logo

scipy2015's Introduction

PDF version of slides included. Slides also uploaded to https://speakerdeck.com/kastnerkyle

Video of talk here: https://www.youtube.com/watch?v=TBBtOeY2Q78

To run the code in the graphics directory, you will need Theano. I have not run this on CPU yet, but it runs pretty quickly on GPU. To run the code, simply go to graphics_code/vae or graphics_code/cvae

THEANO_FLAGS="floatX=float32,device=gpu,mode=FAST_RUN" python vae.py

or

THEANO_FLAGS="floatX=float32,device=gpu,mode=FAST_RUN" python cvae.py

will start training the model. After training,

THEANO_FLAGS="floatX=float32,device=gpu,mode=FAST_RUN" python flying_vae.py serialized_vae.pkl

or

THEANO_FLAGS="floatX=float32,device=gpu,mode=FAST_RUN" python flying_cvae.py serialized_cvae.pkl

will generate plots for the saved model.

Variational Autoencoder

This variational autoencoder follows the general procedure described in Auto-Encoding Variational Bayes, Kingma and Welling

Another paper describes a similar concept, Stochastic Backpropagation and Approximate Inference in Deep Generative Models, Rezende, Mohamed, and Wierstra.

VAE Code Walking

walking_code

VAE Reconstruction

reconstruct

Conditional Variational Autoencoder

This conditional variational autoencoder follows a similar procedure to that described in Semi-supervised Learning with Deep Generative Models, Kingma, Rezende, Mohamed, and Welling.

Conditional VAE Code Walking With Conditional Control

walking_code

Holding Style (Z) Fixed and Changing Conditional y

reconstruct

Conditional VAE Reconstruction and Prediction

reconstruct

Linked content

sklearn-theano, a scikit-learn compatible library for using pretrained networks http://sklearn-theano.github.io/

My research code https://github.com/kastnerkyle/santa_barbaria

Neural network tutorial by @NewMu / Alec Radford https://github.com/Newmu/Theano-Tutorials

Theano Deep Learning Tutorials http://deeplearning.net/tutorial/

scipy2015's People

Contributors

kastnerkyle avatar

Watchers

James Cloos avatar Bikesh Chaudhary 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.