Hrou commited on
Commit
5c4d5d4
·
verified ·
1 Parent(s): 0f09812

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: Hrou/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:0a15316ab8a031c3da9d7092a586e44a71d3e48e07f6970cb911e01a74275e2f
3
+ size 1768747
SoccerTwos/SoccerTwos-13999960.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38fd7f75d33983ddd15866d33d886216c2d3c35dd6024ff72fcfb22d039b6ca4
3
+ size 1768747
SoccerTwos/SoccerTwos-13999960.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0670d22d0586e3c261c9d97375453f0fce848358effababb3e9ae40dd0f208f1
3
+ size 28430482
SoccerTwos/SoccerTwos-14279068.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02e4869660d6a464b705ec4472c96cf7244269517b17fbba1c312b5c2dd464c8
3
+ size 1768747
SoccerTwos/SoccerTwos-14279068.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:093096764c35e4871524beddd7b12af07d4ebc9eef18ddaf675a43ed2ff807e6
3
+ size 28430482
SoccerTwos/SoccerTwos-14389574.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a15316ab8a031c3da9d7092a586e44a71d3e48e07f6970cb911e01a74275e2f
3
+ size 1768747
SoccerTwos/SoccerTwos-14389574.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abd132ee5a7e04d8379d305a695e34d54933b354a486c77b1ee7f5a791e3c999
3
+ size 28430482
SoccerTwos/SoccerTwos-14395324.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a15316ab8a031c3da9d7092a586e44a71d3e48e07f6970cb911e01a74275e2f
3
+ size 1768747
SoccerTwos/SoccerTwos-14395324.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c454a30ae27989a020a603fa66891fa8b5ff3197902d4ffeee2d4f9f5021d7f6
3
+ size 28430482
SoccerTwos/SoccerTwos-14400042.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a15316ab8a031c3da9d7092a586e44a71d3e48e07f6970cb911e01a74275e2f
3
+ size 1768747
SoccerTwos/SoccerTwos-14400042.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0162c5f5a2d60d1f4b2e56080c674e2608ebd6471879dd73d1405294a7d38b5d
3
+ size 28430482
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f2d2a907624dee25bfcbbfe000e822b01e3ceb86539ffd37b88232fb7e98fd6
3
+ size 28429366
SoccerTwos/events.out.tfevents.1740202707.Hrouz-Mac-Pro-Max-224.local.35664.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eafcc55f2fc63a79c8331ed2ad0ddaef7bbc104f7ff7e4bbc030a563e557b673
3
+ size 13926748
SoccerTwos/events.out.tfevents.1740246160.Hrouz-Mac-Pro-Max-224.local.45591.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e16c9b1adb00c39c1b864bcd3143fcf1c08209acd22f529e3a3887d43ebc535
3
+ size 113835
SoccerTwos/events.out.tfevents.1740246520.Hrouz-Mac-Pro-Max-224.local.45726.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eaf58340128e76c2b6a6d8ac83a0cef36882d663a60fa5578053deb43703a3ba
3
+ size 11351
SoccerTwos/events.out.tfevents.1740246559.Hrouz-Mac-Pro-Max-224.local.45757.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa0f3487fd2e9ed8fe7cab1feba89318ee7be68bcdb45899fc8898d245530e8a
3
+ size 11351
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": 14400000, "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.app", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 14400000
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.app
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: true
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/Rava/Desktop/work/huggingface/ml-agents/training-envs-executables/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/Rava/Desktop/work/huggingface/ml-agents/training-envs-executables/SoccerTwos.app/Contents/MonoBleedingEdge/etc'
3
+ New input system (experimental) initialized
4
+ Initialize engine version: 2021.3.17f1 (3e8111cac19d)
5
+ [Subsystems] Discovering subsystems at path /Users/Rava/Desktop/work/huggingface/ml-agents/training-envs-executables/SoccerTwos.app/Contents/Resources/Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.038 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
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.286666 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
+ Thread 0x171227000 may have been prematurely finalized
42
+ Setting up 6 worker threads for Enlighten.
43
+ Memory Statistics:
44
+ [ALLOC_TEMP_TLS] TLS Allocator
45
+ StackAllocators :
46
+ [ALLOC_TEMP_MAIN]
47
+ Peak usage frame count: [8.0 KB-16.0 KB]: 107 frames, [2.0 MB-4.0 MB]: 1 frames
48
+ Initial Block Size 4.0 MB
49
+ Current Block Size 4.0 MB
50
+ Peak Allocated Bytes 2.1 MB
51
+ Overflow Count 0
52
+ [ALLOC_TEMP_Loading.AsyncRead]
53
+ Initial Block Size 64.0 KB
54
+ Current Block Size 64.0 KB
55
+ Peak Allocated Bytes 138 B
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Loading.PreloadManager]
58
+ Initial Block Size 256.0 KB
59
+ Current Block Size 256.0 KB
60
+ Peak Allocated Bytes 78.8 KB
61
+ Overflow Count 4
62
+ [ALLOC_TEMP_Background Job.Worker 8]
63
+ Initial Block Size 32.0 KB
64
+ Current Block Size 32.0 KB
65
+ Peak Allocated Bytes 0 B
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Job.Worker 6]
68
+ Initial Block Size 256.0 KB
69
+ Current Block Size 256.0 KB
70
+ Peak Allocated Bytes 0.7 KB
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Job.Worker 0]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 256.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Background Job.Worker 10]
78
+ Initial Block Size 32.0 KB
79
+ Current Block Size 32.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 9]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 5]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 14]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 6]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Job.Worker 4]
103
+ Initial Block Size 256.0 KB
104
+ Current Block Size 256.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 3]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 12]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_EnlightenWorker] x 6
118
+ Initial Block Size 64.0 KB
119
+ Current Block Size 64.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 15]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 1]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 2]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 7]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Job.Worker 9]
153
+ Initial Block Size 256.0 KB
154
+ Current Block Size 256.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Background Job.Worker 13]
158
+ Initial Block Size 32.0 KB
159
+ Current Block Size 32.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Job.Worker 8]
163
+ Initial Block Size 256.0 KB
164
+ Current Block Size 256.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_OSX HID Input]
168
+ Initial Block Size 64.0 KB
169
+ Current Block Size 64.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 7]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 1]
178
+ Initial Block Size 256.0 KB
179
+ Current Block Size 256.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Job.Worker 2]
183
+ Initial Block Size 256.0 KB
184
+ Current Block Size 256.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 3]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 11]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Job.Worker 10]
198
+ Initial Block Size 256.0 KB
199
+ Current Block Size 256.0 KB
200
+ Peak Allocated Bytes 0 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Background Job.Worker 0]
203
+ Initial Block Size 32.0 KB
204
+ Current Block Size 32.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Background Job.Worker 4]
208
+ Initial Block Size 32.0 KB
209
+ Current Block Size 32.0 KB
210
+ Peak Allocated Bytes 0 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_BatchDeleteObjects]
213
+ Initial Block Size 64.0 KB
214
+ Current Block Size 64.0 KB
215
+ Peak Allocated Bytes 0 B
216
+ Overflow Count 0
217
+ [ALLOC_DEFAULT] Dual Thread Allocator
218
+ Peak main deferred allocation count 3
219
+ [ALLOC_BUCKET]
220
+ Large Block size 4.0 MB
221
+ Used Block count 1
222
+ Peak Allocated bytes 1.0 MB
223
+ [ALLOC_DEFAULT_MAIN]
224
+ Peak usage frame count: [4.0 MB-8.0 MB]: 108 frames
225
+ Requested Block Size 16.0 MB
226
+ Peak Block count 1
227
+ Peak Allocated memory 5.0 MB
228
+ Peak Large allocation bytes 0 B
229
+ [ALLOC_DEFAULT_THREAD]
230
+ Peak usage frame count: [16.0 MB-32.0 MB]: 108 frames
231
+ Requested Block Size 16.0 MB
232
+ Peak Block count 1
233
+ Peak Allocated memory 17.4 MB
234
+ Peak Large allocation bytes 16.0 MB
235
+ [ALLOC_TEMP_JOB_1_FRAME]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_2_FRAMES]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 1
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
246
+ Initial Block Size 2.0 MB
247
+ Used Block Count 2
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
251
+ Initial Block Size 1.0 MB
252
+ Used Block Count 3
253
+ Overflow Count (too large) 0
254
+ Overflow Count (full) 0
255
+ [ALLOC_GFX] Dual Thread Allocator
256
+ Peak main deferred allocation count 0
257
+ [ALLOC_BUCKET]
258
+ Large Block size 4.0 MB
259
+ Used Block count 1
260
+ Peak Allocated bytes 1.0 MB
261
+ [ALLOC_GFX_MAIN]
262
+ Peak usage frame count: [32.0 KB-64.0 KB]: 107 frames, [64.0 KB-128.0 KB]: 1 frames
263
+ Requested Block Size 16.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 65.6 KB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_GFX_THREAD]
268
+ Peak usage frame count: [128.0 KB-256.0 KB]: 108 frames
269
+ Requested Block Size 16.0 MB
270
+ Peak Block count 1
271
+ Peak Allocated memory 173.5 KB
272
+ Peak Large allocation bytes 0 B
273
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
274
+ Peak main deferred allocation count 0
275
+ [ALLOC_BUCKET]
276
+ Large Block size 4.0 MB
277
+ Used Block count 1
278
+ Peak Allocated bytes 1.0 MB
279
+ [ALLOC_CACHEOBJECTS_MAIN]
280
+ Peak usage frame count: [0.5 MB-1.0 MB]: 108 frames
281
+ Requested Block Size 4.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 0.6 MB
284
+ Peak Large allocation bytes 0 B
285
+ [ALLOC_CACHEOBJECTS_THREAD]
286
+ Peak usage frame count: [0.5 MB-1.0 MB]: 107 frames, [2.0 MB-4.0 MB]: 1 frames
287
+ Requested Block Size 4.0 MB
288
+ Peak Block count 1
289
+ Peak Allocated memory 3.4 MB
290
+ Peak Large allocation bytes 0 B
291
+ [ALLOC_TYPETREE] Dual Thread Allocator
292
+ Peak main deferred allocation count 0
293
+ [ALLOC_BUCKET]
294
+ Large Block size 4.0 MB
295
+ Used Block count 1
296
+ Peak Allocated bytes 1.0 MB
297
+ [ALLOC_TYPETREE_MAIN]
298
+ Peak usage frame count: [0-1.0 KB]: 108 frames
299
+ Requested Block Size 2.0 MB
300
+ Peak Block count 1
301
+ Peak Allocated memory 1.0 KB
302
+ Peak Large allocation bytes 0 B
303
+ [ALLOC_TYPETREE_THREAD]
304
+ Peak usage frame count: [1.0 KB-2.0 KB]: 107 frames, [2.0 KB-4.0 KB]: 1 frames
305
+ Requested Block Size 2.0 MB
306
+ Peak Block count 1
307
+ Peak Allocated memory 2.2 KB
308
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.8022698163986206,
6
+ "min": 1.8022698163986206,
7
+ "max": 1.8022698163986206,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 20646.802734375,
12
+ "min": 20646.802734375,
13
+ "max": 20646.802734375,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 52.61363636363637,
18
+ "min": 52.61363636363637,
19
+ "max": 52.61363636363637,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 9260.0,
24
+ "min": 9260.0,
25
+ "max": 9260.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1703.0449882685107,
30
+ "min": 1703.0449882685107,
31
+ "max": 1703.0449882685107,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 149867.95896762895,
36
+ "min": 149867.95896762895,
37
+ "max": 149867.95896762895,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 14399980.0,
42
+ "min": 14399980.0,
43
+ "max": 14399980.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 14399980.0,
48
+ "min": 14399980.0,
49
+ "max": 14399980.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.12761053442955017,
54
+ "min": -0.12761053442955017,
55
+ "max": -0.12761053442955017,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -10.974505424499512,
60
+ "min": -10.974505424499512,
61
+ "max": -10.974505424499512,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.12688703835010529,
66
+ "min": -0.12688703835010529,
67
+ "max": -0.12688703835010529,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -10.912284851074219,
72
+ "min": -10.912284851074219,
73
+ "max": -10.912284851074219,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.3230837209280147,
90
+ "min": -0.3230837209280147,
91
+ "max": -0.3230837209280147,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -27.785199999809265,
96
+ "min": -27.785199999809265,
97
+ "max": -27.785199999809265,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.3230837209280147,
102
+ "min": -0.3230837209280147,
103
+ "max": -0.3230837209280147,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -27.785199999809265,
108
+ "min": -27.785199999809265,
109
+ "max": -27.785199999809265,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1740246558",
128
+ "python_version": "3.10.12 (main, Jul 5 2023, 15:02:25) [Clang 14.0.6 ]",
129
+ "command_line_arguments": "/Users/Rava/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.app --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "1.2.0.dev0",
131
+ "mlagents_envs_version": "1.2.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.6.0",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1740246574"
136
+ },
137
+ "total": 16.636009916997864,
138
+ "count": 1,
139
+ "self": 0.18583970901090652,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.03656129199953284,
143
+ "count": 1,
144
+ "self": 0.03656129199953284
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 16.413608915987425,
148
+ "count": 1,
149
+ "self": 0.002974370145238936,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 1.857082791015273,
153
+ "count": 2,
154
+ "self": 1.857082791015273
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 14.452344170829747,
158
+ "count": 387,
159
+ "self": 0.0027541567687876523,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 13.922965923979064,
163
+ "count": 387,
164
+ "self": 13.51434391582734,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 0.40676737106696237,
168
+ "count": 387,
169
+ "self": 0.012269758910406381,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 0.394497612156556,
173
+ "count": 716,
174
+ "self": 0.394497612156556
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.0018546370847616345,
180
+ "count": 387,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 14.876430246149539,
185
+ "count": 387,
186
+ "is_parallel": true,
187
+ "self": 1.7209492633846821,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.002650748996529728,
191
+ "count": 4,
192
+ "is_parallel": true,
193
+ "self": 0.00036129201180301607,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.002289456984726712,
197
+ "count": 16,
198
+ "is_parallel": true,
199
+ "self": 0.002289456984726712
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 13.152830233768327,
205
+ "count": 387,
206
+ "is_parallel": true,
207
+ "self": 0.03488348981773015,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 0.2457014889077982,
211
+ "count": 387,
212
+ "is_parallel": true,
213
+ "self": 0.2457014889077982
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 12.421524163917638,
217
+ "count": 387,
218
+ "is_parallel": true,
219
+ "self": 12.421524163917638
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 0.45072109112516046,
223
+ "count": 774,
224
+ "is_parallel": true,
225
+ "self": 0.048481980338692665,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 0.4022391107864678,
229
+ "count": 3096,
230
+ "is_parallel": true,
231
+ "self": 0.4022391107864678
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 0.5266240900818957,
245
+ "count": 387,
246
+ "self": 0.018710285075940192,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 0.5079138050059555,
250
+ "count": 387,
251
+ "self": 0.5079138050059555
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "trainer_threads": {
258
+ "total": 2.9199873097240925e-07,
259
+ "count": 1,
260
+ "self": 2.9199873097240925e-07
261
+ },
262
+ "TrainerController._save_models": {
263
+ "total": 0.10120729199843481,
264
+ "count": 1,
265
+ "self": 0.0005302920035319403,
266
+ "children": {
267
+ "RLTrainer._checkpoint": {
268
+ "total": 0.10067699999490287,
269
+ "count": 1,
270
+ "self": 0.10067699999490287
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 13999960,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-13999960.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1740245266.7075741,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-13999960.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 14279068,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-14279068.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1740246122.451235,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14279068.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 14389574,
24
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-14389574.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1740246503.816129,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14389574.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 14395324,
33
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-14395324.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1740246537.359493,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14395324.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 14400042,
42
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-14400042.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1740246574.617383,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14400042.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1702.5459438299781,
51
+ "final_checkpoint": {
52
+ "steps": 14400042,
53
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1740246574.617383,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14400042.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "1.2.0.dev0",
64
+ "torch_version": "2.6.0"
65
+ }
66
+ }