Coder Social home page Coder Social logo

hallucinative-topological-memory's Introduction

Hallucinative Topological Memory

Hallucinative Topological Memory (HTM) tackles the problem of Visual Planning in which an agent learns to plan goal-directed behavior from observations of a dynamical system obtained offline, e.g., images obtained from self-supervised robot interaction. In particular, HTM learns an energy-based model based on contrastive loss and a conditional VAE model that generates samples given a context image of a new domain. It uses these hallucinated samples for nodes, and energy-based model for the connectivity to build a planning graph. HTM allows for zero-shot generalization to domain changes.

The environment currently consists of a Block Wall domain (see https://arxiv.org/abs/2002.12336) made easy for testing zero-shot generalization.

Set-Up

  1. Install standard ML libraries through pip/conda and Mujoco.
  2. Change file to execution mode by chmod +x scripts/collect-data.sh
  3. Run ./scripts/collect-data.sh to collect data, or download the training and test data here.

Training

  1. Change to execution mode and run ./scripts/train_vae.sh.
  2. Change to execution mode and run ./scripts/train_actor.sh.
  3. Change to execution mode and run ./scripts/train_cpc.sh.

Evaluation

  1. Change mode and run ./scripts/evaluate.sh

hallucinative-topological-memory's People

Contributors

karamarieliu avatar thanard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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