Proximal Policy Optimization Algorithms
Paper • 1707.06347 • Published • 12
How to use elliemci/ppo-Snowball-Target with ml-agents:
mlagents-load-from-hf --repo-id="elliemci/ppo-Snowball-Target" --local-dir="./downloads"
Course illustration, not my agent (image from the Hugging Face Deep RL Course).
A PPO agent trained with the Unity ML-Agents toolkit on SnowballTarget, where the agent throws snowballs at targets, as a Unit 5 project of the Hugging Face Deep RL Course.
| Steps trained | 4,059,440 (the run stopped at 4.06M of max_steps 5M) |
| Mean reward at the final checkpoint | not recorded (reward: null) |
| Last recorded mean reward, at 3,999,976 steps | 28.82 |
Source: run_logs/training_status.json; max_steps from configuration.yaml. The reward is a training-time mean from the
stochastic policy, not a separate evaluation, and it belongs to an earlier checkpoint than the final model.
The run was resumed several times (7 TensorBoard event files in SnowballTarget/).
ppo, behaviour SnowballTarget, run id SnowballTarget1, 1 environment. ML-Agents 1.2.0.dev0, PyTorch 2.2.2 (run_logs/training_status.json metadata).configuration.yaml in this repo. Notebook and notes:
GitHub.The Hugging Face browser demo for this environment currently hangs on model search, so no replay is available.
mlagents-load-from-hf --repo-id="elliemci/ppo-Snowball-Target" --local-dir="./downloads"
mlagents-learn <your_configuration_file_path.yaml> --run-id=SnowballTarget1 --resume
mlagents-load-from-hf --repo-id="elliemci/ppo-Snowball-Target" --local-dir="./downloads"