GithubHelp home page GithubHelp logo

00mjk / vae-tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wrongu/vae-tutorial

0.0 0.0 0.0 399 KB

A walkthrough/tutorial for you to implement your own miniature variational auto-encoder (VAE) library

License: MIT License

Python 100.00%

vae-tutorial's Introduction

VAE Tutorial

This repository contains a series of small exercises to walk you, dear reader, through some of the core concepts of Variational Auto-Encoders (VAEs) by having you implement your own miniature VAE library in Keras. Completing this tutorial will give you a better understanding not only of how probabilistic deep-learning libraries like Edward, PyRo, ZhuSuan, or others work under the hood, but also of how to write custom extensions in Keras in general.

Pre-requisites


Setup

Since the data/ directory and visualize.py are shared by all exercises, start by putting the project's root directory in your PYTHONPATH (this will allow other scripts to do from data import ... from within other directories). In a terminal, run

export PYTHONPATH=$PWD:$PYTHONPATH

Next, use virtualenv to create a python environment and install the necessary dependencies (solutions were written in Python 3.5 but should work in Python 2.7):

virtualenv vae-tutorial
pip install -r requirements.txt

Organization

This tutorial is broken into a series of ordered "exercises," each building on the previous. In the solutions/ directory, each solution's source files build on the previous ones by only a small "diff". Each exercise contains an "instructions.md" file outlining what you need to implement and giving helpful tips. These are best viewed in-browser - click here to go to exercise 01.

Each exercise contains # YOUR CODE HERE comments across various files indicating parts you must implement.

vae-tutorial's People

Contributors

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