DLR-RM/stable-baselines3

PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.

What it solves

Stable Baselines3 provides a reliable, easy-to-use set of reinforcement learning algorithm implementations in PyTorch, helping researchers and developers replicate, build upon, and compare approaches without getting bogged down in low-level implementation details.

How it works

It follows a simple, sklearn-like interface where you create an environment and a model (such as PPO), train it using a .learn() method, and run predictions or evaluations with a few lines of code. It supports custom environments and policies, various observation spaces like dictionaries, multiprocessing, and integrates with experiment tracking tools like Weights & Biases.

Who it’s for

It is built for beginners, researchers, and industry practitioners with some foundational knowledge of reinforcement learning who want a dependable toolset to experiment with algorithms or use as a baseline for new projects.

Highlights

  • Implements popular reinforcement learning algorithms like PPO, A2C, DQN, and DDPG using PyTorch
  • Features a familiar, sklearn-style API for training and running models
  • Includes support for custom environments, custom policies, and Dict observation spaces
  • Offers native integration with TensorBoard, Weights & Biases, and Hugging Face
  • Provides companion tools like RL Baselines3 Zoo for training and hyperparameter tuning, and SB3-Contrib for experimental features

관련

  • 프로젝트
  • 프로젝트
  • 프로젝트
  • 프로젝트
  • 프로젝트