s14pe commited on
Commit
ec82cbe
1 Parent(s): c3e0d8f

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: s14pe/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:2776e36efa7367d99d3ecf6fc7bc86fbba65d213a1254e38df17aa5562dbeb91
3
+ size 1768747
SoccerTwos/SoccerTwos-97976.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2776e36efa7367d99d3ecf6fc7bc86fbba65d213a1254e38df17aa5562dbeb91
3
+ size 1768747
SoccerTwos/SoccerTwos-97976.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eebe27f27a19ce4367a8cecc68ae31c36dc8cd0c32eeebebeb919bd92e21541e
3
+ size 28430110
SoccerTwos/SoccerTwos-99550.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2776e36efa7367d99d3ecf6fc7bc86fbba65d213a1254e38df17aa5562dbeb91
3
+ size 1768747
SoccerTwos/SoccerTwos-99550.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a68837cd93bdec8524b19dddbd8c73824dcfa11bd9040dabbf413eb283da6a5
3
+ size 28430110
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:619ff9c46db00b561a2d9224275becd0c75fe5910717598b5c8aefeb3b8529f3
3
+ size 28429366
SoccerTwos/events.out.tfevents.1709854783.31673e4f4f7f.18510.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aa58ee27bedaa523e873001a5d06f28998718205abcfb54e8001f2b53a0eda3
3
+ size 55194
SoccerTwos/events.out.tfevents.1709855351.31673e4f4f7f.20848.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c649f914d1ffaa01322a2580087678e2b0f138263f566b23e2f24299c48b093
3
+ size 1240
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": 5000000, "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": "./SoccerTwos/SoccerTwos.x86_64", "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": "SoccerTwos4", "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: 5000000
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: ./SoccerTwos/SoccerTwos.x86_64
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: SoccerTwos4
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,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
15
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
21
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
22
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
23
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
25
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
31
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
32
+ FMOD initialized on nosound output
33
+ Begin MonoManager ReloadAssembly
34
+ - Completed reload, in 0.175 seconds
35
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
39
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
40
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
41
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
46
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
50
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
51
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
52
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
53
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
54
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
55
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
56
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
57
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
58
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
59
+ UnloadTime: 1.268781 ms
60
+ Registered Communicator in Agent.
61
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
62
+ requesting resize 84 x 84
63
+ GRPC Exception: Status(StatusCode=Cancelled, Detail="CANCELLED"). Disconnecting from trainer.
64
+ Setting up 1 worker threads for Enlighten.
65
+ Memory Statistics:
66
+ [ALLOC_TEMP_TLS] TLS Allocator
67
+ StackAllocators :
68
+ [ALLOC_TEMP_MAIN]
69
+ Peak usage frame count: [8.0 KB-16.0 KB]: 223 frames, [2.0 MB-4.0 MB]: 1 frames
70
+ Initial Block Size 4.0 MB
71
+ Current Block Size 4.0 MB
72
+ Peak Allocated Bytes 2.1 MB
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Loading.AsyncRead]
75
+ Initial Block Size 64.0 KB
76
+ Current Block Size 64.0 KB
77
+ Peak Allocated Bytes 128 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Loading.PreloadManager]
80
+ Initial Block Size 256.0 KB
81
+ Current Block Size 300.0 KB
82
+ Peak Allocated Bytes 249.5 KB
83
+ Overflow Count 4
84
+ [ALLOC_TEMP_Background Job.Worker 8]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 9]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Job.Worker 0]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.0 KB
97
+ Peak Allocated Bytes 0.7 KB
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 10]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 14]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 6]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 12]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_EnlightenWorker]
120
+ Initial Block Size 64.0 KB
121
+ Current Block Size 64.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 15]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 1]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 2]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 7]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
145
+ Initial Block Size 64.0 KB
146
+ Current Block Size 64.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 5]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 13]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 11]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 3]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 0]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 4]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_BatchDeleteObjects]
180
+ Initial Block Size 64.0 KB
181
+ Current Block Size 64.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_DEFAULT] Dual Thread Allocator
185
+ Peak main deferred allocation count 3
186
+ [ALLOC_BUCKET]
187
+ Large Block size 4.0 MB
188
+ Used Block count 1
189
+ Peak Allocated bytes 1.0 MB
190
+ [ALLOC_DEFAULT_MAIN]
191
+ Peak usage frame count: [4.0 MB-8.0 MB]: 224 frames
192
+ Requested Block Size 16.0 MB
193
+ Peak Block count 1
194
+ Peak Allocated memory 4.6 MB
195
+ Peak Large allocation bytes 0 B
196
+ [ALLOC_DEFAULT_THREAD]
197
+ Peak usage frame count: [16.0 MB-32.0 MB]: 224 frames
198
+ Requested Block Size 16.0 MB
199
+ Peak Block count 1
200
+ Peak Allocated memory 17.6 MB
201
+ Peak Large allocation bytes 16.0 MB
202
+ [ALLOC_TEMP_JOB_1_FRAME]
203
+ Initial Block Size 2.0 MB
204
+ Used Block Count 1
205
+ Overflow Count (too large) 0
206
+ Overflow Count (full) 0
207
+ [ALLOC_TEMP_JOB_2_FRAMES]
208
+ Initial Block Size 2.0 MB
209
+ Used Block Count 1
210
+ Overflow Count (too large) 0
211
+ Overflow Count (full) 0
212
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
213
+ Initial Block Size 2.0 MB
214
+ Used Block Count 2
215
+ Overflow Count (too large) 0
216
+ Overflow Count (full) 0
217
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
218
+ Initial Block Size 1.0 MB
219
+ Used Block Count 3
220
+ Overflow Count (too large) 0
221
+ Overflow Count (full) 0
222
+ [ALLOC_GFX] Dual Thread Allocator
223
+ Peak main deferred allocation count 0
224
+ [ALLOC_BUCKET]
225
+ Large Block size 4.0 MB
226
+ Used Block count 1
227
+ Peak Allocated bytes 1.0 MB
228
+ [ALLOC_GFX_MAIN]
229
+ Peak usage frame count: [32.0 KB-64.0 KB]: 223 frames, [64.0 KB-128.0 KB]: 1 frames
230
+ Requested Block Size 16.0 MB
231
+ Peak Block count 1
232
+ Peak Allocated memory 65.6 KB
233
+ Peak Large allocation bytes 0 B
234
+ [ALLOC_GFX_THREAD]
235
+ Peak usage frame count: [128.0 KB-256.0 KB]: 224 frames
236
+ Requested Block Size 16.0 MB
237
+ Peak Block count 1
238
+ Peak Allocated memory 173.5 KB
239
+ Peak Large allocation bytes 0 B
240
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
241
+ Peak main deferred allocation count 0
242
+ [ALLOC_BUCKET]
243
+ Large Block size 4.0 MB
244
+ Used Block count 1
245
+ Peak Allocated bytes 1.0 MB
246
+ [ALLOC_CACHEOBJECTS_MAIN]
247
+ Peak usage frame count: [0.5 MB-1.0 MB]: 224 frames
248
+ Requested Block Size 4.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 0.6 MB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_CACHEOBJECTS_THREAD]
253
+ Peak usage frame count: [0.5 MB-1.0 MB]: 223 frames, [4.0 MB-8.0 MB]: 1 frames
254
+ Requested Block Size 4.0 MB
255
+ Peak Block count 2
256
+ Peak Allocated memory 4.1 MB
257
+ Peak Large allocation bytes 0 B
258
+ [ALLOC_TYPETREE] Dual Thread Allocator
259
+ Peak main deferred allocation count 0
260
+ [ALLOC_BUCKET]
261
+ Large Block size 4.0 MB
262
+ Used Block count 1
263
+ Peak Allocated bytes 1.0 MB
264
+ [ALLOC_TYPETREE_MAIN]
265
+ Peak usage frame count: [0-1.0 KB]: 224 frames
266
+ Requested Block Size 2.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 1.0 KB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_TYPETREE_THREAD]
271
+ Peak usage frame count: [1.0 KB-2.0 KB]: 223 frames, [2.0 KB-4.0 KB]: 1 frames
272
+ Requested Block Size 2.0 MB
273
+ Peak Block count 1
274
+ Peak Allocated memory 2.2 KB
275
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1709855350",
6
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
7
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./ml-agents/config/poca/SoccerTwos.yaml --env=./SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos4 --no-graphics --resume",
8
+ "mlagents_version": "1.1.0.dev0",
9
+ "mlagents_envs_version": "1.1.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "2.2.1+cu121",
12
+ "numpy_version": "1.23.5",
13
+ "end_time_seconds": "1709855380"
14
+ },
15
+ "total": 30.817729033999967,
16
+ "count": 1,
17
+ "self": 0.08031520200074738,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.10699913699954777,
21
+ "count": 1,
22
+ "self": 0.10699913699954777
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 30.630414694999672,
26
+ "count": 1,
27
+ "self": 0.025785284012272314,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 3.0777924209996854,
31
+ "count": 1,
32
+ "self": 3.0777924209996854
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 27.119335028987734,
36
+ "count": 749,
37
+ "self": 0.03692246599621285,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 26.340624560987635,
41
+ "count": 749,
42
+ "self": 21.465994198999397,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 4.857128939994254,
46
+ "count": 749,
47
+ "self": 0.19151635199978045,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 4.665612587994474,
51
+ "count": 1492,
52
+ "self": 4.665612587994474
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.017501421993983968,
58
+ "count": 748,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 30.14253101398299,
63
+ "count": 748,
64
+ "is_parallel": true,
65
+ "self": 12.577866743993582,
66
+ "children": {
67
+ "run_training.setup": {
68
+ "total": 0.0,
69
+ "count": 0,
70
+ "is_parallel": true,
71
+ "self": 0.0,
72
+ "children": {
73
+ "steps_from_proto": {
74
+ "total": 0.005631885999719088,
75
+ "count": 2,
76
+ "is_parallel": true,
77
+ "self": 0.0013725630005865241,
78
+ "children": {
79
+ "_process_rank_one_or_two_observation": {
80
+ "total": 0.004259322999132564,
81
+ "count": 8,
82
+ "is_parallel": true,
83
+ "self": 0.004259322999132564
84
+ }
85
+ }
86
+ },
87
+ "UnityEnvironment.step": {
88
+ "total": 0.04894054199940001,
89
+ "count": 1,
90
+ "is_parallel": true,
91
+ "self": 0.0014388659992619068,
92
+ "children": {
93
+ "UnityEnvironment._generate_step_input": {
94
+ "total": 0.0010060370004794095,
95
+ "count": 1,
96
+ "is_parallel": true,
97
+ "self": 0.0010060370004794095
98
+ },
99
+ "communicator.exchange": {
100
+ "total": 0.042227484000250115,
101
+ "count": 1,
102
+ "is_parallel": true,
103
+ "self": 0.042227484000250115
104
+ },
105
+ "steps_from_proto": {
106
+ "total": 0.00426815499940858,
107
+ "count": 2,
108
+ "is_parallel": true,
109
+ "self": 0.0007725339992248337,
110
+ "children": {
111
+ "_process_rank_one_or_two_observation": {
112
+ "total": 0.0034956210001837462,
113
+ "count": 8,
114
+ "is_parallel": true,
115
+ "self": 0.0034956210001837462
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "UnityEnvironment.step": {
124
+ "total": 17.564664269989407,
125
+ "count": 747,
126
+ "is_parallel": true,
127
+ "self": 1.1215964689818065,
128
+ "children": {
129
+ "UnityEnvironment._generate_step_input": {
130
+ "total": 0.667998961002013,
131
+ "count": 747,
132
+ "is_parallel": true,
133
+ "self": 0.667998961002013
134
+ },
135
+ "communicator.exchange": {
136
+ "total": 12.320223403017735,
137
+ "count": 747,
138
+ "is_parallel": true,
139
+ "self": 12.320223403017735
140
+ },
141
+ "steps_from_proto": {
142
+ "total": 3.4548454369878527,
143
+ "count": 1494,
144
+ "is_parallel": true,
145
+ "self": 0.6219635469697096,
146
+ "children": {
147
+ "_process_rank_one_or_two_observation": {
148
+ "total": 2.832881890018143,
149
+ "count": 5976,
150
+ "is_parallel": true,
151
+ "self": 2.832881890018143
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "trainer_advance": {
164
+ "total": 0.7417880020038865,
165
+ "count": 748,
166
+ "self": 0.08946269500211201,
167
+ "children": {
168
+ "process_trajectory": {
169
+ "total": 0.6523253070017745,
170
+ "count": 748,
171
+ "self": 0.6523253070017745
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "trainer_threads": {
178
+ "total": 1.987999894481618e-06,
179
+ "count": 1,
180
+ "self": 1.987999894481618e-06
181
+ },
182
+ "TrainerController._save_models": {
183
+ "total": 0.40749997300008545,
184
+ "count": 1,
185
+ "self": 0.0038857910003571305,
186
+ "children": {
187
+ "RLTrainer._checkpoint": {
188
+ "total": 0.4036141819997283,
189
+ "count": 1,
190
+ "self": 0.4036141819997283
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1201.021290724926,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 97976,
7
+ "file_path": "results/SoccerTwos4/SoccerTwos/SoccerTwos-97976.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1709855318.3604167,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos4/SoccerTwos/SoccerTwos-97976.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 99550,
16
+ "file_path": "results/SoccerTwos4/SoccerTwos/SoccerTwos-99550.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1709855380.7733178,
19
+ "auxillary_file_paths": [
20
+ "results/SoccerTwos4/SoccerTwos/SoccerTwos-99550.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 99550,
26
+ "file_path": "results/SoccerTwos4/SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1709855380.7733178,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos4/SoccerTwos/SoccerTwos-99550.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "1.1.0.dev0",
37
+ "torch_version": "2.2.1+cu121"
38
+ }
39
+ }