First Push`
Browse files- README.md +35 -0
- SoccerTwos/SoccerTwos-21202.pt +3 -0
- SoccerTwos/SoccerTwos-499930.pt +3 -0
- SoccerTwos/SoccerTwos-499968.pt +3 -0
- SoccerTwos/checkpoint.pt +3 -0
- SoccerTwos/events.out.tfevents.1686234093.bahadir.22076.0 +3 -0
- SoccerTwos/events.out.tfevents.1686236528.bahadir.3068.0 +3 -0
- SoccerTwos/events.out.tfevents.1686237014.bahadir.16276.0 +3 -0
- SoccerTwos/events.out.tfevents.1686237324.bahadir.17984.0 +3 -0
- config.json +1 -0
- configuration.yaml +82 -0
- run_logs/Player-0.log +302 -0
- run_logs/timers.json +207 -0
- run_logs/training_status.json +10 -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: wykonos/poca-SoccerTwos
|
33 |
+
3. Step 2: Select your *.nn /*.onnx file
|
34 |
+
4. Click on Watch the agent play 👀
|
35 |
+
|
SoccerTwos/SoccerTwos-21202.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74d14774bfb411f1ff78dde47f6e509a6d24ae37512b12839d8ff7857efc2a12
|
3 |
+
size 28429659
|
SoccerTwos/SoccerTwos-499930.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12d94a88e9a78b52758fa28951bcbd4e3c8df9ededc4be6ce41c202d5c9cf1f7
|
3 |
+
size 28429781
|
SoccerTwos/SoccerTwos-499968.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5b89c85dda2ebef14071edce7211199b6f0a38d34160dd8de45180cd9f71729
|
3 |
+
size 28429781
|
SoccerTwos/checkpoint.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a967c96bb6016e5f33fc7a7497224206135686dc5d9aa41cc0db8cd503adadf1
|
3 |
+
size 28428927
|
SoccerTwos/events.out.tfevents.1686234093.bahadir.22076.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11baadff01e81cb3fae9514f87a9b9fb47cd9889c78072fee26c0d52829e2e5b
|
3 |
+
size 333177
|
SoccerTwos/events.out.tfevents.1686236528.bahadir.3068.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d94fab2c480dcf64456b0c79ddc3ee1386b0139b13e6fd5f322968372a1aa1f
|
3 |
+
size 2039
|
SoccerTwos/events.out.tfevents.1686237014.bahadir.16276.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f3cda16179e8e8b35322399a11923b2d2e9a9814ec17cd9d517efeed291be84
|
3 |
+
size 1365
|
SoccerTwos/events.out.tfevents.1686237324.bahadir.17984.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e39f1a130fe6dec26c7f4640200df1f120fb0c0aeea2cecc2ec208c19394d7e
|
3 |
+
size 1365
|
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": 3000000, "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.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: 3000000
|
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.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,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Mono path[0] = 'C:/Users/Administrator/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
|
2 |
+
Mono config path = 'C:/Users/Administrator/ml-agents/training-envs-executables/MonoBleedingEdge/etc'
|
3 |
+
Initialize engine version: 2021.3.14f1 (eee1884e7226)
|
4 |
+
[Subsystems] Discovering subsystems at path C:/Users/Administrator/ml-agents/training-envs-executables/SoccerTwos_Data/UnitySubsystems
|
5 |
+
Forcing GfxDevice: Null
|
6 |
+
GfxDevice: creating device client; threaded=0; jobified=0
|
7 |
+
NullGfxDevice:
|
8 |
+
Version: NULL 1.0 [1.0]
|
9 |
+
Renderer: Null Device
|
10 |
+
Vendor: Unity Technologies
|
11 |
+
Begin MonoManager ReloadAssembly
|
12 |
+
- Completed reload, in 0.076 seconds
|
13 |
+
ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
14 |
+
Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
|
15 |
+
ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
16 |
+
ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
17 |
+
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
|
18 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
19 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
20 |
+
ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
21 |
+
WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
|
22 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
23 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
24 |
+
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
|
25 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
26 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
27 |
+
ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
28 |
+
WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
|
29 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
30 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
31 |
+
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
|
32 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
33 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
34 |
+
ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
35 |
+
WARNING: Shader Unsupported: 'Standard' - All subshaders removed
|
36 |
+
WARNING: Shader Did you use #pragma only_renderers and omit this platform?
|
37 |
+
WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
|
38 |
+
UnloadTime: 0.776900 ms
|
39 |
+
Registered Communicator in Agent.
|
40 |
+
ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
|
41 |
+
Setting up 6 worker threads for Enlighten.
|
42 |
+
Memory Statistics:
|
43 |
+
[ALLOC_TEMP_TLS] TLS Allocator
|
44 |
+
StackAllocators :
|
45 |
+
[ALLOC_TEMP_MAIN]
|
46 |
+
Peak usage frame count: [8.0 KB-16.0 KB]: 269 frames, [2.0 MB-4.0 MB]: 1 frames
|
47 |
+
Initial Block Size 4.0 MB
|
48 |
+
Current Block Size 4.0 MB
|
49 |
+
Peak Allocated Bytes 2.0 MB
|
50 |
+
Overflow Count 0
|
51 |
+
[ALLOC_TEMP_Loading.AsyncRead]
|
52 |
+
Initial Block Size 64.0 KB
|
53 |
+
Current Block Size 64.0 KB
|
54 |
+
Peak Allocated Bytes 303 B
|
55 |
+
Overflow Count 0
|
56 |
+
[ALLOC_TEMP_Loading.PreloadManager]
|
57 |
+
Initial Block Size 256.0 KB
|
58 |
+
Current Block Size 256.0 KB
|
59 |
+
Peak Allocated Bytes 68.0 KB
|
60 |
+
Overflow Count 4
|
61 |
+
[ALLOC_TEMP_Background Job.Worker 8]
|
62 |
+
Initial Block Size 32.0 KB
|
63 |
+
Current Block Size 32.0 KB
|
64 |
+
Peak Allocated Bytes 54 B
|
65 |
+
Overflow Count 0
|
66 |
+
[ALLOC_TEMP_Job.Worker 6]
|
67 |
+
Initial Block Size 256.0 KB
|
68 |
+
Current Block Size 256.0 KB
|
69 |
+
Peak Allocated Bytes 0 B
|
70 |
+
Overflow Count 0
|
71 |
+
[ALLOC_TEMP_Job.Worker 0]
|
72 |
+
Initial Block Size 256.0 KB
|
73 |
+
Current Block Size 256.0 KB
|
74 |
+
Peak Allocated Bytes 0 B
|
75 |
+
Overflow Count 0
|
76 |
+
[ALLOC_TEMP_Background Job.Worker 10]
|
77 |
+
Initial Block Size 32.0 KB
|
78 |
+
Current Block Size 32.0 KB
|
79 |
+
Peak Allocated Bytes 54 B
|
80 |
+
Overflow Count 0
|
81 |
+
[ALLOC_TEMP_Background Job.Worker 9]
|
82 |
+
Initial Block Size 32.0 KB
|
83 |
+
Current Block Size 32.0 KB
|
84 |
+
Peak Allocated Bytes 54 B
|
85 |
+
Overflow Count 0
|
86 |
+
[ALLOC_TEMP_Job.Worker 5]
|
87 |
+
Initial Block Size 256.0 KB
|
88 |
+
Current Block Size 256.0 KB
|
89 |
+
Peak Allocated Bytes 0 B
|
90 |
+
Overflow Count 0
|
91 |
+
[ALLOC_TEMP_Background Job.Worker 14]
|
92 |
+
Initial Block Size 32.0 KB
|
93 |
+
Current Block Size 32.0 KB
|
94 |
+
Peak Allocated Bytes 54 B
|
95 |
+
Overflow Count 0
|
96 |
+
[ALLOC_TEMP_Background Job.Worker 6]
|
97 |
+
Initial Block Size 32.0 KB
|
98 |
+
Current Block Size 32.0 KB
|
99 |
+
Peak Allocated Bytes 54 B
|
100 |
+
Overflow Count 0
|
101 |
+
[ALLOC_TEMP_Job.Worker 4]
|
102 |
+
Initial Block Size 256.0 KB
|
103 |
+
Current Block Size 256.0 KB
|
104 |
+
Peak Allocated Bytes 0.8 KB
|
105 |
+
Overflow Count 0
|
106 |
+
[ALLOC_TEMP_Job.Worker 3]
|
107 |
+
Initial Block Size 256.0 KB
|
108 |
+
Current Block Size 256.0 KB
|
109 |
+
Peak Allocated Bytes 0 B
|
110 |
+
Overflow Count 0
|
111 |
+
[ALLOC_TEMP_Background Job.Worker 12]
|
112 |
+
Initial Block Size 32.0 KB
|
113 |
+
Current Block Size 32.0 KB
|
114 |
+
Peak Allocated Bytes 54 B
|
115 |
+
Overflow Count 0
|
116 |
+
[ALLOC_TEMP_EnlightenWorker] x 6
|
117 |
+
Initial Block Size 64.0 KB
|
118 |
+
Current Block Size 64.0 KB
|
119 |
+
Peak Allocated Bytes 54 B
|
120 |
+
Overflow Count 0
|
121 |
+
[ALLOC_TEMP_Background Job.Worker 15]
|
122 |
+
Initial Block Size 32.0 KB
|
123 |
+
Current Block Size 32.0 KB
|
124 |
+
Peak Allocated Bytes 54 B
|
125 |
+
Overflow Count 0
|
126 |
+
[ALLOC_TEMP_Background Job.Worker 1]
|
127 |
+
Initial Block Size 32.0 KB
|
128 |
+
Current Block Size 32.0 KB
|
129 |
+
Peak Allocated Bytes 54 B
|
130 |
+
Overflow Count 0
|
131 |
+
[ALLOC_TEMP_Background Job.Worker 2]
|
132 |
+
Initial Block Size 32.0 KB
|
133 |
+
Current Block Size 32.0 KB
|
134 |
+
Peak Allocated Bytes 54 B
|
135 |
+
Overflow Count 0
|
136 |
+
[ALLOC_TEMP_Background Job.Worker 7]
|
137 |
+
Initial Block Size 32.0 KB
|
138 |
+
Current Block Size 32.0 KB
|
139 |
+
Peak Allocated Bytes 54 B
|
140 |
+
Overflow Count 0
|
141 |
+
[ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
|
142 |
+
Initial Block Size 64.0 KB
|
143 |
+
Current Block Size 64.0 KB
|
144 |
+
Peak Allocated Bytes 0 B
|
145 |
+
Overflow Count 0
|
146 |
+
[ALLOC_TEMP_Background Job.Worker 5]
|
147 |
+
Initial Block Size 32.0 KB
|
148 |
+
Current Block Size 32.0 KB
|
149 |
+
Peak Allocated Bytes 54 B
|
150 |
+
Overflow Count 0
|
151 |
+
[ALLOC_TEMP_Job.Worker 9]
|
152 |
+
Initial Block Size 256.0 KB
|
153 |
+
Current Block Size 256.0 KB
|
154 |
+
Peak Allocated Bytes 0 B
|
155 |
+
Overflow Count 0
|
156 |
+
[ALLOC_TEMP_Background Job.Worker 13]
|
157 |
+
Initial Block Size 32.0 KB
|
158 |
+
Current Block Size 32.0 KB
|
159 |
+
Peak Allocated Bytes 54 B
|
160 |
+
Overflow Count 0
|
161 |
+
[ALLOC_TEMP_Job.Worker 8]
|
162 |
+
Initial Block Size 256.0 KB
|
163 |
+
Current Block Size 256.0 KB
|
164 |
+
Peak Allocated Bytes 0 B
|
165 |
+
Overflow Count 0
|
166 |
+
[ALLOC_TEMP_Job.Worker 7]
|
167 |
+
Initial Block Size 256.0 KB
|
168 |
+
Current Block Size 256.0 KB
|
169 |
+
Peak Allocated Bytes 0 B
|
170 |
+
Overflow Count 0
|
171 |
+
[ALLOC_TEMP_Job.Worker 1]
|
172 |
+
Initial Block Size 256.0 KB
|
173 |
+
Current Block Size 256.0 KB
|
174 |
+
Peak Allocated Bytes 0 B
|
175 |
+
Overflow Count 0
|
176 |
+
[ALLOC_TEMP_Job.Worker 2]
|
177 |
+
Initial Block Size 256.0 KB
|
178 |
+
Current Block Size 256.0 KB
|
179 |
+
Peak Allocated Bytes 0 B
|
180 |
+
Overflow Count 0
|
181 |
+
[ALLOC_TEMP_Background Job.Worker 3]
|
182 |
+
Initial Block Size 32.0 KB
|
183 |
+
Current Block Size 32.0 KB
|
184 |
+
Peak Allocated Bytes 54 B
|
185 |
+
Overflow Count 0
|
186 |
+
[ALLOC_TEMP_Background Job.Worker 11]
|
187 |
+
Initial Block Size 32.0 KB
|
188 |
+
Current Block Size 32.0 KB
|
189 |
+
Peak Allocated Bytes 54 B
|
190 |
+
Overflow Count 0
|
191 |
+
[ALLOC_TEMP_Job.Worker 10]
|
192 |
+
Initial Block Size 256.0 KB
|
193 |
+
Current Block Size 256.0 KB
|
194 |
+
Peak Allocated Bytes 54 B
|
195 |
+
Overflow Count 0
|
196 |
+
[ALLOC_TEMP_Background Job.Worker 0]
|
197 |
+
Initial Block Size 32.0 KB
|
198 |
+
Current Block Size 32.0 KB
|
199 |
+
Peak Allocated Bytes 54 B
|
200 |
+
Overflow Count 0
|
201 |
+
[ALLOC_TEMP_Background Job.Worker 4]
|
202 |
+
Initial Block Size 32.0 KB
|
203 |
+
Current Block Size 32.0 KB
|
204 |
+
Peak Allocated Bytes 54 B
|
205 |
+
Overflow Count 0
|
206 |
+
[ALLOC_TEMP_BatchDeleteObjects]
|
207 |
+
Initial Block Size 64.0 KB
|
208 |
+
Current Block Size 64.0 KB
|
209 |
+
Peak Allocated Bytes 54 B
|
210 |
+
Overflow Count 0
|
211 |
+
[ALLOC_DEFAULT] Dual Thread Allocator
|
212 |
+
Peak main deferred allocation count 4
|
213 |
+
[ALLOC_BUCKET]
|
214 |
+
Large Block size 4.0 MB
|
215 |
+
Used Block count 1
|
216 |
+
Peak Allocated bytes 0.9 MB
|
217 |
+
[ALLOC_DEFAULT_MAIN]
|
218 |
+
Peak usage frame count: [4.0 MB-8.0 MB]: 270 frames
|
219 |
+
Requested Block Size 16.0 MB
|
220 |
+
Peak Block count 1
|
221 |
+
Peak Allocated memory 5.0 MB
|
222 |
+
Peak Large allocation bytes 0 B
|
223 |
+
[ALLOC_DEFAULT_THREAD]
|
224 |
+
Peak usage frame count: [16.0 MB-32.0 MB]: 270 frames
|
225 |
+
Requested Block Size 16.0 MB
|
226 |
+
Peak Block count 1
|
227 |
+
Peak Allocated memory 17.2 MB
|
228 |
+
Peak Large allocation bytes 16.0 MB
|
229 |
+
[ALLOC_TEMP_JOB_1_FRAME]
|
230 |
+
Initial Block Size 2.0 MB
|
231 |
+
Used Block Count 1
|
232 |
+
Overflow Count (too large) 0
|
233 |
+
Overflow Count (full) 0
|
234 |
+
[ALLOC_TEMP_JOB_2_FRAMES]
|
235 |
+
Initial Block Size 2.0 MB
|
236 |
+
Used Block Count 1
|
237 |
+
Overflow Count (too large) 0
|
238 |
+
Overflow Count (full) 0
|
239 |
+
[ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
|
240 |
+
Initial Block Size 2.0 MB
|
241 |
+
Used Block Count 2
|
242 |
+
Overflow Count (too large) 0
|
243 |
+
Overflow Count (full) 0
|
244 |
+
[ALLOC_TEMP_JOB_ASYNC (Background)]
|
245 |
+
Initial Block Size 1.0 MB
|
246 |
+
Used Block Count 3
|
247 |
+
Overflow Count (too large) 0
|
248 |
+
Overflow Count (full) 0
|
249 |
+
[ALLOC_GFX] Dual Thread Allocator
|
250 |
+
Peak main deferred allocation count 0
|
251 |
+
[ALLOC_BUCKET]
|
252 |
+
Large Block size 4.0 MB
|
253 |
+
Used Block count 1
|
254 |
+
Peak Allocated bytes 0.9 MB
|
255 |
+
[ALLOC_GFX_MAIN]
|
256 |
+
Peak usage frame count: [32.0 KB-64.0 KB]: 269 frames, [64.0 KB-128.0 KB]: 1 frames
|
257 |
+
Requested Block Size 16.0 MB
|
258 |
+
Peak Block count 1
|
259 |
+
Peak Allocated memory 65.6 KB
|
260 |
+
Peak Large allocation bytes 0 B
|
261 |
+
[ALLOC_GFX_THREAD]
|
262 |
+
Peak usage frame count: [128.0 KB-256.0 KB]: 270 frames
|
263 |
+
Requested Block Size 16.0 MB
|
264 |
+
Peak Block count 1
|
265 |
+
Peak Allocated memory 173.6 KB
|
266 |
+
Peak Large allocation bytes 0 B
|
267 |
+
[ALLOC_CACHEOBJECTS] Dual Thread Allocator
|
268 |
+
Peak main deferred allocation count 2
|
269 |
+
[ALLOC_BUCKET]
|
270 |
+
Large Block size 4.0 MB
|
271 |
+
Used Block count 1
|
272 |
+
Peak Allocated bytes 0.9 MB
|
273 |
+
[ALLOC_CACHEOBJECTS_MAIN]
|
274 |
+
Peak usage frame count: [0.5 MB-1.0 MB]: 270 frames
|
275 |
+
Requested Block Size 4.0 MB
|
276 |
+
Peak Block count 1
|
277 |
+
Peak Allocated memory 0.6 MB
|
278 |
+
Peak Large allocation bytes 0 B
|
279 |
+
[ALLOC_CACHEOBJECTS_THREAD]
|
280 |
+
Peak usage frame count: [0.5 MB-1.0 MB]: 269 frames, [2.0 MB-4.0 MB]: 1 frames
|
281 |
+
Requested Block Size 4.0 MB
|
282 |
+
Peak Block count 1
|
283 |
+
Peak Allocated memory 3.2 MB
|
284 |
+
Peak Large allocation bytes 0 B
|
285 |
+
[ALLOC_TYPETREE] Dual Thread Allocator
|
286 |
+
Peak main deferred allocation count 0
|
287 |
+
[ALLOC_BUCKET]
|
288 |
+
Large Block size 4.0 MB
|
289 |
+
Used Block count 1
|
290 |
+
Peak Allocated bytes 0.9 MB
|
291 |
+
[ALLOC_TYPETREE_MAIN]
|
292 |
+
Peak usage frame count: [0-1.0 KB]: 270 frames
|
293 |
+
Requested Block Size 2.0 MB
|
294 |
+
Peak Block count 1
|
295 |
+
Peak Allocated memory 1.0 KB
|
296 |
+
Peak Large allocation bytes 0 B
|
297 |
+
[ALLOC_TYPETREE_THREAD]
|
298 |
+
Peak usage frame count: [1.0 KB-2.0 KB]: 269 frames, [2.0 KB-4.0 KB]: 1 frames
|
299 |
+
Requested Block Size 2.0 MB
|
300 |
+
Peak Block count 1
|
301 |
+
Peak Allocated memory 2.2 KB
|
302 |
+
Peak Large allocation bytes 0 B
|
run_logs/timers.json
ADDED
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "root",
|
3 |
+
"gauges": {
|
4 |
+
"SoccerTwos.Policy.Entropy.mean": {
|
5 |
+
"value": 3.1910207271575928,
|
6 |
+
"min": 3.1910207271575928,
|
7 |
+
"max": 3.1910207271575928,
|
8 |
+
"count": 1
|
9 |
+
},
|
10 |
+
"SoccerTwos.Policy.Entropy.sum": {
|
11 |
+
"value": 91901.3984375,
|
12 |
+
"min": 91901.3984375,
|
13 |
+
"max": 91901.3984375,
|
14 |
+
"count": 1
|
15 |
+
},
|
16 |
+
"SoccerTwos.Environment.EpisodeLength.mean": {
|
17 |
+
"value": 898.0,
|
18 |
+
"min": 898.0,
|
19 |
+
"max": 898.0,
|
20 |
+
"count": 1
|
21 |
+
},
|
22 |
+
"SoccerTwos.Environment.EpisodeLength.sum": {
|
23 |
+
"value": 3592.0,
|
24 |
+
"min": 3592.0,
|
25 |
+
"max": 3592.0,
|
26 |
+
"count": 1
|
27 |
+
},
|
28 |
+
"SoccerTwos.Self-play.ELO.mean": {
|
29 |
+
"value": 1193.187667180074,
|
30 |
+
"min": 1193.187667180074,
|
31 |
+
"max": 1193.187667180074,
|
32 |
+
"count": 1
|
33 |
+
},
|
34 |
+
"SoccerTwos.Self-play.ELO.sum": {
|
35 |
+
"value": 2386.375334360148,
|
36 |
+
"min": 2386.375334360148,
|
37 |
+
"max": 2386.375334360148,
|
38 |
+
"count": 1
|
39 |
+
},
|
40 |
+
"SoccerTwos.IsTraining.mean": {
|
41 |
+
"value": 1.0,
|
42 |
+
"min": 1.0,
|
43 |
+
"max": 1.0,
|
44 |
+
"count": 1
|
45 |
+
},
|
46 |
+
"SoccerTwos.IsTraining.sum": {
|
47 |
+
"value": 1.0,
|
48 |
+
"min": 1.0,
|
49 |
+
"max": 1.0,
|
50 |
+
"count": 1
|
51 |
+
}
|
52 |
+
},
|
53 |
+
"metadata": {
|
54 |
+
"timer_format_version": "0.1.0",
|
55 |
+
"start_time_seconds": "1686237322",
|
56 |
+
"python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
|
57 |
+
"command_line_arguments": "C:\\Users\\Administrator\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
|
58 |
+
"mlagents_version": "0.31.0.dev0",
|
59 |
+
"mlagents_envs_version": "0.31.0.dev0",
|
60 |
+
"communication_protocol_version": "1.5.0",
|
61 |
+
"pytorch_version": "2.0.1+cpu",
|
62 |
+
"numpy_version": "1.22.3",
|
63 |
+
"end_time_seconds": "1686237337"
|
64 |
+
},
|
65 |
+
"total": 15.100457500000001,
|
66 |
+
"count": 1,
|
67 |
+
"self": 0.21041910000000286,
|
68 |
+
"children": {
|
69 |
+
"run_training.setup": {
|
70 |
+
"total": 0.06275950000000008,
|
71 |
+
"count": 1,
|
72 |
+
"self": 0.06275950000000008
|
73 |
+
},
|
74 |
+
"TrainerController.start_learning": {
|
75 |
+
"total": 14.827278899999998,
|
76 |
+
"count": 1,
|
77 |
+
"self": 0.01628900000000577,
|
78 |
+
"children": {
|
79 |
+
"TrainerController._reset_env": {
|
80 |
+
"total": 2.241526499999999,
|
81 |
+
"count": 2,
|
82 |
+
"self": 2.241526499999999
|
83 |
+
},
|
84 |
+
"TrainerController.advance": {
|
85 |
+
"total": 12.467397699999992,
|
86 |
+
"count": 900,
|
87 |
+
"self": 0.01692699999995817,
|
88 |
+
"children": {
|
89 |
+
"env_step": {
|
90 |
+
"total": 12.264519899999998,
|
91 |
+
"count": 900,
|
92 |
+
"self": 9.428376599999991,
|
93 |
+
"children": {
|
94 |
+
"SubprocessEnvManager._take_step": {
|
95 |
+
"total": 2.8254497999999764,
|
96 |
+
"count": 900,
|
97 |
+
"self": 0.0881563999999706,
|
98 |
+
"children": {
|
99 |
+
"TorchPolicy.evaluate": {
|
100 |
+
"total": 2.7372934000000058,
|
101 |
+
"count": 1800,
|
102 |
+
"self": 2.7372934000000058
|
103 |
+
}
|
104 |
+
}
|
105 |
+
},
|
106 |
+
"workers": {
|
107 |
+
"total": 0.010693500000030554,
|
108 |
+
"count": 900,
|
109 |
+
"self": 0.0,
|
110 |
+
"children": {
|
111 |
+
"worker_root": {
|
112 |
+
"total": 12.390009000000012,
|
113 |
+
"count": 900,
|
114 |
+
"is_parallel": true,
|
115 |
+
"self": 4.905851500000017,
|
116 |
+
"children": {
|
117 |
+
"steps_from_proto": {
|
118 |
+
"total": 0.002716099999999777,
|
119 |
+
"count": 4,
|
120 |
+
"is_parallel": true,
|
121 |
+
"self": 0.0005649999999994826,
|
122 |
+
"children": {
|
123 |
+
"_process_rank_one_or_two_observation": {
|
124 |
+
"total": 0.0021511000000002944,
|
125 |
+
"count": 16,
|
126 |
+
"is_parallel": true,
|
127 |
+
"self": 0.0021511000000002944
|
128 |
+
}
|
129 |
+
}
|
130 |
+
},
|
131 |
+
"UnityEnvironment.step": {
|
132 |
+
"total": 7.481441399999995,
|
133 |
+
"count": 900,
|
134 |
+
"is_parallel": true,
|
135 |
+
"self": 0.44363679999999217,
|
136 |
+
"children": {
|
137 |
+
"UnityEnvironment._generate_step_input": {
|
138 |
+
"total": 0.3369726000000153,
|
139 |
+
"count": 900,
|
140 |
+
"is_parallel": true,
|
141 |
+
"self": 0.3369726000000153
|
142 |
+
},
|
143 |
+
"communicator.exchange": {
|
144 |
+
"total": 5.312508600000003,
|
145 |
+
"count": 900,
|
146 |
+
"is_parallel": true,
|
147 |
+
"self": 5.312508600000003
|
148 |
+
},
|
149 |
+
"steps_from_proto": {
|
150 |
+
"total": 1.3883233999999853,
|
151 |
+
"count": 1800,
|
152 |
+
"is_parallel": true,
|
153 |
+
"self": 0.2711718000000083,
|
154 |
+
"children": {
|
155 |
+
"_process_rank_one_or_two_observation": {
|
156 |
+
"total": 1.117151599999977,
|
157 |
+
"count": 7200,
|
158 |
+
"is_parallel": true,
|
159 |
+
"self": 1.117151599999977
|
160 |
+
}
|
161 |
+
}
|
162 |
+
}
|
163 |
+
}
|
164 |
+
}
|
165 |
+
}
|
166 |
+
}
|
167 |
+
}
|
168 |
+
}
|
169 |
+
}
|
170 |
+
},
|
171 |
+
"trainer_advance": {
|
172 |
+
"total": 0.18595080000003605,
|
173 |
+
"count": 900,
|
174 |
+
"self": 0.047295400000007426,
|
175 |
+
"children": {
|
176 |
+
"process_trajectory": {
|
177 |
+
"total": 0.13865540000002863,
|
178 |
+
"count": 900,
|
179 |
+
"self": 0.0075611000000312956,
|
180 |
+
"children": {
|
181 |
+
"RLTrainer._checkpoint": {
|
182 |
+
"total": 0.13109429999999733,
|
183 |
+
"count": 1,
|
184 |
+
"self": 0.13109429999999733
|
185 |
+
}
|
186 |
+
}
|
187 |
+
}
|
188 |
+
}
|
189 |
+
}
|
190 |
+
}
|
191 |
+
},
|
192 |
+
"TrainerController._save_models": {
|
193 |
+
"total": 0.1020657000000007,
|
194 |
+
"count": 1,
|
195 |
+
"self": 3.210000000208879e-05,
|
196 |
+
"children": {
|
197 |
+
"RLTrainer._checkpoint": {
|
198 |
+
"total": 0.10203359999999861,
|
199 |
+
"count": 1,
|
200 |
+
"self": 0.10203359999999861
|
201 |
+
}
|
202 |
+
}
|
203 |
+
}
|
204 |
+
}
|
205 |
+
}
|
206 |
+
}
|
207 |
+
}
|
run_logs/training_status.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"SoccerTwos": {
|
3 |
+
"elo": 1193.4369476242193
|
4 |
+
},
|
5 |
+
"metadata": {
|
6 |
+
"stats_format_version": "0.3.0",
|
7 |
+
"mlagents_version": "0.31.0.dev0",
|
8 |
+
"torch_version": "2.0.1+cpu"
|
9 |
+
}
|
10 |
+
}
|