Commit
·
b411b2c
1
Parent(s):
b1bbc5c
First Push
Browse files- README.md +31 -0
- SoccerTwos.onnx +3 -0
- SoccerTwos/SoccerTwos-73999996.onnx +3 -0
- SoccerTwos/SoccerTwos-73999996.pt +3 -0
- SoccerTwos/SoccerTwos-74499910.onnx +3 -0
- SoccerTwos/SoccerTwos-74499910.pt +3 -0
- SoccerTwos/SoccerTwos-74999898.onnx +3 -0
- SoccerTwos/SoccerTwos-74999898.pt +3 -0
- SoccerTwos/SoccerTwos-75499888.onnx +3 -0
- SoccerTwos/SoccerTwos-75499888.pt +3 -0
- SoccerTwos/SoccerTwos-75999987.onnx +3 -0
- SoccerTwos/SoccerTwos-75999987.pt +3 -0
- SoccerTwos/checkpoint.pt +3 -0
- SoccerTwos/events.out.tfevents.1675544399.DESKTOP-BV6B81N.6225.0 +3 -0
- SoccerTwos/events.out.tfevents.1675589651.DESKTOP-BV6B81N.8930.0 +3 -0
- SoccerTwos/events.out.tfevents.1675597420.DESKTOP-BV6B81N.9402.0 +3 -0
- SoccerTwos/events.out.tfevents.1675610838.DESKTOP-BV6B81N.50.0 +3 -0
- SoccerTwos/events.out.tfevents.1675713092.DESKTOP-BV6B81N.652.0 +3 -0
- config.json +1 -0
- configuration.yaml +82 -0
- run_logs/Player-0.log +42 -0
- run_logs/timers.json +424 -0
- run_logs/training_status.json +66 -0
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- unity-ml-agents
|
5 |
+
- ml-agents
|
6 |
+
- deep-reinforcement-learning
|
7 |
+
- reinforcement-learning
|
8 |
+
- ML-Agents-SoccerTwos
|
9 |
+
library_name: ml-agents
|
10 |
+
---
|
11 |
+
|
12 |
+
# **poca** Agent playing **SoccerTwos**
|
13 |
+
This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
|
14 |
+
|
15 |
+
## Usage (with ML-Agents)
|
16 |
+
The Documentation: https://github.com/huggingface/ml-agents#get-started
|
17 |
+
We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
|
18 |
+
|
19 |
+
|
20 |
+
### Resume the training
|
21 |
+
```
|
22 |
+
mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
|
23 |
+
```
|
24 |
+
### Watch your Agent play
|
25 |
+
You can watch your agent **playing directly in your browser:**.
|
26 |
+
|
27 |
+
1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
|
28 |
+
2. Step 1: Write your model_id: antoooooine/poca-SoccerTwos-v2
|
29 |
+
3. Step 2: Select your *.nn /*.onnx file
|
30 |
+
4. Click on Watch the agent play 👀
|
31 |
+
|
SoccerTwos.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a665e6fd065de6315a752ade9787a424c2225542cacd46281c5236207a9132db
|
3 |
+
size 1768747
|
SoccerTwos/SoccerTwos-73999996.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48ed73d6f6ae6c04a6df943419ff361390464e752d0df843e501a9f8fa9d1005
|
3 |
+
size 1768747
|
SoccerTwos/SoccerTwos-73999996.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df262ca74463d3e2cc7aee8f828306929499952feb95e7bb920167f453b56bb7
|
3 |
+
size 28431689
|
SoccerTwos/SoccerTwos-74499910.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39693e10c171932f4cea6a894bf6e584868e0da9fb37d772bfb7524d5ebef356
|
3 |
+
size 1768747
|
SoccerTwos/SoccerTwos-74499910.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38a829915a913e5cba536e72b044314fc5438c06daf7fd814361a357c446f003
|
3 |
+
size 28431689
|
SoccerTwos/SoccerTwos-74999898.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a07d9f38b20c2b434dd52e2802cf398f32a6c181fc7d41ebfed561da83a43e4
|
3 |
+
size 1768747
|
SoccerTwos/SoccerTwos-74999898.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e96df9d9f5799b56b77a530dae73666f3e80b745ed11c69f66754a2a6f833951
|
3 |
+
size 28431689
|
SoccerTwos/SoccerTwos-75499888.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31285c563cba801add2ff1fe1291f47b72a785ad7d67c0d8f118e41cc866c5f2
|
3 |
+
size 1768747
|
SoccerTwos/SoccerTwos-75499888.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0148e836b64cc793028a9b5ebd86e59da7a0b02cf6880b613029eaa183479e08
|
3 |
+
size 28431689
|
SoccerTwos/SoccerTwos-75999987.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d670c4677a6a17a42e45a0a4785fccfb33bdab7e56e6aeecec20db7f6c6c4dcd
|
3 |
+
size 1768747
|
SoccerTwos/SoccerTwos-75999987.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2f1731f22ad54c10b50888708f77a0131bd66156a4d7c53c419717b5164c52c
|
3 |
+
size 28431689
|
SoccerTwos/checkpoint.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b509afeab0627402b38608d82fe4174bcd24ad0fe941faa5337403af1311116f
|
3 |
+
size 28430591
|
SoccerTwos/events.out.tfevents.1675544399.DESKTOP-BV6B81N.6225.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b623322dd65d34cea41ac28a994cecd4065bff98507fa92faf93c6152bb4cfc
|
3 |
+
size 30424603
|
SoccerTwos/events.out.tfevents.1675589651.DESKTOP-BV6B81N.8930.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f869eb20c4438d4701c2a64f3617e5040af9d71d214e3ad75dead60ce42748b7
|
3 |
+
size 21414
|
SoccerTwos/events.out.tfevents.1675597420.DESKTOP-BV6B81N.9402.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02cc1dc437d3b5b5a8a00e324b69e44f90920100375415faabd06cf36e90dc30
|
3 |
+
size 8511020
|
SoccerTwos/events.out.tfevents.1675610838.DESKTOP-BV6B81N.50.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69a12687ff4e3292d08964c707d8e4d30b17758430c9e2e0aef469a295b084c0
|
3 |
+
size 11748608
|
SoccerTwos/events.out.tfevents.1675713092.DESKTOP-BV6B81N.652.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88eb62d50d4e36ddc4d63224bce09424f254443ec22264bd050aa40a160b8a74
|
3 |
+
size 27083233
|
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": 20000, "team_change": 100000, "swap_steps": 10000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos.exe", "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": true, "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: 20000
|
46 |
+
team_change: 100000
|
47 |
+
swap_steps: 10000
|
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.exe
|
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: true
|
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
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Mono path[0] = '/home/antoine/aivsai/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
|
2 |
+
Mono config path = '/home/antoine/aivsai/ml-agents/training-envs-executables/SoccerTwos_Data/MonoBleedingEdge/etc'
|
3 |
+
Preloaded 'lib_burst_generated.so'
|
4 |
+
Preloaded 'libgrpc_csharp_ext.x64.so'
|
5 |
+
Initialize engine version: 2021.3.14f1 (eee1884e7226)
|
6 |
+
[Subsystems] Discovering subsystems at path /home/antoine/aivsai/ml-agents/training-envs-executables/SoccerTwos_Data/UnitySubsystems
|
7 |
+
Forcing GfxDevice: Null
|
8 |
+
GfxDevice: creating device client; threaded=0; jobified=0
|
9 |
+
NullGfxDevice:
|
10 |
+
Version: NULL 1.0 [1.0]
|
11 |
+
Renderer: Null Device
|
12 |
+
Vendor: Unity Technologies
|
13 |
+
Begin MonoManager ReloadAssembly
|
14 |
+
- Completed reload, in 0.076 seconds
|
15 |
+
ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
16 |
+
ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
17 |
+
ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
18 |
+
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
|
19 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
20 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
21 |
+
ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
22 |
+
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
|
23 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
24 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
25 |
+
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
|
26 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
27 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
28 |
+
ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
29 |
+
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
|
30 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
31 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
32 |
+
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
|
33 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
34 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
35 |
+
ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
36 |
+
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
|
37 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
38 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
39 |
+
UnloadTime: 0.474196 ms
|
40 |
+
Registered Communicator in Agent.
|
41 |
+
ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
42 |
+
requesting resize 84 x 84
|
run_logs/timers.json
ADDED
@@ -0,0 +1,424 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "root",
|
3 |
+
"gauges": {
|
4 |
+
"SoccerTwos.Policy.Entropy.mean": {
|
5 |
+
"value": 1.5164642333984375,
|
6 |
+
"min": 1.3953726291656494,
|
7 |
+
"max": 1.6047635078430176,
|
8 |
+
"count": 1143
|
9 |
+
},
|
10 |
+
"SoccerTwos.Policy.Entropy.sum": {
|
11 |
+
"value": 30571.91796875,
|
12 |
+
"min": 23826.1484375,
|
13 |
+
"max": 36965.609375,
|
14 |
+
"count": 1143
|
15 |
+
},
|
16 |
+
"SoccerTwos.Environment.EpisodeLength.mean": {
|
17 |
+
"value": 66.21621621621621,
|
18 |
+
"min": 46.84466019417476,
|
19 |
+
"max": 123.525,
|
20 |
+
"count": 1143
|
21 |
+
},
|
22 |
+
"SoccerTwos.Environment.EpisodeLength.sum": {
|
23 |
+
"value": 19600.0,
|
24 |
+
"min": 18008.0,
|
25 |
+
"max": 21668.0,
|
26 |
+
"count": 1143
|
27 |
+
},
|
28 |
+
"SoccerTwos.Self-play.ELO.mean": {
|
29 |
+
"value": 1788.139557155096,
|
30 |
+
"min": 1763.8943816545664,
|
31 |
+
"max": 1895.9647490378686,
|
32 |
+
"count": 1143
|
33 |
+
},
|
34 |
+
"SoccerTwos.Self-play.ELO.sum": {
|
35 |
+
"value": 264644.65445895423,
|
36 |
+
"min": 143435.03911230544,
|
37 |
+
"max": 374491.80143744574,
|
38 |
+
"count": 1143
|
39 |
+
},
|
40 |
+
"SoccerTwos.Step.mean": {
|
41 |
+
"value": 49999976.0,
|
42 |
+
"min": 38579940.0,
|
43 |
+
"max": 49999976.0,
|
44 |
+
"count": 1143
|
45 |
+
},
|
46 |
+
"SoccerTwos.Step.sum": {
|
47 |
+
"value": 49999976.0,
|
48 |
+
"min": 38579940.0,
|
49 |
+
"max": 49999976.0,
|
50 |
+
"count": 1143
|
51 |
+
},
|
52 |
+
"SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
|
53 |
+
"value": -0.04374735429883003,
|
54 |
+
"min": -0.12895220518112183,
|
55 |
+
"max": 0.08242303878068924,
|
56 |
+
"count": 1143
|
57 |
+
},
|
58 |
+
"SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
|
59 |
+
"value": -6.474608421325684,
|
60 |
+
"min": -22.695589065551758,
|
61 |
+
"max": 12.33757209777832,
|
62 |
+
"count": 1143
|
63 |
+
},
|
64 |
+
"SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
|
65 |
+
"value": -0.04354594647884369,
|
66 |
+
"min": -0.1314668506383896,
|
67 |
+
"max": 0.08386951684951782,
|
68 |
+
"count": 1143
|
69 |
+
},
|
70 |
+
"SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
|
71 |
+
"value": -6.444799900054932,
|
72 |
+
"min": -23.138164520263672,
|
73 |
+
"max": 12.631093978881836,
|
74 |
+
"count": 1143
|
75 |
+
},
|
76 |
+
"SoccerTwos.Environment.CumulativeReward.mean": {
|
77 |
+
"value": 0.0,
|
78 |
+
"min": 0.0,
|
79 |
+
"max": 0.0,
|
80 |
+
"count": 1143
|
81 |
+
},
|
82 |
+
"SoccerTwos.Environment.CumulativeReward.sum": {
|
83 |
+
"value": 0.0,
|
84 |
+
"min": 0.0,
|
85 |
+
"max": 0.0,
|
86 |
+
"count": 1143
|
87 |
+
},
|
88 |
+
"SoccerTwos.Policy.ExtrinsicReward.mean": {
|
89 |
+
"value": -0.16977297454266935,
|
90 |
+
"min": -0.4051876911750207,
|
91 |
+
"max": 0.31940236634756686,
|
92 |
+
"count": 1143
|
93 |
+
},
|
94 |
+
"SoccerTwos.Policy.ExtrinsicReward.sum": {
|
95 |
+
"value": -25.126400232315063,
|
96 |
+
"min": -56.98080027103424,
|
97 |
+
"max": 53.9789999127388,
|
98 |
+
"count": 1143
|
99 |
+
},
|
100 |
+
"SoccerTwos.Environment.GroupCumulativeReward.mean": {
|
101 |
+
"value": -0.16977297454266935,
|
102 |
+
"min": -0.4051876911750207,
|
103 |
+
"max": 0.31940236634756686,
|
104 |
+
"count": 1143
|
105 |
+
},
|
106 |
+
"SoccerTwos.Environment.GroupCumulativeReward.sum": {
|
107 |
+
"value": -25.126400232315063,
|
108 |
+
"min": -56.98080027103424,
|
109 |
+
"max": 53.9789999127388,
|
110 |
+
"count": 1143
|
111 |
+
},
|
112 |
+
"SoccerTwos.IsTraining.mean": {
|
113 |
+
"value": 1.0,
|
114 |
+
"min": 1.0,
|
115 |
+
"max": 1.0,
|
116 |
+
"count": 1143
|
117 |
+
},
|
118 |
+
"SoccerTwos.IsTraining.sum": {
|
119 |
+
"value": 1.0,
|
120 |
+
"min": 1.0,
|
121 |
+
"max": 1.0,
|
122 |
+
"count": 1143
|
123 |
+
},
|
124 |
+
"SoccerTwos.Losses.PolicyLoss.mean": {
|
125 |
+
"value": 0.018430388210496553,
|
126 |
+
"min": 0.010592016590938632,
|
127 |
+
"max": 0.02781745515530929,
|
128 |
+
"count": 554
|
129 |
+
},
|
130 |
+
"SoccerTwos.Losses.PolicyLoss.sum": {
|
131 |
+
"value": 0.018430388210496553,
|
132 |
+
"min": 0.010592016590938632,
|
133 |
+
"max": 0.02781745515530929,
|
134 |
+
"count": 554
|
135 |
+
},
|
136 |
+
"SoccerTwos.Losses.ValueLoss.mean": {
|
137 |
+
"value": 0.07806214118997255,
|
138 |
+
"min": 0.06242416140933831,
|
139 |
+
"max": 0.11370115354657173,
|
140 |
+
"count": 554
|
141 |
+
},
|
142 |
+
"SoccerTwos.Losses.ValueLoss.sum": {
|
143 |
+
"value": 0.07806214118997255,
|
144 |
+
"min": 0.06242416140933831,
|
145 |
+
"max": 0.11370115354657173,
|
146 |
+
"count": 554
|
147 |
+
},
|
148 |
+
"SoccerTwos.Losses.BaselineLoss.mean": {
|
149 |
+
"value": 0.0787392978866895,
|
150 |
+
"min": 0.063100624208649,
|
151 |
+
"max": 0.11524530698855719,
|
152 |
+
"count": 554
|
153 |
+
},
|
154 |
+
"SoccerTwos.Losses.BaselineLoss.sum": {
|
155 |
+
"value": 0.0787392978866895,
|
156 |
+
"min": 0.063100624208649,
|
157 |
+
"max": 0.11524530698855719,
|
158 |
+
"count": 554
|
159 |
+
},
|
160 |
+
"SoccerTwos.Policy.LearningRate.mean": {
|
161 |
+
"value": 0.0003,
|
162 |
+
"min": 0.0003,
|
163 |
+
"max": 0.0003,
|
164 |
+
"count": 554
|
165 |
+
},
|
166 |
+
"SoccerTwos.Policy.LearningRate.sum": {
|
167 |
+
"value": 0.0003,
|
168 |
+
"min": 0.0003,
|
169 |
+
"max": 0.0003,
|
170 |
+
"count": 554
|
171 |
+
},
|
172 |
+
"SoccerTwos.Policy.Epsilon.mean": {
|
173 |
+
"value": 0.20000000000000007,
|
174 |
+
"min": 0.20000000000000007,
|
175 |
+
"max": 0.20000000000000007,
|
176 |
+
"count": 554
|
177 |
+
},
|
178 |
+
"SoccerTwos.Policy.Epsilon.sum": {
|
179 |
+
"value": 0.20000000000000007,
|
180 |
+
"min": 0.20000000000000007,
|
181 |
+
"max": 0.20000000000000007,
|
182 |
+
"count": 554
|
183 |
+
},
|
184 |
+
"SoccerTwos.Policy.Beta.mean": {
|
185 |
+
"value": 0.005000000000000001,
|
186 |
+
"min": 0.005000000000000001,
|
187 |
+
"max": 0.005000000000000001,
|
188 |
+
"count": 554
|
189 |
+
},
|
190 |
+
"SoccerTwos.Policy.Beta.sum": {
|
191 |
+
"value": 0.005000000000000001,
|
192 |
+
"min": 0.005000000000000001,
|
193 |
+
"max": 0.005000000000000001,
|
194 |
+
"count": 554
|
195 |
+
}
|
196 |
+
},
|
197 |
+
"metadata": {
|
198 |
+
"timer_format_version": "0.1.0",
|
199 |
+
"start_time_seconds": "1675610837",
|
200 |
+
"python_version": "3.9.16 (main, Dec 7 2022, 01:12:08) \n[GCC 11.3.0]",
|
201 |
+
"command_line_arguments": "/home/antoine/.local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
|
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.13.1+cu117",
|
206 |
+
"numpy_version": "1.21.2",
|
207 |
+
"end_time_seconds": "1675629843"
|
208 |
+
},
|
209 |
+
"total": 19005.777164403,
|
210 |
+
"count": 1,
|
211 |
+
"self": 0.42566330900081084,
|
212 |
+
"children": {
|
213 |
+
"run_training.setup": {
|
214 |
+
"total": 0.01985288199999502,
|
215 |
+
"count": 1,
|
216 |
+
"self": 0.01985288199999502
|
217 |
+
},
|
218 |
+
"TrainerController.start_learning": {
|
219 |
+
"total": 19005.331648212,
|
220 |
+
"count": 1,
|
221 |
+
"self": 13.342824609924719,
|
222 |
+
"children": {
|
223 |
+
"TrainerController._reset_env": {
|
224 |
+
"total": 3.7989211900025452,
|
225 |
+
"count": 116,
|
226 |
+
"self": 3.7989211900025452
|
227 |
+
},
|
228 |
+
"TrainerController.advance": {
|
229 |
+
"total": 18988.022467976072,
|
230 |
+
"count": 785433,
|
231 |
+
"self": 11.69845295765117,
|
232 |
+
"children": {
|
233 |
+
"env_step": {
|
234 |
+
"total": 14920.227166041857,
|
235 |
+
"count": 785433,
|
236 |
+
"self": 9339.221871384068,
|
237 |
+
"children": {
|
238 |
+
"SubprocessEnvManager._take_step": {
|
239 |
+
"total": 5572.792325834682,
|
240 |
+
"count": 785433,
|
241 |
+
"self": 69.94666631460495,
|
242 |
+
"children": {
|
243 |
+
"TorchPolicy.evaluate": {
|
244 |
+
"total": 5502.845659520077,
|
245 |
+
"count": 1441042,
|
246 |
+
"self": 5502.845659520077
|
247 |
+
}
|
248 |
+
}
|
249 |
+
},
|
250 |
+
"workers": {
|
251 |
+
"total": 8.21296882310726,
|
252 |
+
"count": 785433,
|
253 |
+
"self": 0.0,
|
254 |
+
"children": {
|
255 |
+
"worker_root": {
|
256 |
+
"total": 18971.96386070099,
|
257 |
+
"count": 785433,
|
258 |
+
"is_parallel": true,
|
259 |
+
"self": 10923.375764966593,
|
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.0018647939999993923,
|
269 |
+
"count": 2,
|
270 |
+
"is_parallel": true,
|
271 |
+
"self": 0.0006395839999981945,
|
272 |
+
"children": {
|
273 |
+
"_process_rank_one_or_two_observation": {
|
274 |
+
"total": 0.0012252100000011978,
|
275 |
+
"count": 8,
|
276 |
+
"is_parallel": true,
|
277 |
+
"self": 0.0012252100000011978
|
278 |
+
}
|
279 |
+
}
|
280 |
+
},
|
281 |
+
"UnityEnvironment.step": {
|
282 |
+
"total": 0.019052677000004792,
|
283 |
+
"count": 1,
|
284 |
+
"is_parallel": true,
|
285 |
+
"self": 0.0003771169999851054,
|
286 |
+
"children": {
|
287 |
+
"UnityEnvironment._generate_step_input": {
|
288 |
+
"total": 0.00028268799999864314,
|
289 |
+
"count": 1,
|
290 |
+
"is_parallel": true,
|
291 |
+
"self": 0.00028268799999864314
|
292 |
+
},
|
293 |
+
"communicator.exchange": {
|
294 |
+
"total": 0.017328261000002954,
|
295 |
+
"count": 1,
|
296 |
+
"is_parallel": true,
|
297 |
+
"self": 0.017328261000002954
|
298 |
+
},
|
299 |
+
"steps_from_proto": {
|
300 |
+
"total": 0.0010646110000180897,
|
301 |
+
"count": 2,
|
302 |
+
"is_parallel": true,
|
303 |
+
"self": 0.00021709900002520044,
|
304 |
+
"children": {
|
305 |
+
"_process_rank_one_or_two_observation": {
|
306 |
+
"total": 0.0008475119999928893,
|
307 |
+
"count": 8,
|
308 |
+
"is_parallel": true,
|
309 |
+
"self": 0.0008475119999928893
|
310 |
+
}
|
311 |
+
}
|
312 |
+
}
|
313 |
+
}
|
314 |
+
}
|
315 |
+
}
|
316 |
+
},
|
317 |
+
"steps_from_proto": {
|
318 |
+
"total": 0.12494206298711674,
|
319 |
+
"count": 230,
|
320 |
+
"is_parallel": true,
|
321 |
+
"self": 0.024501994956324324,
|
322 |
+
"children": {
|
323 |
+
"_process_rank_one_or_two_observation": {
|
324 |
+
"total": 0.10044006803079242,
|
325 |
+
"count": 920,
|
326 |
+
"is_parallel": true,
|
327 |
+
"self": 0.10044006803079242
|
328 |
+
}
|
329 |
+
}
|
330 |
+
},
|
331 |
+
"UnityEnvironment.step": {
|
332 |
+
"total": 8048.463153671411,
|
333 |
+
"count": 785432,
|
334 |
+
"is_parallel": true,
|
335 |
+
"self": 285.23689413752527,
|
336 |
+
"children": {
|
337 |
+
"UnityEnvironment._generate_step_input": {
|
338 |
+
"total": 179.51557491960327,
|
339 |
+
"count": 785432,
|
340 |
+
"is_parallel": true,
|
341 |
+
"self": 179.51557491960327
|
342 |
+
},
|
343 |
+
"communicator.exchange": {
|
344 |
+
"total": 6785.646506808916,
|
345 |
+
"count": 785432,
|
346 |
+
"is_parallel": true,
|
347 |
+
"self": 6785.646506808916
|
348 |
+
},
|
349 |
+
"steps_from_proto": {
|
350 |
+
"total": 798.0641778053678,
|
351 |
+
"count": 1570864,
|
352 |
+
"is_parallel": true,
|
353 |
+
"self": 155.82185983195086,
|
354 |
+
"children": {
|
355 |
+
"_process_rank_one_or_two_observation": {
|
356 |
+
"total": 642.2423179734169,
|
357 |
+
"count": 6283456,
|
358 |
+
"is_parallel": true,
|
359 |
+
"self": 642.2423179734169
|
360 |
+
}
|
361 |
+
}
|
362 |
+
}
|
363 |
+
}
|
364 |
+
}
|
365 |
+
}
|
366 |
+
}
|
367 |
+
}
|
368 |
+
}
|
369 |
+
}
|
370 |
+
},
|
371 |
+
"trainer_advance": {
|
372 |
+
"total": 4056.096848976565,
|
373 |
+
"count": 785433,
|
374 |
+
"self": 97.41281737372037,
|
375 |
+
"children": {
|
376 |
+
"process_trajectory": {
|
377 |
+
"total": 2114.059208458841,
|
378 |
+
"count": 785433,
|
379 |
+
"self": 2110.901802831845,
|
380 |
+
"children": {
|
381 |
+
"RLTrainer._checkpoint": {
|
382 |
+
"total": 3.157405626996251,
|
383 |
+
"count": 23,
|
384 |
+
"self": 3.157405626996251
|
385 |
+
}
|
386 |
+
}
|
387 |
+
},
|
388 |
+
"_update_policy": {
|
389 |
+
"total": 1844.6248231440034,
|
390 |
+
"count": 554,
|
391 |
+
"self": 1029.6585003810528,
|
392 |
+
"children": {
|
393 |
+
"TorchPOCAOptimizer.update": {
|
394 |
+
"total": 814.9663227629504,
|
395 |
+
"count": 16620,
|
396 |
+
"self": 814.9663227629504
|
397 |
+
}
|
398 |
+
}
|
399 |
+
}
|
400 |
+
}
|
401 |
+
}
|
402 |
+
}
|
403 |
+
},
|
404 |
+
"trainer_threads": {
|
405 |
+
"total": 5.299989425111562e-07,
|
406 |
+
"count": 1,
|
407 |
+
"self": 5.299989425111562e-07
|
408 |
+
},
|
409 |
+
"TrainerController._save_models": {
|
410 |
+
"total": 0.16743390600095154,
|
411 |
+
"count": 1,
|
412 |
+
"self": 0.002753175998805091,
|
413 |
+
"children": {
|
414 |
+
"RLTrainer._checkpoint": {
|
415 |
+
"total": 0.16468073000214645,
|
416 |
+
"count": 1,
|
417 |
+
"self": 0.16468073000214645
|
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": 48499981,
|
6 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-48499981.onnx",
|
7 |
+
"reward": 0.0,
|
8 |
+
"creation_time": 1675627115.0965147,
|
9 |
+
"auxillary_file_paths": [
|
10 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-48499981.pt"
|
11 |
+
]
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"steps": 48999786,
|
15 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-48999786.onnx",
|
16 |
+
"reward": 0.0,
|
17 |
+
"creation_time": 1675628206.947269,
|
18 |
+
"auxillary_file_paths": [
|
19 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-48999786.pt"
|
20 |
+
]
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"steps": 49499960,
|
24 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-49499960.onnx",
|
25 |
+
"reward": 0.0,
|
26 |
+
"creation_time": 1675628997.3495948,
|
27 |
+
"auxillary_file_paths": [
|
28 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-49499960.pt"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"steps": 49999976,
|
33 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-49999976.onnx",
|
34 |
+
"reward": 0.0,
|
35 |
+
"creation_time": 1675629842.900053,
|
36 |
+
"auxillary_file_paths": [
|
37 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-49999976.pt"
|
38 |
+
]
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"steps": 50000002,
|
42 |
+
"file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-50000002.onnx",
|
43 |
+
"reward": 0.0,
|
44 |
+
"creation_time": 1675629843.0779252,
|
45 |
+
"auxillary_file_paths": [
|
46 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-50000002.pt"
|
47 |
+
]
|
48 |
+
}
|
49 |
+
],
|
50 |
+
"elo": 1781.4644593327691,
|
51 |
+
"final_checkpoint": {
|
52 |
+
"steps": 50000002,
|
53 |
+
"file_path": "results/SoccerTwos/SoccerTwos.onnx",
|
54 |
+
"reward": 0.0,
|
55 |
+
"creation_time": 1675629843.0779252,
|
56 |
+
"auxillary_file_paths": [
|
57 |
+
"results/SoccerTwos/SoccerTwos/SoccerTwos-50000002.pt"
|
58 |
+
]
|
59 |
+
}
|
60 |
+
},
|
61 |
+
"metadata": {
|
62 |
+
"stats_format_version": "0.3.0",
|
63 |
+
"mlagents_version": "0.31.0.dev0",
|
64 |
+
"torch_version": "1.13.1+cu117"
|
65 |
+
}
|
66 |
+
}
|