Instructions to use tdoublee2002/ppo-Humanoid-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use tdoublee2002/ppo-Humanoid-v5 with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="tdoublee2002/ppo-Humanoid-v5", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
File size: 2,822 Bytes
3b773c5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | ---
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.
|