Discover and explore top open-source AI tools and projects—updated daily.
RL algorithm collection implemented in PyTorch
Top 17.2% on SourcePulse
RLkit is a PyTorch-based reinforcement learning framework offering a collection of state-of-the-art algorithms for researchers and practitioners. It aims to provide a modular and readable codebase for implementing and experimenting with advanced RL techniques, including goal-conditioned learning and meta-learning.
How It Works
RLkit is built on PyTorch, emphasizing modularity and code readability. Key architectural changes in version 0.2 include switching to native torch.nn.Module
, removing custom serialization classes for standard pickle
, and refactoring training and sampling logic into separate objects. This batch-style training approach enhances parallelization capabilities. The framework supports various algorithms like Soft Actor-Critic (SAC), Twin Delayed Deep Deterministic Policy Gradient (TD3), Hindsight Experience Replay (HER), and Skew-Fit.
Quick Start & Requirements
conda env create -f environment/[linux-cpu|linux-gpu|mac]-env.yml
followed by source activate rlkit
.python examples/ddpg.py
.multiworld
for specific Sawyer environment experiments.ptu.set_gpu_mode(True)
or use_gpu=True
with doodad.Highlighted Details
doodad
integration for launching experiments on AWS/GCP.viskit
for policy evaluation.Maintenance & Community
rllab
and Dockerfile based on OpenAI's mujoco-py
.Licensing & Compatibility
Limitations & Caveats
doodad
requires external setup knowledge.1 year ago
Inactive