--- library_name: stable-baselines3 pipeline_tag: reinforcement-learning tags: - reinforcement-learning - stable-baselines3 - gymnasium - mujoco - continuous-control - humanoid - ppo --- # PPO — Humanoid-v5 A pretrained PPO policy for humanoid locomotion in the MuJoCo physics simulation environment. This model is part of [rl-lab](https://github.com/tdoublee2002/rl-lab), a lightweight reinforcement learning experimentation toolkit built with Stable-Baselines3, Gymnasium, and MuJoCo. ## Demonstration [Watch simulation replay](./replay.mp4) The replay shows a selected episode of the trained policy performing humanoid locomotion. ## Evaluation Results | Metric | Value | |---|---:| | Mean episode reward | 4306.69 | | Standard deviation | 1359.72 | | Mean episode length | 846.87 | | Evaluation episodes | 30 | | Evaluation seed | 20042 | | Deterministic inference | True | | Inference device | cpu | Full per-episode results are available in [evaluation.json](./evaluation.json). ## Model Details | Property | Value | |---|---| | Algorithm | PPO | | Environment | Humanoid-v5 | | Framework | Stable-Baselines3 | | Policy type | MLP | | Actor hidden layers | [256, 256] | | Activation function | ReLU | | Observation dimensions | 348 | | Action dimensions | 17 | | Observation normalization | Enabled (VecNormalize) | | Original SB3 version | 2.7.1 | ## Usage Clone the experimentation toolkit: ```bash git clone https://github.com/tdoublee2002/rl-lab.git cd rl-lab uv sync ``` Download the model files from this repository and place them in `pretrained/ppo/Humanoid-v5/`. Evaluate the policy: ```bash uv run rl-lab evaluate --pretrained pretrained/ppo/Humanoid-v5 ``` Visualize the policy: ```bash uv run rl-lab visualize --pretrained pretrained/ppo/Humanoid-v5 ``` Record a simulation video: ```bash uv run rl-lab visualize --pretrained pretrained/ppo/Humanoid-v5 --record ``` ## Training and Evaluation Notes This policy was recovered from a previously trained checkpoint. Training involved multiple sessions, and the exact cumulative training budget is unavailable. Reported metrics are based on a fresh evaluation of the recovered policy, rather than historical training results. ## Limitations - Designed for the Humanoid-v5 simulation environment. - Not validated on physical humanoid robots. - Performance may vary across simulation versions and initial states. - Results do not establish comparative sample efficiency. - Load serialized model files only from trusted sources. ## Source Code [GitHub — rl-lab](https://github.com/tdoublee2002/rl-lab) ## Observation Normalization This policy requires the accompanying `vecnormalize.pkl` file. Observation normalization must use the saved statistics, with statistics updates and reward normalization disabled during evaluation.