File size: 1,492 Bytes
04929e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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](https://huggingface.co/learn/deep-rl-course/en/unit5/hands-on).

```bash
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
```