Giter VIP home page Giter VIP logo

e2c's Introduction

e2c

TensorFlow impementation of: Embed to Control: A Locally Linear Latent Dynamics Model for Control from Raw Images, with code optimized for clarity and simplicity.

latent

Only 160 lines of code, and only uses Python modules that come installed with TensorFlow. Proper writeup explaining the paper plus improved model code to soon follow.

Results

Left column are x_t, x_{t+1}, and right column are the E2C reconstructions. reconstruction

Larger step sizes (magnitude of u) yield better latent space reconstruction...

unfolding latent space

but degrade image reconstruction fidelity (more on this later...). Here's a different set of obstacles:

poor reconstruction

Features:

  • Implements the standard E2C model with the factorized Gaussian KL divergence term (Eq. 14)
  • Adam Optimizer + Orthogonal weight initialization scheme by Saxe et al..
  • Learns the latent space of the planar control task (uses the same parameters described in the paper, Appendix B.6.2)

Training the Model

First, generate the synthetic training data plane2.npz by running the following script.

$ python plane_data2.py

Then, train the model

$ python e2c.py

You can then generate visualizations by executing:

$ python viz_results.py

Acknowledgements

Thanks to Manuel Watter for answering my questions about the paper.

License

Apache 2.0

e2c's People

Contributors

ericjang avatar

Watchers

James Cloos 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.