File size: 1,324 Bytes
78f098a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49a4386
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

---
      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"
       ]
   }
```