Giter Site home page Giter Site logo

nikisim / rebrac_for_robotics_tasks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinkoff-ai/corl

1.0 0.0 0.0 97.77 MB

Implemenation of CORL for Fetch and Unitree A1 tasks

Home Page: https://arxiv.org/abs/2210.07105

License: Apache License 2.0

Python 60.47% Dockerfile 0.13% Jupyter Notebook 39.39% Shell 0.01%
corl datasets offline-rl reinforcement-learning robotics

rebrac_for_robotics_tasks's Introduction

CORL for Unitree and Fetch tasks (Clean Offline Reinforcement Learning)

๐Ÿงต CORL is an Offline Reinforcement Learning library that provides high-quality and easy-to-follow single-file implementations of SOTA ORL algorithms. Each implementation is backed by a research-friendly codebase, allowing you to run or tune thousands of experiments. Heavily inspired by cleanrl for online RL, check them out too!

  • ๐Ÿ“œ Single-file implementation
  • ๐Ÿ“ˆ Benchmarked Implementation for N algorithms
  • ๐Ÿ–ผ Weights and Biases integration

  • โญnewโญ Preloaded Datasets with > 700.000 iterations in D4RL format
  • โญnewโญ Model Saving
  • โญnewโญ Video Saving for Fetch Tasks

Datasets

Datasets are available from Google Disk

Current datasets:

Environment Dataset Pretrained model GIF
FetchReach โœ… ReBRAC โœ…, IQL โŒ
FetchPush โœ… ReBRAC โœ…, IQL โŒ
FetchPickAndPlace โœ… ReBRAC โœ…, IQL โŒ
FetchSlide โœ… ReBRAC โœ…, IQL โŒ
Unitree A1 ground task (MetaGym) โœ… ReBRAC โœ…, IQL โŒ

All Fetch Tasks datasets collected by DDPG+HER from original repo.

Unitree A1 dataset collected by ETG RL.

Be aware that Fetch envs works with Gymnasium now, not Gym! But Unitree A1 task still use Gym.

Fancy Wandb report about ReBRAC usage with datasets above.

(maybe not so fancy, but it will be soon)

Model evaluation

To evaluate saved model:

python3 test_eval.py --env_name FetchPush --config_path data/saved_models/FetchPush/config.json --model_path data/saved_models/FetchPush/actor_state999.pkl --num_episodes 20

Getting started

Docker (Doesn't work yet, use Anaconda)

git clone https://github.com/tinkoff-ai/CORL.git && cd CORL
pip install -r requirements/requirements_dev.txt

# alternatively, you could use docker
docker build -t <image_name> .
docker run --gpus=all -it --rm --name <container_name> <image_name>

rebrac_for_robotics_tasks's People

Contributors

dt6a avatar nikisim avatar howuhh avatar scitator avatar typoverflow avatar adamjelley avatar cherrypiesexy avatar suessmann avatar nakamotoo avatar levilovearch avatar

Stargazers

Dmitriy Kotov 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.