Skip to content
项目

关于

用于强化学习研究的框架。

学习与教育

这些数字如何统计

可以做什么

  • One algorithm = One directory -> No backtracking through parent classes
  • Algorithms can be easily copied out of RL-X
  • ⚒️ Known DL libraries: Implementations in PyTorch and JAX
  • ⚡ Maximum speed: Just-In-Time (JIT) compilation and parallel environments

实测星标增长

24小时
0
7天
+1
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
RL-X

A framework for Reinforcement Learning research.

│ Overview │ Getting Started │ Documentation │ Citation │

Overview

Highlights

  • 💡 Perfect to understand and prototype algorithms:
    • One algorithm = One directory -> No backtracking through parent classes
    • Algorithms can be easily copied out of RL-X
  • ⚒️ Known DL libraries: Implementations in PyTorch and JAX
  • ⚡ Maximum speed: Just-In-Time (JIT) compilation and parallel environments
  • 🧪 Mix and match and extend: Generic interfaces between algorithms and environments
  • ⛰️​ Custom environments: Examples for MuJoCo, Isaac Lab, ManiSkill or custom socket communication
  • 🚀​ GPU environments: MJX, Warp, Isaac Lab and ManiSkill can run thousands of parallel environments
  • 🤖​ Robot learning: Training and deployment for locomotion and motion tracking with the G1 and Go2
  • ⚽ RoboCup: Training for the RoboCup soccer competition in MuJoCo and MJX
  • 🕰️ Memory architectures: PPO with GRU, LSTM, Transformer, History Window, Mamba-2, Memory Actions
  • 📈 Experiments: Checkpoints, Evaluation, Console log, Tensorboard, Weights & Biases, SLURM, Docker

Implemented Algorithms

Usable Environments

All listed environments are directly embedded in RL-X and can be used out-of-the-box.

For further information on the environments (README) and algorithms (README) and how to add your own, read the respective README files.

Getting Started

Install

Default installation for a Linux system with a NVIDIA GPU:

conda create -n rlx python=3.11.4
conda activate rlx
git clone [email protected]:nico-bohlinger/RL-X.git
cd RL-X
pip install -e .[all] --config-settings editable_mode=compat
pip uninstall $(pip freeze | grep -E '\-cu12|\-cu13' | cut -d '=' -f 1) -y
pip install "torch>=2.7.0" --index-url https://download.pytorch.org/whl/cu118 --upgrade
pip install "jax[cuda12]"

For other configurations, see the detailed installation guide in the documentation. As Isaac Lab needs to be installed separately, instructions can also be found there. Similarly, ManiSkill might need additional steps, like downgrading numpy.

Example

cd experiments
python experiment.py

Detailed instructions for running experiments can be found in the README file in the experiments directory or in the documentation.

Example for Google Colab: Open In Colab

Citation

If you use RL-X in your research, please cite the following paper:

@incollection{bohlinger2023rlx,
      title={RL-X: A Deep Reinforcement Learning Library (not only) for RoboCup},
      author={Nico Bohlinger and Klaus Dorer},
      booktitle={Robot World Cup},
      pages={228--239},
      year={2023},
      publisher={Springer}
}

探索相关项目

加载中…