Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: reinforcement-learning
|
| 4 |
+
library_name: ml-agents
|
| 5 |
+
tags:
|
| 6 |
+
- BVS.1
|
| 7 |
+
- BVS
|
| 8 |
+
- deep-reinforcement-learning
|
| 9 |
+
- ML-Agents
|
| 10 |
+
---
|
| 11 |
+
# ppo Agent playing BVS V1
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
This is a trained model of a ppo agent playing [BroVSister](https://huggingface.co/spaces/RafaelJaime/BroVSister) using the [Godot rl agents](https://github.com/edbeeching/godot_rl_agents) using the example of stable_baselines3.
|
| 15 |
+
|
| 16 |
+
## Resume the training
|
| 17 |
+
|
| 18 |
+
```bash
|
| 19 |
+
python stable_baselines3_example.py --timesteps=100_000 --onnx_export_path=model.onnx
|
| 20 |
+
--save_model_path=model.zip --save_checkpoint_frequency=20_000 --experiment_name=exp1
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
### Watch your Agent play
|
| 24 |
+
|
| 25 |
+
You can watch your agent **playing directly in your browser**
|
| 26 |
+
|
| 27 |
+
1. Go to [BVS Huggingface space](https://huggingface.co/spaces/RafaelJaime/BroVSister) and go to character select menu
|
| 28 |
+
2. Step 1: Find your model_id: RafaelJaime/*yourBVSmodelname*
|
| 29 |
+
3. Step 2: Select your *.nn /*.onnx file
|
| 30 |
+
4. Click on Watch the agent play 👀
|