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
Download README.md from tdoublee2002/ppo-Humanoid-v5: direct link, hf CLI and curl.
- Browser
- Download file 2.82 kB
-
https://huggingface.co/tdoublee2002/ppo-Humanoid-v5/resolve/main/README.md
- Command line
-
hf download hf://tdoublee2002/ppo-Humanoid-v5/README.md
-
curl -L -o README.md https://huggingface.co/tdoublee2002/ppo-Humanoid-v5/resolve/main/README.md
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, a lightweight reinforcement learning experimentation toolkit built with Stable-Baselines3, Gymnasium, and MuJoCo.
Demonstration
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.
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:
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:
uv run rl-lab evaluate --pretrained pretrained/ppo/Humanoid-v5
Visualize the policy:
uv run rl-lab visualize --pretrained pretrained/ppo/Humanoid-v5
Record a simulation video:
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
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.