GithubHelp home page GithubHelp logo

kwk2696 / sb3-jax-haiku Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 4.0 304 KB

stable-baselines with JAX & Haiku

License: GNU General Public License v3.0

Python 100.00%
dm-haiku haiku imitation-learning jax reinforcement-learning decision-transformers soft-actor-critic proximal-policy-optimization behavior-cloning dataset-aggregation

sb3-jax-haiku's Introduction

Stable Baslines with JAX & Haiku

Implementation of Stable Baselines based on JAX & Haiku.

This library is based on Stable Baselines 3 (https://github.com/DLR-RM/stable-baselines3).

Implemented Algorithms

Name Online_learning Box Discrete MultiDiscrete MultiBinary
BC ✔️ ✔️
OnlineBC ✔️ ✔️ ✔️
DT ✔️
DU ✔️ ✔️
SAC ✔️ ✔️ ✔️
PPO ✔️ ✔️ ✔️

Install

git clone https://github.com/kwk2696/sb3-jax-haiku.git
pip install -e .

Benchmark

We use Intel i9-10940X, RTX 3090 to benchmark Decision Transformer (DT) on MuJoCo Ant environment.

Name sb3-torch sb3-jax-haiku
SAC 163 step / sec 236 step / sec
DT 0.03 step / sec 3 step / sec

Example

Example codes are available in tests directory.

Currently Working On ...

TD3, Generative modeling for RL (e.g. diffuser)

sb3-jax-haiku's People

Contributors

kwk2696 avatar

Stargazers

 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.