Giter VIP home page Giter VIP logo

hip-rssm's Introduction

Hidden Parameter Recurrent State Space Models (HiP-RSSM)

Pytorch code for ICLR 2022 paper Hidden Parameter Recurrent State Space Models For Changing Dynamics Scenarios. The algorithm learns deep multi task Kalman Filters that can be used in non-stationary environments with changing dynamics.

drawing

Dependencies

  • torch==1.3.1
  • python 3.7
  • omegaconf==2.1.1
  • hydra-core==1.1.1
  • PyYAML==5.3
  • wandb==0.10.25
  • umap-learn

How to Train

With HiP-RSSM as the working directory execute the python script python experiments/mobileRobot/mobile_robot_hiprssm.py model=default

Datasets

The dataset used here is that of a mobile robot traversing terrain of different slopes as reported in the paper.

For Experimenting With New Datasets

For any dataset with a long timeseries, split them to reasonable local trajectories of length L=2*K, which is fed into the hiprssm model. The first K would used by context encoder to infer latent context and the last K would be used as target set. The concept is very similar to context sets and target sets in Neural Processes or the meta testing procedure used in this reference.

A detailed description for creating training datasets is given in Appendix E. A detailed description for testtime inference procedure is given in Algorithm 1 in the appendix. Alt text

How To Run Baselines

With HiP-RSSM as the working directory execute the python script

  • LSTM Baseline: python experiments/mobileRobot/mobile_robot_rnn.py model=default_lstm
  • GRU Baseline: python experiments/mobileRobot/mobile_robot_rnn.py model=default_gru
  • RKN Baseline: python experiments/mobileRobot/mobile_robot_hiprssm.py model=default_rkn

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.