First Push
Browse files- README.md +35 -0
- SoccerTwos.onnx +3 -0
- SoccerTwos/SoccerTwos-48499956.onnx +3 -0
- SoccerTwos/SoccerTwos-48499956.pt +3 -0
- SoccerTwos/SoccerTwos-48999924.onnx +3 -0
- SoccerTwos/SoccerTwos-48999924.pt +3 -0
- SoccerTwos/SoccerTwos-49499992.onnx +3 -0
- SoccerTwos/SoccerTwos-49499992.pt +3 -0
- SoccerTwos/SoccerTwos-49999898.onnx +3 -0
- SoccerTwos/SoccerTwos-49999898.pt +3 -0
- SoccerTwos/SoccerTwos-50000150.onnx +3 -0
- SoccerTwos/SoccerTwos-50000150.pt +3 -0
- SoccerTwos/checkpoint.pt +3 -0
- SoccerTwos/events.out.tfevents.1694448991.fds-X10SRA.31962.0 +3 -0
- config.json +1 -0
- configuration.yaml +82 -0
- run_logs/Player-0.log +0 -0
- run_logs/timers.json +424 -0
- run_logs/training_status.json +66 -0
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: ml-agents
|
3 |
+
tags:
|
4 |
+
- SoccerTwos
|
5 |
+
- deep-reinforcement-learning
|
6 |
+
- reinforcement-learning
|
7 |
+
- ML-Agents-SoccerTwos
|
8 |
+
---
|
9 |
+
|
10 |
+
# **poca** Agent playing **SoccerTwos**
|
11 |
+
This is a trained model of a **poca** agent playing **SoccerTwos**
|
12 |
+
using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
|
13 |
+
|
14 |
+
## Usage (with ML-Agents)
|
15 |
+
The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
|
16 |
+
|
17 |
+
We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
|
18 |
+
- A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
|
19 |
+
browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
|
20 |
+
- A *longer tutorial* to understand how works ML-Agents:
|
21 |
+
https://huggingface.co/learn/deep-rl-course/unit5/introduction
|
22 |
+
|
23 |
+
### Resume the training
|
24 |
+
```bash
|
25 |
+
mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
|
26 |
+
```
|
27 |
+
|
28 |
+
### Watch your Agent play
|
29 |
+
You can watch your agent **playing directly in your browser**
|
30 |
+
|
31 |
+
1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
|
32 |
+
2. Step 1: Find your model_id: BanUrsus/poca-SoccerTwos
|
33 |
+
3. Step 2: Select your *.nn /*.onnx file
|
34 |
+
4. Click on Watch the agent play 👀
|
35 |
+
|
SoccerTwos.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ac558e8aae24f853dd73ee62d0da0675c4d6398bd9fccbbd934f9d9644cc875
|
3 |
+
size 1764633
|
SoccerTwos/SoccerTwos-48499956.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:459345ba0be2df82afb62ca18f32fc3540476c18ec1d63fcc1a61999ecfc1134
|
3 |
+
size 1764633
|
SoccerTwos/SoccerTwos-48499956.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b43b43f1963a6d98fc7b9590159096e3a6c02258f1fc99b10dce20783745270
|
3 |
+
size 28422481
|
SoccerTwos/SoccerTwos-48999924.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:035b8f7d519ca47caceef5e201f9791725c959452ce5b7b578623f9323ba43a8
|
3 |
+
size 1764633
|
SoccerTwos/SoccerTwos-48999924.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:addf0c493a84de902315555fe29f41dfe563a264a8cd50b166cdc33a9326029e
|
3 |
+
size 28422481
|
SoccerTwos/SoccerTwos-49499992.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bb0e992f8259e4dcd5cd0b26ced05ed373ed72754a89d23357e4d0b330c4c21
|
3 |
+
size 1764633
|
SoccerTwos/SoccerTwos-49499992.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de3931d755faa1d613031b033b5361e5949f7dda68988335a02c469753c702d4
|
3 |
+
size 28422481
|
SoccerTwos/SoccerTwos-49999898.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ac558e8aae24f853dd73ee62d0da0675c4d6398bd9fccbbd934f9d9644cc875
|
3 |
+
size 1764633
|
SoccerTwos/SoccerTwos-49999898.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49120305b9b11e680db5bbf762f51d3a62b7f1763adea5c6400671ba3759e6bb
|
3 |
+
size 28422481
|
SoccerTwos/SoccerTwos-50000150.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ac558e8aae24f853dd73ee62d0da0675c4d6398bd9fccbbd934f9d9644cc875
|
3 |
+
size 1764633
|
SoccerTwos/SoccerTwos-50000150.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a85d80fc00d018f6d83a7ffbe9bf69ff588cc00829813a9c35d6beae48b78eca
|
3 |
+
size 28422481
|
SoccerTwos/checkpoint.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a85d80fc00d018f6d83a7ffbe9bf69ff588cc00829813a9c35d6beae48b78eca
|
3 |
+
size 28422481
|
SoccerTwos/events.out.tfevents.1694448991.fds-X10SRA.31962.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ea42f5a9c0f7f93b66e3a46ca215c598e3e18ae6bb9276e4cc54916b19daa15
|
3 |
+
size 15587216
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 50000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos/SoccerTwos", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
|
configuration.yaml
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
default_settings: null
|
2 |
+
behaviors:
|
3 |
+
SoccerTwos:
|
4 |
+
trainer_type: poca
|
5 |
+
hyperparameters:
|
6 |
+
batch_size: 2048
|
7 |
+
buffer_size: 20480
|
8 |
+
learning_rate: 0.0003
|
9 |
+
beta: 0.005
|
10 |
+
epsilon: 0.2
|
11 |
+
lambd: 0.95
|
12 |
+
num_epoch: 3
|
13 |
+
learning_rate_schedule: constant
|
14 |
+
beta_schedule: constant
|
15 |
+
epsilon_schedule: constant
|
16 |
+
checkpoint_interval: 500000
|
17 |
+
network_settings:
|
18 |
+
normalize: false
|
19 |
+
hidden_units: 512
|
20 |
+
num_layers: 2
|
21 |
+
vis_encode_type: simple
|
22 |
+
memory: null
|
23 |
+
goal_conditioning_type: hyper
|
24 |
+
deterministic: false
|
25 |
+
reward_signals:
|
26 |
+
extrinsic:
|
27 |
+
gamma: 0.99
|
28 |
+
strength: 1.0
|
29 |
+
network_settings:
|
30 |
+
normalize: false
|
31 |
+
hidden_units: 128
|
32 |
+
num_layers: 2
|
33 |
+
vis_encode_type: simple
|
34 |
+
memory: null
|
35 |
+
goal_conditioning_type: hyper
|
36 |
+
deterministic: false
|
37 |
+
init_path: null
|
38 |
+
keep_checkpoints: 5
|
39 |
+
even_checkpoints: false
|
40 |
+
max_steps: 50000000
|
41 |
+
time_horizon: 1000
|
42 |
+
summary_freq: 10000
|
43 |
+
threaded: false
|
44 |
+
self_play:
|
45 |
+
save_steps: 50000
|
46 |
+
team_change: 200000
|
47 |
+
swap_steps: 2000
|
48 |
+
window: 10
|
49 |
+
play_against_latest_model_ratio: 0.5
|
50 |
+
initial_elo: 1200.0
|
51 |
+
behavioral_cloning: null
|
52 |
+
env_settings:
|
53 |
+
env_path: ./training-envs-executables/SoccerTwos/SoccerTwos
|
54 |
+
env_args: null
|
55 |
+
base_port: 5005
|
56 |
+
num_envs: 1
|
57 |
+
num_areas: 1
|
58 |
+
seed: -1
|
59 |
+
max_lifetime_restarts: 10
|
60 |
+
restarts_rate_limit_n: 1
|
61 |
+
restarts_rate_limit_period_s: 60
|
62 |
+
engine_settings:
|
63 |
+
width: 84
|
64 |
+
height: 84
|
65 |
+
quality_level: 5
|
66 |
+
time_scale: 20
|
67 |
+
target_frame_rate: -1
|
68 |
+
capture_frame_rate: 60
|
69 |
+
no_graphics: true
|
70 |
+
environment_parameters: null
|
71 |
+
checkpoint_settings:
|
72 |
+
run_id: SoccerTwos
|
73 |
+
initialize_from: null
|
74 |
+
load_model: false
|
75 |
+
resume: false
|
76 |
+
force: false
|
77 |
+
train_model: false
|
78 |
+
inference: false
|
79 |
+
results_dir: results
|
80 |
+
torch_settings:
|
81 |
+
device: null
|
82 |
+
debug: false
|
run_logs/Player-0.log
ADDED
The diff for this file is too large to render.
See raw diff
|
|
run_logs/timers.json
ADDED
@@ -0,0 +1,424 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "root",
|
3 |
+
"gauges": {
|
4 |
+
"SoccerTwos.Policy.Entropy.mean": {
|
5 |
+
"value": 1.6387290954589844,
|
6 |
+
"min": 0.45264336466789246,
|
7 |
+
"max": 3.2957069873809814,
|
8 |
+
"count": 5000
|
9 |
+
},
|
10 |
+
"SoccerTwos.Policy.Entropy.sum": {
|
11 |
+
"value": 33246.53515625,
|
12 |
+
"min": 3141.45654296875,
|
13 |
+
"max": 160933.625,
|
14 |
+
"count": 5000
|
15 |
+
},
|
16 |
+
"SoccerTwos.Environment.EpisodeLength.mean": {
|
17 |
+
"value": 62.4375,
|
18 |
+
"min": 46.838095238095235,
|
19 |
+
"max": 999.0,
|
20 |
+
"count": 5000
|
21 |
+
},
|
22 |
+
"SoccerTwos.Environment.EpisodeLength.sum": {
|
23 |
+
"value": 19980.0,
|
24 |
+
"min": 15676.0,
|
25 |
+
"max": 24000.0,
|
26 |
+
"count": 5000
|
27 |
+
},
|
28 |
+
"SoccerTwos.Self-play.ELO.mean": {
|
29 |
+
"value": 1595.4864196166427,
|
30 |
+
"min": 1185.4217548446472,
|
31 |
+
"max": 1600.5999558048213,
|
32 |
+
"count": 1358
|
33 |
+
},
|
34 |
+
"SoccerTwos.Self-play.ELO.sum": {
|
35 |
+
"value": 255277.82713866283,
|
36 |
+
"min": 2374.509866816312,
|
37 |
+
"max": 334326.8309676212,
|
38 |
+
"count": 1358
|
39 |
+
},
|
40 |
+
"SoccerTwos.Step.mean": {
|
41 |
+
"value": 49999898.0,
|
42 |
+
"min": 9018.0,
|
43 |
+
"max": 49999898.0,
|
44 |
+
"count": 5000
|
45 |
+
},
|
46 |
+
"SoccerTwos.Step.sum": {
|
47 |
+
"value": 49999898.0,
|
48 |
+
"min": 9018.0,
|
49 |
+
"max": 49999898.0,
|
50 |
+
"count": 5000
|
51 |
+
},
|
52 |
+
"SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
|
53 |
+
"value": -0.0692310482263565,
|
54 |
+
"min": -0.12119641155004501,
|
55 |
+
"max": 0.11661136150360107,
|
56 |
+
"count": 5000
|
57 |
+
},
|
58 |
+
"SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
|
59 |
+
"value": -11.007737159729004,
|
60 |
+
"min": -16.729875564575195,
|
61 |
+
"max": 17.320613861083984,
|
62 |
+
"count": 5000
|
63 |
+
},
|
64 |
+
"SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
|
65 |
+
"value": -0.07181708514690399,
|
66 |
+
"min": -0.12186228483915329,
|
67 |
+
"max": 0.12079012393951416,
|
68 |
+
"count": 5000
|
69 |
+
},
|
70 |
+
"SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
|
71 |
+
"value": -11.418916702270508,
|
72 |
+
"min": -16.515888214111328,
|
73 |
+
"max": 17.87450408935547,
|
74 |
+
"count": 5000
|
75 |
+
},
|
76 |
+
"SoccerTwos.Environment.CumulativeReward.mean": {
|
77 |
+
"value": 0.0,
|
78 |
+
"min": 0.0,
|
79 |
+
"max": 0.0,
|
80 |
+
"count": 5000
|
81 |
+
},
|
82 |
+
"SoccerTwos.Environment.CumulativeReward.sum": {
|
83 |
+
"value": 0.0,
|
84 |
+
"min": 0.0,
|
85 |
+
"max": 0.0,
|
86 |
+
"count": 5000
|
87 |
+
},
|
88 |
+
"SoccerTwos.Policy.ExtrinsicReward.mean": {
|
89 |
+
"value": -0.1351723277343894,
|
90 |
+
"min": -0.5991399999707937,
|
91 |
+
"max": 0.48324500024318695,
|
92 |
+
"count": 5000
|
93 |
+
},
|
94 |
+
"SoccerTwos.Policy.ExtrinsicReward.sum": {
|
95 |
+
"value": -21.492400109767914,
|
96 |
+
"min": -54.265599966049194,
|
97 |
+
"max": 53.21520012617111,
|
98 |
+
"count": 5000
|
99 |
+
},
|
100 |
+
"SoccerTwos.Environment.GroupCumulativeReward.mean": {
|
101 |
+
"value": -0.1351723277343894,
|
102 |
+
"min": -0.5991399999707937,
|
103 |
+
"max": 0.48324500024318695,
|
104 |
+
"count": 5000
|
105 |
+
},
|
106 |
+
"SoccerTwos.Environment.GroupCumulativeReward.sum": {
|
107 |
+
"value": -21.492400109767914,
|
108 |
+
"min": -54.265599966049194,
|
109 |
+
"max": 53.21520012617111,
|
110 |
+
"count": 5000
|
111 |
+
},
|
112 |
+
"SoccerTwos.IsTraining.mean": {
|
113 |
+
"value": 1.0,
|
114 |
+
"min": 1.0,
|
115 |
+
"max": 1.0,
|
116 |
+
"count": 5000
|
117 |
+
},
|
118 |
+
"SoccerTwos.IsTraining.sum": {
|
119 |
+
"value": 1.0,
|
120 |
+
"min": 1.0,
|
121 |
+
"max": 1.0,
|
122 |
+
"count": 5000
|
123 |
+
},
|
124 |
+
"SoccerTwos.Losses.PolicyLoss.mean": {
|
125 |
+
"value": 0.015186102918232792,
|
126 |
+
"min": 0.008975393581204116,
|
127 |
+
"max": 0.03164174200501293,
|
128 |
+
"count": 2310
|
129 |
+
},
|
130 |
+
"SoccerTwos.Losses.PolicyLoss.sum": {
|
131 |
+
"value": 0.015186102918232792,
|
132 |
+
"min": 0.008975393581204116,
|
133 |
+
"max": 0.03164174200501293,
|
134 |
+
"count": 2310
|
135 |
+
},
|
136 |
+
"SoccerTwos.Losses.ValueLoss.mean": {
|
137 |
+
"value": 0.0898277722299099,
|
138 |
+
"min": 1.7870201773790654e-12,
|
139 |
+
"max": 0.10309110805392266,
|
140 |
+
"count": 2310
|
141 |
+
},
|
142 |
+
"SoccerTwos.Losses.ValueLoss.sum": {
|
143 |
+
"value": 0.0898277722299099,
|
144 |
+
"min": 1.7870201773790654e-12,
|
145 |
+
"max": 0.10309110805392266,
|
146 |
+
"count": 2310
|
147 |
+
},
|
148 |
+
"SoccerTwos.Losses.BaselineLoss.mean": {
|
149 |
+
"value": 0.09080774933099747,
|
150 |
+
"min": 3.955997118429422e-12,
|
151 |
+
"max": 0.10465430642167727,
|
152 |
+
"count": 2310
|
153 |
+
},
|
154 |
+
"SoccerTwos.Losses.BaselineLoss.sum": {
|
155 |
+
"value": 0.09080774933099747,
|
156 |
+
"min": 3.955997118429422e-12,
|
157 |
+
"max": 0.10465430642167727,
|
158 |
+
"count": 2310
|
159 |
+
},
|
160 |
+
"SoccerTwos.Policy.LearningRate.mean": {
|
161 |
+
"value": 0.0003,
|
162 |
+
"min": 0.0003,
|
163 |
+
"max": 0.0003,
|
164 |
+
"count": 2310
|
165 |
+
},
|
166 |
+
"SoccerTwos.Policy.LearningRate.sum": {
|
167 |
+
"value": 0.0003,
|
168 |
+
"min": 0.0003,
|
169 |
+
"max": 0.0003,
|
170 |
+
"count": 2310
|
171 |
+
},
|
172 |
+
"SoccerTwos.Policy.Epsilon.mean": {
|
173 |
+
"value": 0.20000000000000007,
|
174 |
+
"min": 0.20000000000000007,
|
175 |
+
"max": 0.20000000000000007,
|
176 |
+
"count": 2310
|
177 |
+
},
|
178 |
+
"SoccerTwos.Policy.Epsilon.sum": {
|
179 |
+
"value": 0.20000000000000007,
|
180 |
+
"min": 0.20000000000000007,
|
181 |
+
"max": 0.20000000000000007,
|
182 |
+
"count": 2310
|
183 |
+
},
|
184 |
+
"SoccerTwos.Policy.Beta.mean": {
|
185 |
+
"value": 0.005000000000000001,
|
186 |
+
"min": 0.005000000000000001,
|
187 |
+
"max": 0.005000000000000001,
|
188 |
+
"count": 2310
|
189 |
+
},
|
190 |
+
"SoccerTwos.Policy.Beta.sum": {
|
191 |
+
"value": 0.005000000000000001,
|
192 |
+
"min": 0.005000000000000001,
|
193 |
+
"max": 0.005000000000000001,
|
194 |
+
"count": 2310
|
195 |
+
}
|
196 |
+
},
|
197 |
+
"metadata": {
|
198 |
+
"timer_format_version": "0.1.0",
|
199 |
+
"start_time_seconds": "1694448990",
|
200 |
+
"python_version": "3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]",
|
201 |
+
"command_line_arguments": "/home/fds/miniconda3/envs/py310_torch/bin/mlagents-learn ./config/poca/MySoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos --run-id=SoccerTwos --no-graphics",
|
202 |
+
"mlagents_version": "0.31.0.dev0",
|
203 |
+
"mlagents_envs_version": "0.31.0.dev0",
|
204 |
+
"communication_protocol_version": "1.5.0",
|
205 |
+
"pytorch_version": "1.11.0+cu102",
|
206 |
+
"numpy_version": "1.21.2",
|
207 |
+
"end_time_seconds": "1694564121"
|
208 |
+
},
|
209 |
+
"total": 115131.536571484,
|
210 |
+
"count": 1,
|
211 |
+
"self": 0.3708138660003897,
|
212 |
+
"children": {
|
213 |
+
"run_training.setup": {
|
214 |
+
"total": 0.021335490004275925,
|
215 |
+
"count": 1,
|
216 |
+
"self": 0.021335490004275925
|
217 |
+
},
|
218 |
+
"TrainerController.start_learning": {
|
219 |
+
"total": 115131.144422128,
|
220 |
+
"count": 1,
|
221 |
+
"self": 77.23910491632705,
|
222 |
+
"children": {
|
223 |
+
"TrainerController._reset_env": {
|
224 |
+
"total": 28.161331028022687,
|
225 |
+
"count": 250,
|
226 |
+
"self": 28.161331028022687
|
227 |
+
},
|
228 |
+
"TrainerController.advance": {
|
229 |
+
"total": 115025.40392475163,
|
230 |
+
"count": 3279009,
|
231 |
+
"self": 73.18387589085614,
|
232 |
+
"children": {
|
233 |
+
"env_step": {
|
234 |
+
"total": 97235.99535516751,
|
235 |
+
"count": 3279009,
|
236 |
+
"self": 81069.78337609417,
|
237 |
+
"children": {
|
238 |
+
"SubprocessEnvManager._take_step": {
|
239 |
+
"total": 16115.499061274662,
|
240 |
+
"count": 3279009,
|
241 |
+
"self": 516.4568290919415,
|
242 |
+
"children": {
|
243 |
+
"TorchPolicy.evaluate": {
|
244 |
+
"total": 15599.04223218272,
|
245 |
+
"count": 6440506,
|
246 |
+
"self": 15599.04223218272
|
247 |
+
}
|
248 |
+
}
|
249 |
+
},
|
250 |
+
"workers": {
|
251 |
+
"total": 50.71291779867897,
|
252 |
+
"count": 3279009,
|
253 |
+
"self": 0.0,
|
254 |
+
"children": {
|
255 |
+
"worker_root": {
|
256 |
+
"total": 114941.92599388813,
|
257 |
+
"count": 3279009,
|
258 |
+
"is_parallel": true,
|
259 |
+
"self": 44472.438108378556,
|
260 |
+
"children": {
|
261 |
+
"run_training.setup": {
|
262 |
+
"total": 0.0,
|
263 |
+
"count": 0,
|
264 |
+
"is_parallel": true,
|
265 |
+
"self": 0.0,
|
266 |
+
"children": {
|
267 |
+
"steps_from_proto": {
|
268 |
+
"total": 0.0034976339957211167,
|
269 |
+
"count": 2,
|
270 |
+
"is_parallel": true,
|
271 |
+
"self": 0.0008201639866456389,
|
272 |
+
"children": {
|
273 |
+
"_process_rank_one_or_two_observation": {
|
274 |
+
"total": 0.0026774700090754777,
|
275 |
+
"count": 8,
|
276 |
+
"is_parallel": true,
|
277 |
+
"self": 0.0026774700090754777
|
278 |
+
}
|
279 |
+
}
|
280 |
+
},
|
281 |
+
"UnityEnvironment.step": {
|
282 |
+
"total": 0.03606500099704135,
|
283 |
+
"count": 1,
|
284 |
+
"is_parallel": true,
|
285 |
+
"self": 0.0008351590076927096,
|
286 |
+
"children": {
|
287 |
+
"UnityEnvironment._generate_step_input": {
|
288 |
+
"total": 0.0008933339995564893,
|
289 |
+
"count": 1,
|
290 |
+
"is_parallel": true,
|
291 |
+
"self": 0.0008933339995564893
|
292 |
+
},
|
293 |
+
"communicator.exchange": {
|
294 |
+
"total": 0.0317648219934199,
|
295 |
+
"count": 1,
|
296 |
+
"is_parallel": true,
|
297 |
+
"self": 0.0317648219934199
|
298 |
+
},
|
299 |
+
"steps_from_proto": {
|
300 |
+
"total": 0.0025716859963722527,
|
301 |
+
"count": 2,
|
302 |
+
"is_parallel": true,
|
303 |
+
"self": 0.0005108249897602946,
|
304 |
+
"children": {
|
305 |
+
"_process_rank_one_or_two_observation": {
|
306 |
+
"total": 0.002060861006611958,
|
307 |
+
"count": 8,
|
308 |
+
"is_parallel": true,
|
309 |
+
"self": 0.002060861006611958
|
310 |
+
}
|
311 |
+
}
|
312 |
+
}
|
313 |
+
}
|
314 |
+
}
|
315 |
+
}
|
316 |
+
},
|
317 |
+
"UnityEnvironment.step": {
|
318 |
+
"total": 70468.47066062948,
|
319 |
+
"count": 3279008,
|
320 |
+
"is_parallel": true,
|
321 |
+
"self": 4180.915147336767,
|
322 |
+
"children": {
|
323 |
+
"UnityEnvironment._generate_step_input": {
|
324 |
+
"total": 3174.8598330077366,
|
325 |
+
"count": 3279008,
|
326 |
+
"is_parallel": true,
|
327 |
+
"self": 3174.8598330077366
|
328 |
+
},
|
329 |
+
"communicator.exchange": {
|
330 |
+
"total": 50176.30294045938,
|
331 |
+
"count": 3279008,
|
332 |
+
"is_parallel": true,
|
333 |
+
"self": 50176.30294045938
|
334 |
+
},
|
335 |
+
"steps_from_proto": {
|
336 |
+
"total": 12936.392739825591,
|
337 |
+
"count": 6558016,
|
338 |
+
"is_parallel": true,
|
339 |
+
"self": 2424.807567545693,
|
340 |
+
"children": {
|
341 |
+
"_process_rank_one_or_two_observation": {
|
342 |
+
"total": 10511.585172279898,
|
343 |
+
"count": 26232064,
|
344 |
+
"is_parallel": true,
|
345 |
+
"self": 10511.585172279898
|
346 |
+
}
|
347 |
+
}
|
348 |
+
}
|
349 |
+
}
|
350 |
+
},
|
351 |
+
"steps_from_proto": {
|
352 |
+
"total": 1.0172248800954549,
|
353 |
+
"count": 498,
|
354 |
+
"is_parallel": true,
|
355 |
+
"self": 0.19198615160712507,
|
356 |
+
"children": {
|
357 |
+
"_process_rank_one_or_two_observation": {
|
358 |
+
"total": 0.8252387284883298,
|
359 |
+
"count": 1992,
|
360 |
+
"is_parallel": true,
|
361 |
+
"self": 0.8252387284883298
|
362 |
+
}
|
363 |
+
}
|
364 |
+
}
|
365 |
+
}
|
366 |
+
}
|
367 |
+
}
|
368 |
+
}
|
369 |
+
}
|
370 |
+
},
|
371 |
+
"trainer_advance": {
|
372 |
+
"total": 17716.224693693264,
|
373 |
+
"count": 3279009,
|
374 |
+
"self": 631.8466621160042,
|
375 |
+
"children": {
|
376 |
+
"process_trajectory": {
|
377 |
+
"total": 4964.179094832682,
|
378 |
+
"count": 3279009,
|
379 |
+
"self": 4926.31596117861,
|
380 |
+
"children": {
|
381 |
+
"RLTrainer._checkpoint": {
|
382 |
+
"total": 37.863133654071135,
|
383 |
+
"count": 100,
|
384 |
+
"self": 37.863133654071135
|
385 |
+
}
|
386 |
+
}
|
387 |
+
},
|
388 |
+
"_update_policy": {
|
389 |
+
"total": 12120.198936744579,
|
390 |
+
"count": 2310,
|
391 |
+
"self": 7790.292500737021,
|
392 |
+
"children": {
|
393 |
+
"TorchPOCAOptimizer.update": {
|
394 |
+
"total": 4329.906436007557,
|
395 |
+
"count": 69300,
|
396 |
+
"self": 4329.906436007557
|
397 |
+
}
|
398 |
+
}
|
399 |
+
}
|
400 |
+
}
|
401 |
+
}
|
402 |
+
}
|
403 |
+
},
|
404 |
+
"trainer_threads": {
|
405 |
+
"total": 1.2090022210031748e-06,
|
406 |
+
"count": 1,
|
407 |
+
"self": 1.2090022210031748e-06
|
408 |
+
},
|
409 |
+
"TrainerController._save_models": {
|
410 |
+
"total": 0.34006022301036865,
|
411 |
+
"count": 1,
|
412 |
+
"self": 0.0018095020204782486,
|
413 |
+
"children": {
|
414 |
+
"RLTrainer._checkpoint": {
|
415 |
+
"total": 0.3382507209898904,
|
416 |
+
"count": 1,
|
417 |
+
"self": 0.3382507209898904
|
418 |
+
}
|
419 |
+
}
|
420 |
+
}
|
421 |
+
}
|
422 |
+
}
|
423 |
+
}
|
424 |
+
}
|
run_logs/training_status.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"SoccerTwos": {
|
3 |
+
"checkpoints": [
|
4 |
+
{
|
5 |
+
"steps": 48499956,
|
6 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-48499956.onnx",
|
7 |
+
"reward": 0.0,
|
8 |
+
"creation_time": 1694560555.5574994,
|
9 |
+
"auxillary_file_paths": [
|
10 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-48499956.pt"
|
11 |
+
]
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"steps": 48999924,
|
15 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-48999924.onnx",
|
16 |
+
"reward": 0.0,
|
17 |
+
"creation_time": 1694561743.2620547,
|
18 |
+
"auxillary_file_paths": [
|
19 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-48999924.pt"
|
20 |
+
]
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"steps": 49499992,
|
24 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-49499992.onnx",
|
25 |
+
"reward": 0.0,
|
26 |
+
"creation_time": 1694562927.9632618,
|
27 |
+
"auxillary_file_paths": [
|
28 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-49499992.pt"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"steps": 49999898,
|
33 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-49999898.onnx",
|
34 |
+
"reward": 0.0,
|
35 |
+
"creation_time": 1694564121.1220944,
|
36 |
+
"auxillary_file_paths": [
|
37 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-49999898.pt"
|
38 |
+
]
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"steps": 50000150,
|
42 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-50000150.onnx",
|
43 |
+
"reward": 0.0,
|
44 |
+
"creation_time": 1694564121.5068712,
|
45 |
+
"auxillary_file_paths": [
|
46 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-50000150.pt"
|
47 |
+
]
|
48 |
+
}
|
49 |
+
],
|
50 |
+
"elo": 1588.4200417535326,
|
51 |
+
"final_checkpoint": {
|
52 |
+
"steps": 50000150,
|
53 |
+
"file_path": "results/SoccerTwos/SoccerTwos.onnx",
|
54 |
+
"reward": 0.0,
|
55 |
+
"creation_time": 1694564121.5068712,
|
56 |
+
"auxillary_file_paths": [
|
57 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-50000150.pt"
|
58 |
+
]
|
59 |
+
}
|
60 |
+
},
|
61 |
+
"metadata": {
|
62 |
+
"stats_format_version": "0.3.0",
|
63 |
+
"mlagents_version": "0.31.0.dev0",
|
64 |
+
"torch_version": "1.11.0+cu102"
|
65 |
+
}
|
66 |
+
}
|