PyTorch implementations of deep reinforcement learning algorithms
Top 50.8% on sourcepulse
This repository provides PyTorch implementations of classic deep reinforcement learning algorithms, targeting researchers and practitioners seeking clear, educational code. It offers implementations of DQN, DDPG, SAC, A2C, PPO, and TRPO, aiming to simplify learning and experimentation in the field.
How It Works
The project implements core RL algorithms using PyTorch, structuring the code into distinct modules for agents, models, utilities, and training scripts. This modular design promotes clarity and maintainability, allowing users to easily understand and modify specific components of each algorithm. The use of PyTorch facilitates GPU acceleration and flexible neural network definition.
Quick Start & Requirements
rl_utils
module: pip install -e .
gym[atari]
, gym[box2d]
.cd rl_algorithms/<target_algo_folder>/ && python train.py --<arguments>
cd rl_algorithms/<target_algo_folder>/ && python demo.py --<arguments>
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The repository's last update was in late 2019, indicating potential staleness regarding newer RL advancements or PyTorch API changes. The absence of explicit licensing information and community channels may hinder adoption and support.
4 years ago
1 week