Skip to content

RL-Zoo3 v1.6.2: The RL Zoo is now a package!

Compare
Choose a tag to compare
@araffin araffin released this 03 Oct 16:13
· 64 commits to master since this release
b372e9a

Highlights

You can now install the RL Zoo via pip: pip install rl-zoo3 and it has a basic command line interface (rl_zoo3 train|enjoy|plot_train|all_plots) that has the same interface as the scripts (train.py|enjoy.py|...).

You can use the RL Zoo from outside, for instance with the experimental Stable Baselines3 Jax version (SBX).

File: train.py (you can use python train.py --algo sbx_tqc --env Pendulum-v1 afterward)

import rl_zoo3
import rl_zoo3.train
from rl_zoo3.train import train

from sbx import TQC

# Add new algorithm
rl_zoo3.ALGOS["sbx_tqc"] = TQC
rl_zoo3.train.ALGOS = rl_zoo3.ALGOS
rl_zoo3.exp_manager.ALGOS = rl_zoo3.ALGOS

if __name__ == "__main__":
    train()

Breaking Changes

  • RL Zoo is now a python package
  • low pass filter was removed

New Features

  • RL Zoo cli: rl_zoo3 train and rl_zoo3 enjoy