PyTorch implementation of Hindsight Experience Replay (HER)
Top 69.8% on sourcepulse
This repository provides a PyTorch implementation of Hindsight Experience Replay (HER), a technique designed to improve sample efficiency in reinforcement learning, particularly for sparse reward tasks. It targets researchers and practitioners working with robotic manipulation environments, offering a way to accelerate learning by relabeling past experiences.
How It Works
HER enhances standard off-policy RL algorithms by allowing agents to learn from failed attempts. When an episode finishes without achieving the intended goal, HER replays the trajectory, but with a different, achieved state designated as the new "desired goal." This strategy effectively turns failures into learning opportunities, enabling the agent to learn from states it actually visited, even if the original goal was not met.
Quick Start & Requirements
pip
(specific commands not provided, but dependencies are listed).openai-gym
0.12.5, mujoco-py
1.50.1.56, pytorch
1.0.0, mpi4py
.--cuda
flag but not recommended without a powerful machine.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
mujoco-py
and pytorch
are recommended to avoid potential bugs and data type errors, suggesting potential compatibility issues with newer versions.3 years ago
Inactive