Views
No views yet
| Metric | Value |
|---|---|
| Algorithm | SAC (Soft Actor-Critic) |
| Training steps | 1.74M |
| Training time | ~40 min (MacBook M-series, CPU) |
| Parallel envs | 8 |
| Network | MLP [256, 256] |
| Best reward | 4,912 |
| Mean distance | 21 meters per episode |
| Forward velocity | ~1 m/s |
| Episode length | 1,000/1,000 (full episodes) |
1from stable_baselines3 import SAC
2
3model = SAC.load("best/best_model")
4
5# In a MuJoCo Go2 environment:
6obs, _ = env.reset()
7for _ in range(1000):
8 action, _ = model.predict(obs, deterministic=True)
9 obs, reward, done, truncated, info = env.step(action)reward = forward_vel × 5.0 # primary: move forward
+ alive_bonus × 1.0 # stay upright
+ upright_reward × 0.3 # orientation bonus
- ctrl_cost × 0.001 # minimize energy
- lateral_penalty × 0.3 # don't drift sideways
- smoothness × 0.0001 # discourage jerky motionbest/best_model.zip — Best checkpoint (highest eval reward)checkpoints/ — All 100K-step checkpointslogs/evaluations.npz — Evaluation metrics over traininggo2_walking.mp4 — Demo video