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
release: publish pretrained PPO humanoid policy
Browse filesFiles changed (7)
- .gitattributes+1
- README.mdAdded+117
- evaluation.jsonAdded+77
- model.zipAdded+3
- policy.yamlAdded+12
- replay.mp4Added+3
- vecnormalize.pklAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textreplay.mp4 filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117---library_name: stable-baselines3pipeline_tag: reinforcement-learningtags:- reinforcement-learning- stable-baselines3- gymnasium- mujoco- continuous-control- humanoid- ppo---
# PPO — Humanoid-v5
A pretrained PPO policy for humanoid locomotionin the MuJoCo physics simulation environment.
This model is part of [rl-lab](https://github.com/tdoublee2002/rl-lab),a lightweight reinforcement learning experimentation toolkitbuilt with Stable-Baselines3, Gymnasium, and MuJoCo.
## Demonstration
[Watch simulation replay](./replay.mp4)
The replay shows a selected episode of the trained policyperforming 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:
```bashgit clone https://github.com/tdoublee2002/rl-lab.gitcd rl-labuv sync```
Download the model files from this repository and placethem in `pretrained/ppo/Humanoid-v5/`.
Evaluate the policy:
```bashuv run rl-lab evaluate --pretrained pretrained/ppo/Humanoid-v5```
Visualize the policy:
```bashuv run rl-lab visualize --pretrained pretrained/ppo/Humanoid-v5```
Record a simulation video:
```bashuv 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 cumulativetraining budget is unavailable.
Reported metrics are based on a fresh evaluation of therecovered 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 savedstatistics, with statistics updates and reward normalizationdisabled during evaluation.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ "algorithm": "ppo", "environment": "Humanoid-v5", "model": "model.zip", "n_episodes": 30, "seed": 20042, "device": "cpu", "deterministic": true, "normalization": "vecnormalize.pkl", "mean_reward": 4306.6860867000005, "std_reward": 1359.7188299401098, "mean_episode_length": 846.8666666666667, "episode_rewards": [ 1828.547725, 4606.732766, 4843.64874, 5100.838322, 5072.867406, 4726.643648, 5081.299264, 5102.484621, 5104.183394, 5076.769513, 871.552648, 2893.098905, 5077.491321, 3800.747172, 5091.308565, 5085.158838, 5118.965218, 5083.732941, 5114.494607, 5096.078062, 5065.281108, 5118.230242, 1283.51462, 3904.265237, 5101.453815, 5096.370577, 5088.580689, 2735.831123, 5073.609337, 956.802177 ], "episode_lengths": [ 365, 893, 959, 1000, 1000, 935, 1000, 1000, 1000, 1000, 179, 551, 1000, 753, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 240, 784, 1000, 1000, 1000, 546, 1000, 201 ]}123version https://git-lfs.github.com/spec/v1oid sha256:5471f7a826fc380305091979ad37077d81253433356f6ae3264ef90d4ee4a278size 3835321123456789101112algorithm: ppo
environment: id: Humanoid-v5 kwargs: {}
normalization: vecnormalize.pkl
rendering: width: 1280 height: 720 camera_name: track123version https://git-lfs.github.com/spec/v1oid sha256:ce5a2e73542a307fdc164ecbeb50384bbd72346c6edabd03734c3047256d610asize 3703310123version https://git-lfs.github.com/spec/v1oid sha256:63432488039fcaad241416f7ae9dddcb70a509004df5e04a3677c8ca9500b607size 16722.gitattributes+1
README.mdAdded+117
evaluation.jsonAdded+77
model.zipAdded+3
policy.yamlAdded+12
replay.mp4Added+3
vecnormalize.pklAdded+3