ppo-SnowballTarget / README.md
rabitrabi's picture
Publish trained SnowballTarget policy and 32-episode evaluation
04929e0 verified
|
Raw History Blame Contribute Delete
1.49 kB
metadata
library_name: ml-agents
tags:
  - reinforcement-learning
  - deep-reinforcement-learning
  - deep-rl-course
  - ml-agents
  - SnowballTarget
  - ML-Agents-SnowballTarget
  - onnx
model-index:
  - name: PPO SnowballTarget
    results:
      - task:
          type: reinforcement-learning
          name: Reinforcement Learning
        dataset:
          type: SnowballTarget
          name: SnowballTarget
        metrics:
          - type: mean_reward
            name: Mean reward
            value: 12.093750 +/- 2.376439

PPO on SnowballTarget

This Unity ML-Agents 1.1.0 policy was trained from scratch on CPU for the Hugging Face Deep Reinforcement Learning Course with a 65,536-step budget and training seed 42.

Evaluation

The exported ONNX policy sampled actions in a fresh Unity session with seed 2026. Across the first 32 completed episodes, the mean return was 12.094 and the population standard deviation was 2.376. Each return sums the individual environment rewards for one complete episode. Individual returns are in evaluation.json.

Reproduce

Use Python 3.10.12, Unity ML-Agents 1.1.0, CPU PyTorch 2.2.2, ONNX 1.15.0 and ONNX Runtime 1.18.1. Download the Linux simulator linked in course unit 5.

mlagents-learn SnowballTarget.yaml --env=/path/to/SnowballTarget --run-id=SnowballTarget --no-graphics --seed=42 --time-scale=64 --torch-device=cpu
python evaluate.py SnowballTarget /path/to/SnowballTarget 6360 --seed=2026 --episodes=32