PPO Walker2d-v5 - Reinforcement Learning Agent for MuJoCo Environment
2 min read
This model is a ready-to-use PPO (reinforcement learning algorithm that optimizes the agent policy) agent for the MuJoCo Walker2d-v5 environment, capable of stably controlling a bipedal runner robot. The architecture uses fully connected networks (MLP policy and value networks) sized 256x256 to achieve high control precision. The experiment and training were conducted entirely by an autonomous Claude Code agent under human supervision. The model will be useful for reinforcement learning researchers and simulation developers.
Key features
- High reward: The average score across simulations is 4,905.96 points.
- Stability: 100 out of 100 test episodes successfully complete all 1,000 steps without falling.
- 256x256 architecture: The scaled-up network completely avoids early-stage failures and falls, unlike the baseline 64x64 variant.
- Efficiency: The model was successfully trained on a standard CPU within 1 million environment steps.
What you can do
- Run the model in the Walker2d-v5 environment simulation with robot step visualization.
- Use the weights and observation normalization statistics (VecNormalize) to evaluate agent stability.
- Analyze the training recipe and reproduce the experiment using the stable-baselines3 package.
Example
import pickle, gymnasium as gym, numpy as np
from stable_baselines3 import PPO
model = PPO.load("ppo_walker2d_seed0.zip", device="cpu")
rms = pickle.load(open("vecnormalize_seed0.pkl", "rb")).obs_rms
env = gym.make("Walker2d-v5", render_mode="human")
obs, _ = env.reset(seed=10000)
done = False
while not done:
norm = np.clip((obs - rms.mean) / np.sqrt(rms.var + 1e-8), -10, 10)
action, _ = model.predict(norm, deterministic=True)
obs, reward, term, trunc, _ = env.step(action)
done = term or trunc
Read more
DetailsAlgorithm: PPO (stable-baselines3 2.9.0)
Training: 1,000,000 environment steps on a single CPU
Metrics: Average reward 4,905.96, deviation 16.86
Requirements: Mandatory use of vecnormalize_seed0.pkl normalization files










Comments