robfiras/loco-mujoco

Imitation learning benchmark focusing on complex locomotion tasks using MuJoCo.

What it solves

LocoMuJoCo provides a standardized benchmark for imitation learning focused on whole-body control. It addresses the difficulty of training robots (like humanoids and quadrupeds) to perform complex motions by providing a diverse set of environments and high-quality motion capture datasets.

How it works

The project integrates with MuJoCo for single-environment simulation and MJX/MjWarp for high-speed parallel simulation on GPUs. It uses JAX to compile training and environment logic into a single function for maximum performance. The system allows users to retarget motion capture data (from sources like AMASS and LAFAN1) from one robot model to another and includes JAX-based metrics like dynamic time warping to compare trajectories.

Who it’s for

It is designed for researchers and developers working on robot locomotion, imitation learning, and reinforcement learning for complex skeletal or robotic bodies.

Highlights

  • Diverse Robot Models: Includes 12 humanoid and 4 quadruped environments, including biomechanical human models.
  • Massive Datasets: Over 22,000 motion capture samples for humanoids.
  • High Performance: Supports JIT-compiled JAX algorithms (PPO, GAIL, AMP, DeepMimic) and the MjWarp backend for accelerated GPU simulation.
  • Flexible Tooling: Features built-in domain and terrain randomization, robot-to-robot retargeting, and a Gymnasium-compatible interface.

Related

  • Project
  • Project
  • Project
  • Project
  • Project