jvilaseca commited on
Commit
ddf66f4
1 Parent(s): 8e5a1de

First Push

Browse files
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: jvilaseca/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:ed1913dd6b9cdfda54f81e1fbf1e388c62126d973ed36125b54668904084088c
3
+ size 1768746
SoccerTwos/SoccerTwos-22499940.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a71b46d5dd00e4edf9cf571e2103c84f2f1b0fba8d2e8087282d2eae11d0c1f
3
+ size 1768746
SoccerTwos/SoccerTwos-22499940.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43cb2bec7504935164af6d557a3c2c5478196707a32e39ffc22c7d2df5790b63
3
+ size 28430025
SoccerTwos/SoccerTwos-22999895.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:109fddfa765ec973fff11ae3516973bb700af24bba7c722cb462a7fd4c8317f1
3
+ size 1768746
SoccerTwos/SoccerTwos-22999895.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80d6325238431481a9f6881a37a1a2c6e4fdebe196e698f10e0b9f51b437ad94
3
+ size 28430025
SoccerTwos/SoccerTwos-23499988.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f4e9cfcac9cb11c71dde716779abfdc79ab8a03604213a87c1eff5708848bac
3
+ size 1768746
SoccerTwos/SoccerTwos-23499988.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:020ff936637eaa6daa18524db4594f867158755f8d6c8149d72becf509937a81
3
+ size 28430025
SoccerTwos/SoccerTwos-23999902.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b67696b1ab5c4fb6a1ff7789a996e82c674967948a91c5ceff143a466e86720e
3
+ size 1768746
SoccerTwos/SoccerTwos-23999902.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f232600b3298261faf373a9a594f658b9332324bab49473a378edc82e2b8411
3
+ size 28430025
SoccerTwos/SoccerTwos-24016242.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1913dd6b9cdfda54f81e1fbf1e388c62126d973ed36125b54668904084088c
3
+ size 1768746
SoccerTwos/SoccerTwos-24016242.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8a2bf234df2a36f40bf8cf1661ebae95979a3350be214cc8fcc22f8278d4210
3
+ size 28430025
SoccerTwos/SoccerTwos-499316.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11d044dcba3bde67281048b3fc292ffc1b72e9c809d744ebc5ea2b890ceef2ae
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ab07c8100cb6c535e6aa373962a805d2356d5ec5de0ad81c5777f69c913610b
3
+ size 28428927
SoccerTwos/events.out.tfevents.1688235486.el-pepe-equipo.7972.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92372f86f282ea31a7f73836776d5e73ba19d259961683052dd370c040a926d1
3
+ size 300265
SoccerTwos/events.out.tfevents.1688240925.el-pepe-equipo.15320.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7027588e63e1c57cc0d6da61ba081007b145d9401264165176dc33410cf5af17
3
+ size 1978410
SoccerTwos/events.out.tfevents.1688249213.el-pepe-equipo.5628.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:082437bf710e43723a2e16870377ecb15f420e22cec5ce48668a40b48d2c3e2e
3
+ size 21461
SoccerTwos/events.out.tfevents.1688255654.el-pepe-equipo.4816.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb1e48b8b6da7eb102d77729c2aba908684c7683c3c4869a023992d25c60eff1
3
+ size 14657187
SoccerTwos/events.out.tfevents.1688309458.el-pepe-equipo.14940.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40b8fddfae0829b48094267622c648a82da6bb12cb95b4d79273856ffa2759c6
3
+ size 7092705
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.006, "epsilon": 0.2, "lambd": 0.96, "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.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.006
10
+ epsilon: 0.2
11
+ lambd: 0.96
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.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,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'F:/Cursos/HuggingFaceDeepReionforcementLearning/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'F:/Cursos/HuggingFaceDeepReionforcementLearning/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path F:/Cursos/HuggingFaceDeepReionforcementLearning/ml-agents/training-envs-executables/SoccerTwos/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 4.376 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.665800 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 2 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]: 129849 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 411 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 67.1 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_Background Job.Worker 9]
67
+ Initial Block Size 32.0 KB
68
+ Current Block Size 32.0 KB
69
+ Peak Allocated Bytes 54 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 14]
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_Background Job.Worker 6]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 54 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker] x 2
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 54 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 15]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 54 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 1]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 54 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 2]
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_Background Job.Worker 7]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 54 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Job.Worker 1]
137
+ Initial Block Size 256.0 KB
138
+ Current Block Size 256.0 KB
139
+ Peak Allocated Bytes 0.8 KB
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Job.Worker 2]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 256.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 3]
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_Background Job.Worker 11]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 54 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 0]
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_Background Job.Worker 4]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 54 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_BatchDeleteObjects]
167
+ Initial Block Size 64.0 KB
168
+ Current Block Size 64.0 KB
169
+ Peak Allocated Bytes 54 B
170
+ Overflow Count 0
171
+ [ALLOC_DEFAULT] Dual Thread Allocator
172
+ Peak main deferred allocation count 4
173
+ [ALLOC_BUCKET]
174
+ Large Block size 4.0 MB
175
+ Used Block count 1
176
+ Peak Allocated bytes 0.9 MB
177
+ [ALLOC_DEFAULT_MAIN]
178
+ Peak usage frame count: [4.0 MB-8.0 MB]: 129850 frames
179
+ Requested Block Size 16.0 MB
180
+ Peak Block count 1
181
+ Peak Allocated memory 4.9 MB
182
+ Peak Large allocation bytes 0 B
183
+ [ALLOC_DEFAULT_THREAD]
184
+ Peak usage frame count: [16.0 MB-32.0 MB]: 129850 frames
185
+ Requested Block Size 16.0 MB
186
+ Peak Block count 1
187
+ Peak Allocated memory 17.5 MB
188
+ Peak Large allocation bytes 16.0 MB
189
+ [ALLOC_TEMP_JOB_1_FRAME]
190
+ Initial Block Size 2.0 MB
191
+ Used Block Count 1
192
+ Overflow Count (too large) 0
193
+ Overflow Count (full) 0
194
+ [ALLOC_TEMP_JOB_2_FRAMES]
195
+ Initial Block Size 2.0 MB
196
+ Used Block Count 1
197
+ Overflow Count (too large) 0
198
+ Overflow Count (full) 0
199
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
200
+ Initial Block Size 2.0 MB
201
+ Used Block Count 2
202
+ Overflow Count (too large) 0
203
+ Overflow Count (full) 0
204
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
205
+ Initial Block Size 1.0 MB
206
+ Used Block Count 3
207
+ Overflow Count (too large) 0
208
+ Overflow Count (full) 0
209
+ [ALLOC_GFX] Dual Thread Allocator
210
+ Peak main deferred allocation count 0
211
+ [ALLOC_BUCKET]
212
+ Large Block size 4.0 MB
213
+ Used Block count 1
214
+ Peak Allocated bytes 0.9 MB
215
+ [ALLOC_GFX_MAIN]
216
+ Peak usage frame count: [32.0 KB-64.0 KB]: 129849 frames, [64.0 KB-128.0 KB]: 1 frames
217
+ Requested Block Size 16.0 MB
218
+ Peak Block count 1
219
+ Peak Allocated memory 65.6 KB
220
+ Peak Large allocation bytes 0 B
221
+ [ALLOC_GFX_THREAD]
222
+ Peak usage frame count: [128.0 KB-256.0 KB]: 129850 frames
223
+ Requested Block Size 16.0 MB
224
+ Peak Block count 1
225
+ Peak Allocated memory 173.6 KB
226
+ Peak Large allocation bytes 0 B
227
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
228
+ Peak main deferred allocation count 2
229
+ [ALLOC_BUCKET]
230
+ Large Block size 4.0 MB
231
+ Used Block count 1
232
+ Peak Allocated bytes 0.9 MB
233
+ [ALLOC_CACHEOBJECTS_MAIN]
234
+ Peak usage frame count: [0.5 MB-1.0 MB]: 129850 frames
235
+ Requested Block Size 4.0 MB
236
+ Peak Block count 1
237
+ Peak Allocated memory 0.6 MB
238
+ Peak Large allocation bytes 0 B
239
+ [ALLOC_CACHEOBJECTS_THREAD]
240
+ Peak usage frame count: [0.5 MB-1.0 MB]: 129849 frames, [2.0 MB-4.0 MB]: 1 frames
241
+ Requested Block Size 4.0 MB
242
+ Peak Block count 1
243
+ Peak Allocated memory 2.2 MB
244
+ Peak Large allocation bytes 0 B
245
+ [ALLOC_TYPETREE] Dual Thread Allocator
246
+ Peak main deferred allocation count 0
247
+ [ALLOC_BUCKET]
248
+ Large Block size 4.0 MB
249
+ Used Block count 1
250
+ Peak Allocated bytes 0.9 MB
251
+ [ALLOC_TYPETREE_MAIN]
252
+ Peak usage frame count: [0-1.0 KB]: 129850 frames
253
+ Requested Block Size 2.0 MB
254
+ Peak Block count 1
255
+ Peak Allocated memory 1.0 KB
256
+ Peak Large allocation bytes 0 B
257
+ [ALLOC_TYPETREE_THREAD]
258
+ Peak usage frame count: [1.0 KB-2.0 KB]: 129849 frames, [2.0 KB-4.0 KB]: 1 frames
259
+ Requested Block Size 2.0 MB
260
+ Peak Block count 1
261
+ Peak Allocated memory 2.2 KB
262
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.7245991230010986,
6
+ "min": 1.6280959844589233,
7
+ "max": 1.803169846534729,
8
+ "count": 690
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 34050.484375,
12
+ "min": 16252.23046875,
13
+ "max": 41848.55078125,
14
+ "count": 690
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 72.42028985507247,
18
+ "min": 41.73728813559322,
19
+ "max": 107.25,
20
+ "count": 690
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19988.0,
24
+ "min": 7296.0,
25
+ "max": 21240.0,
26
+ "count": 690
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1652.446273309946,
30
+ "min": 1623.0626194903318,
31
+ "max": 1693.4569155917834,
32
+ "count": 690
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 228037.58571677256,
36
+ "min": 114220.06391457033,
37
+ "max": 392609.14351578726,
38
+ "count": 690
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 24009948.0,
42
+ "min": 17119989.0,
43
+ "max": 24009948.0,
44
+ "count": 690
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 24009948.0,
48
+ "min": 17119989.0,
49
+ "max": 24009948.0,
50
+ "count": 690
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.03957207128405571,
54
+ "min": -0.12997280061244965,
55
+ "max": 0.07670627534389496,
56
+ "count": 690
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -5.381801605224609,
60
+ "min": -20.535701751708984,
61
+ "max": 13.755611419677734,
62
+ "count": 690
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.03876207023859024,
66
+ "min": -0.1288316398859024,
67
+ "max": 0.07834520936012268,
68
+ "count": 690
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -5.271641731262207,
72
+ "min": -20.355398178100586,
73
+ "max": 13.634573936462402,
74
+ "count": 690
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 690
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 690
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.046152938814724195,
90
+ "min": -0.36934179067611694,
91
+ "max": 0.3203398482243818,
92
+ "count": 690
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 6.27679967880249,
96
+ "min": -62.43619990348816,
97
+ "max": 46.91000020503998,
98
+ "count": 690
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.046152938814724195,
102
+ "min": -0.36934179067611694,
103
+ "max": 0.3203398482243818,
104
+ "count": 690
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 6.27679967880249,
108
+ "min": -62.43619990348816,
109
+ "max": 46.91000020503998,
110
+ "count": 690
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 690
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 690
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.014841787061747406,
126
+ "min": 0.011989216684984665,
127
+ "max": 0.023097134284519902,
128
+ "count": 334
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.014841787061747406,
132
+ "min": 0.011989216684984665,
133
+ "max": 0.023097134284519902,
134
+ "count": 334
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.10486778641740481,
138
+ "min": 0.08783568665385247,
139
+ "max": 0.13843777825435002,
140
+ "count": 334
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.10486778641740481,
144
+ "min": 0.08783568665385247,
145
+ "max": 0.13843777825435002,
146
+ "count": 334
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.1062960721552372,
150
+ "min": 0.08942758962512017,
151
+ "max": 0.14068217327197394,
152
+ "count": 334
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.1062960721552372,
156
+ "min": 0.08942758962512017,
157
+ "max": 0.14068217327197394,
158
+ "count": 334
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 334
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 334
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 334
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 334
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.006000000000000002,
186
+ "min": 0.006000000000000002,
187
+ "max": 0.006000000000000002,
188
+ "count": 334
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.006000000000000002,
192
+ "min": 0.006000000000000002,
193
+ "max": 0.006000000000000002,
194
+ "count": 334
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1688309449",
200
+ "python_version": "3.9.16 (main, May 17 2023, 17:49:16) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\pepe\\miniconda3\\envs\\rl\\Scripts\\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": "2.0.1+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1688336916"
208
+ },
209
+ "total": 27466.885090400003,
210
+ "count": 1,
211
+ "self": 1.1405648000036308,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.14519139999999986,
215
+ "count": 1,
216
+ "self": 0.14519139999999986
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 27465.5993342,
220
+ "count": 1,
221
+ "self": 11.204596699637477,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 9.80414069999125,
225
+ "count": 36,
226
+ "self": 9.80414069999125
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 27444.38761920037,
230
+ "count": 476298,
231
+ "self": 11.01459670057011,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 7679.875852500507,
235
+ "count": 476298,
236
+ "self": 5911.034287698587,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 1761.6579132017594,
240
+ "count": 476298,
241
+ "self": 67.78359530101602,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 1693.8743179007433,
245
+ "count": 865678,
246
+ "self": 1693.8743179007433
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 7.183651600160358,
252
+ "count": 476297,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 27439.14209659975,
257
+ "count": 476297,
258
+ "is_parallel": true,
259
+ "self": 22733.734255899493,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.06647450001096544,
263
+ "count": 72,
264
+ "is_parallel": true,
265
+ "self": 0.014102900009500985,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.05237160000146446,
269
+ "count": 288,
270
+ "is_parallel": true,
271
+ "self": 0.05237160000146446
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 4705.341366200246,
277
+ "count": 476297,
278
+ "is_parallel": true,
279
+ "self": 237.28460120103773,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 193.13705809924238,
283
+ "count": 476297,
284
+ "is_parallel": true,
285
+ "self": 193.13705809924238
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 3466.292329999416,
289
+ "count": 476297,
290
+ "is_parallel": true,
291
+ "self": 3466.292329999416
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 808.62737690055,
295
+ "count": 952594,
296
+ "is_parallel": true,
297
+ "self": 167.28985730025352,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 641.3375196002964,
301
+ "count": 3810376,
302
+ "is_parallel": true,
303
+ "self": 641.3375196002964
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 19753.497169999293,
317
+ "count": 476297,
318
+ "self": 87.17292039913082,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 2177.9227992001324,
322
+ "count": 476297,
323
+ "self": 2175.370412100131,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 2.5523871000011695,
327
+ "count": 14,
328
+ "self": 2.5523871000011695
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 17488.40145040003,
334
+ "count": 335,
335
+ "self": 1199.457120199988,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 16288.944330200042,
339
+ "count": 10050,
340
+ "self": 16288.944330200042
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 1.2000018614344299e-06,
350
+ "count": 1,
351
+ "self": 1.2000018614344299e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.2029763999998977,
355
+ "count": 1,
356
+ "self": 0.06067310000071302,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.14230329999918467,
360
+ "count": 1,
361
+ "self": 0.14230329999918467
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1652.7421097582996,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 22499940,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-22499940.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1688330550.1759133,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-22499940.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 22999895,
16
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-22999895.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1688332692.1137958,
19
+ "auxillary_file_paths": [
20
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-22999895.pt"
21
+ ]
22
+ },
23
+ {
24
+ "steps": 23499988,
25
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-23499988.onnx",
26
+ "reward": 0.0,
27
+ "creation_time": 1688334736.8827655,
28
+ "auxillary_file_paths": [
29
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-23499988.pt"
30
+ ]
31
+ },
32
+ {
33
+ "steps": 23999902,
34
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-23999902.onnx",
35
+ "reward": 0.0,
36
+ "creation_time": 1688336832.3774817,
37
+ "auxillary_file_paths": [
38
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-23999902.pt"
39
+ ]
40
+ },
41
+ {
42
+ "steps": 24016242,
43
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-24016242.onnx",
44
+ "reward": null,
45
+ "creation_time": 1688336914.8924851,
46
+ "auxillary_file_paths": [
47
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-24016242.pt"
48
+ ]
49
+ }
50
+ ],
51
+ "final_checkpoint": {
52
+ "steps": 24016242,
53
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
54
+ "reward": null,
55
+ "creation_time": 1688336914.8924851,
56
+ "auxillary_file_paths": [
57
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-24016242.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.31.0.dev0",
64
+ "torch_version": "2.0.1+cpu"
65
+ }
66
+ }