Update README.md
Browse files
README.md
CHANGED
@@ -7,30 +7,39 @@ tags:
|
|
7 |
- ML-Agents-Huggy
|
8 |
---
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
https://
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
- ML-Agents-Huggy
|
8 |
---
|
9 |
|
10 |
+
# **ppo** Agent playing **Huggy**
|
11 |
+
This is a trained model of a **ppo** agent playing **Huggy**
|
12 |
+
using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
|
13 |
+
For Full Code for this agent, visit: https://www.kaggle.com/code/syedjarullahhisham/drl-huggingface-unit-1-bonus-huggydog
|
14 |
+
|
15 |
+
## Codes
|
16 |
+
|
17 |
+
Github repos(Give a star if found useful):
|
18 |
+
* https://github.com/hishamcse/DRL-Renegades-Game-Bots
|
19 |
+
* https://github.com/hishamcse/Advanced-DRL-Renegades-Game-Bots
|
20 |
+
|
21 |
+
Kaggle Notebook:
|
22 |
+
* https://www.kaggle.com/code/syedjarullahhisham/drl-huggingface-unit-1-bonus-huggydog
|
23 |
+
|
24 |
+
|
25 |
+
## Usage (with ML-Agents)
|
26 |
+
The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
|
27 |
+
|
28 |
+
We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
|
29 |
+
- A *short tutorial* where you teach Huggy the Dog ๐ถ to fetch the stick and then play with him directly in your
|
30 |
+
browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
|
31 |
+
- A *longer tutorial* to understand how works ML-Agents:
|
32 |
+
https://huggingface.co/learn/deep-rl-course/unit5/introduction
|
33 |
+
|
34 |
+
### Resume the training
|
35 |
+
```bash
|
36 |
+
mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
|
37 |
+
```
|
38 |
+
|
39 |
+
### Watch your Agent play
|
40 |
+
You can watch your agent **playing directly in your browser**
|
41 |
+
|
42 |
+
1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
|
43 |
+
2. Step 1: Find your model_id: hishamcse/ppo-Huggy
|
44 |
+
3. Step 2: Select your *.nn /*.onnx file
|
45 |
+
4. Click on Watch the agent play ๐
|