testworm / README.md
rebolforces's picture
Update README.md
49a4386
---
tags:
- unity-ml-agents
- ml-agents
- deep-reinforcement-learning
- reinforcement-learning
- ML-Agents-Worm
library_name: ml-agents
---
# **ppo** Agent playing **Worm**
This is a trained model of a **ppo** agent playing **Worm** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
## Usage (with ML-Agents)
The Documentation: https://github.com/huggingface/ml-agents#get-started
We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
### Resume the training
```
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. Go to https://huggingface.co/spaces/unity/ML-Agents-Worm
2. Step 1: Write your model_id: rebolforces/testworm
3. Step 2: Select your *.nn /*.onnx file
4. Click on Watch the agent play ๐Ÿ‘€
### Stats
```
"final_checkpoint": {
"steps": 9010000,
"file_path": "results/Worm Training/Worm.onnx",
"reward": 1249.322021484375,
"creation_time": 1661040767.5248241,
"auxillary_file_paths": [
"results/Worm Training/Worm/Worm-9010000.pt"
]
}
```