Reinforcement Learning
ml-agents
TensorBoard
ONNX
SnowballTarget
deep-reinforcement-learning
ML-Agents-SnowballTarget
Eval Results (legacy)
Instructions to use foleymon/ppo-SnowballTarget with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use foleymon/ppo-SnowballTarget with ml-agents:
mlagents-load-from-hf --repo-id="foleymon/ppo-SnowballTarget" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from foleymon/ppo-SnowballTarget: direct link, hf CLI and curl.
- Browser
- Download file 1.82 kB
-
https://huggingface.co/foleymon/ppo-SnowballTarget/resolve/main/README.md
- Command line
-
hf download hf://foleymon/ppo-SnowballTarget/README.md
-
curl -L -o README.md https://huggingface.co/foleymon/ppo-SnowballTarget/resolve/main/README.md
1.82 kB
| library_name: ml-agents | |
| tags: | |
| - SnowballTarget | |
| - deep-reinforcement-learning | |
| - reinforcement-learning | |
| - ML-Agents-SnowballTarget | |
| model-index: | |
| - name: ppo-SnowballTarget | |
| results: | |
| - task: | |
| type: reinforcement-learning | |
| name: Reinforcement Learning | |
| dataset: | |
| type: ML-Agents-SnowballTarget | |
| name: ML-Agents-SnowballTarget | |
| metrics: | |
| - type: mean_reward | |
| value: 25.27 +/- 2.40 | |
| name: mean_reward | |
| verified: false | |
| # **ppo** Agent playing **SnowballTarget** | |
| This is a trained model of a **ppo** agent playing **SnowballTarget** | |
| using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents). | |
| Trained for the Hugging Face Deep Reinforcement Learning Course, Unit 5. | |
| Training: PPO, 200,000 steps on a Tesla T4 GPU. Final mean reward 25.27 +/- 2.40 (result 22.87). | |
| ## Usage (with ML-Agents) | |
| The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/ | |
| We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub: | |
| - A *short tutorial* where you teach Huggy the Dog to fetch the stick and then play with him directly in your browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction | |
| - A *longer tutorial* to understand how works ML-Agents: https://huggingface.co/learn/deep-rl-course/unit5/introduction | |
| ### Resume the training | |
| ```bash | |
| mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume | |
| ``` | |
| ### Watch your Agent play | |
| You can watch your agent **playing directly in your browser** | |
| 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity | |
| 2. Step 1: Find your model_id: foleymon/ppo-SnowballTarget | |
| 3. Step 2: Select your *.nn /*.onnx file | |
| 4. Click on Watch the agent play | |