File size: 15,675 Bytes
d3ee330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
{
    "name": "root",
    "gauges": {
        "SoccerTwos.Policy.Entropy.mean": {
            "value": 1.4032293558120728,
            "min": 1.335113525390625,
            "max": 3.2957358360290527,
            "count": 4999
        },
        "SoccerTwos.Policy.Entropy.sum": {
            "value": 28827.943359375,
            "min": 16326.2392578125,
            "max": 132883.015625,
            "count": 4999
        },
        "SoccerTwos.Environment.EpisodeLength.mean": {
            "value": 64.36842105263158,
            "min": 42.017699115044245,
            "max": 999.0,
            "count": 4999
        },
        "SoccerTwos.Environment.EpisodeLength.sum": {
            "value": 19568.0,
            "min": 12464.0,
            "max": 31968.0,
            "count": 4999
        },
        "SoccerTwos.Step.mean": {
            "value": 49999837.0,
            "min": 9000.0,
            "max": 49999837.0,
            "count": 5000
        },
        "SoccerTwos.Step.sum": {
            "value": 49999837.0,
            "min": 9000.0,
            "max": 49999837.0,
            "count": 5000
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
            "value": 0.005748743191361427,
            "min": -0.16800421476364136,
            "max": 0.15263666212558746,
            "count": 5000
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
            "value": 0.8738089799880981,
            "min": -25.766983032226562,
            "max": 26.063232421875,
            "count": 5000
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.0035653365775942802,
            "min": -0.16701161861419678,
            "max": 0.1564570665359497,
            "count": 5000
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
            "value": 0.54193115234375,
            "min": -25.923744201660156,
            "max": 24.64728546142578,
            "count": 5000
        },
        "SoccerTwos.Environment.CumulativeReward.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 5000
        },
        "SoccerTwos.Environment.CumulativeReward.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 5000
        },
        "SoccerTwos.Policy.ExtrinsicReward.mean": {
            "value": 0.017406578910978215,
            "min": -0.6923076923076923,
            "max": 0.549299999590843,
            "count": 5000
        },
        "SoccerTwos.Policy.ExtrinsicReward.sum": {
            "value": 2.645799994468689,
            "min": -71.9348002076149,
            "max": 56.54180043935776,
            "count": 5000
        },
        "SoccerTwos.Environment.GroupCumulativeReward.mean": {
            "value": 0.017406578910978215,
            "min": -0.6923076923076923,
            "max": 0.549299999590843,
            "count": 5000
        },
        "SoccerTwos.Environment.GroupCumulativeReward.sum": {
            "value": 2.645799994468689,
            "min": -71.9348002076149,
            "max": 56.54180043935776,
            "count": 5000
        },
        "SoccerTwos.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 5000
        },
        "SoccerTwos.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 5000
        },
        "SoccerTwos.Self-play.ELO.mean": {
            "value": 1653.402986118717,
            "min": 1184.9540952187335,
            "max": 1657.4334998334316,
            "count": 4989
        },
        "SoccerTwos.Self-play.ELO.sum": {
            "value": 251317.253890045,
            "min": 2369.908190437467,
            "max": 370950.81130859273,
            "count": 4989
        },
        "SoccerTwos.Losses.PolicyLoss.mean": {
            "value": 0.014911050900506477,
            "min": 0.009855329223986095,
            "max": 0.02534129578756013,
            "count": 2422
        },
        "SoccerTwos.Losses.PolicyLoss.sum": {
            "value": 0.014911050900506477,
            "min": 0.009855329223986095,
            "max": 0.02534129578756013,
            "count": 2422
        },
        "SoccerTwos.Losses.ValueLoss.mean": {
            "value": 0.11463145092129708,
            "min": 7.451118945027702e-05,
            "max": 0.12258531252543131,
            "count": 2422
        },
        "SoccerTwos.Losses.ValueLoss.sum": {
            "value": 0.11463145092129708,
            "min": 7.451118945027702e-05,
            "max": 0.12258531252543131,
            "count": 2422
        },
        "SoccerTwos.Losses.BaselineLoss.mean": {
            "value": 0.1156033140917619,
            "min": 8.000898681833253e-05,
            "max": 0.12473117758830389,
            "count": 2422
        },
        "SoccerTwos.Losses.BaselineLoss.sum": {
            "value": 0.1156033140917619,
            "min": 8.000898681833253e-05,
            "max": 0.12473117758830389,
            "count": 2422
        },
        "SoccerTwos.Policy.LearningRate.mean": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 2422
        },
        "SoccerTwos.Policy.LearningRate.sum": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 2422
        },
        "SoccerTwos.Policy.Epsilon.mean": {
            "value": 0.20000000000000007,
            "min": 0.19999999999999993,
            "max": 0.20000000000000007,
            "count": 2422
        },
        "SoccerTwos.Policy.Epsilon.sum": {
            "value": 0.20000000000000007,
            "min": 0.19999999999999993,
            "max": 0.20000000000000007,
            "count": 2422
        },
        "SoccerTwos.Policy.Beta.mean": {
            "value": 0.005000000000000001,
            "min": 0.005000000000000001,
            "max": 0.005000000000000001,
            "count": 2422
        },
        "SoccerTwos.Policy.Beta.sum": {
            "value": 0.005000000000000001,
            "min": 0.005000000000000001,
            "max": 0.005000000000000001,
            "count": 2422
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1725432822",
        "python_version": "3.10.12 (main, Jul  5 2023, 15:02:25) [Clang 14.0.6 ]",
        "command_line_arguments": "/opt/homebrew/Caskroom/miniconda/base/envs/ml-agents/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.4.0",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1725575282"
    },
    "total": 142458.34137191717,
    "count": 1,
    "self": 0.18699249997735023,
    "children": {
        "run_training.setup": {
            "total": 0.014624916948378086,
            "count": 1,
            "self": 0.014624916948378086
        },
        "TrainerController.start_learning": {
            "total": 142458.13975450024,
            "count": 1,
            "self": 28.19141752179712,
            "children": {
                "TrainerController._reset_env": {
                    "total": 11.047923249658197,
                    "count": 250,
                    "self": 11.047923249658197
                },
                "TrainerController.advance": {
                    "total": 142418.81520447833,
                    "count": 3427684,
                    "self": 26.96817143401131,
                    "children": {
                        "env_step": {
                            "total": 114470.66904603597,
                            "count": 3427684,
                            "self": 110344.05174450623,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 4104.1215292685665,
                                    "count": 3427684,
                                    "self": 123.97406195709482,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 3980.1474673114717,
                                            "count": 6280080,
                                            "self": 3980.1474673114717
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 22.495772261172533,
                                    "count": 3427684,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 142411.53307974525,
                                            "count": 3427684,
                                            "is_parallel": true,
                                            "self": 35912.720678471494,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.2789099640212953,
                                                    "count": 500,
                                                    "is_parallel": true,
                                                    "self": 0.03130230400711298,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.24760766001418233,
                                                            "count": 2000,
                                                            "is_parallel": true,
                                                            "self": 0.24760766001418233
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 106498.53349130973,
                                                    "count": 3427684,
                                                    "is_parallel": true,
                                                    "self": 276.2459207624197,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 1936.5180972204544,
                                                            "count": 3427684,
                                                            "is_parallel": true,
                                                            "self": 1936.5180972204544
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 100733.32693901518,
                                                            "count": 3427684,
                                                            "is_parallel": true,
                                                            "self": 100733.32693901518
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 3552.4425343116745,
                                                            "count": 6855368,
                                                            "is_parallel": true,
                                                            "self": 394.96940548857674,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 3157.473128823098,
                                                                    "count": 27421472,
                                                                    "is_parallel": true,
                                                                    "self": 3157.473128823098
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 27921.177987008356,
                            "count": 3427684,
                            "self": 257.7169491527602,
                            "children": {
                                "process_trajectory": {
                                    "total": 5863.179171543568,
                                    "count": 3427684,
                                    "self": 5854.6805919976905,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 8.498579545877874,
                                            "count": 100,
                                            "self": 8.498579545877874
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 21800.281866312027,
                                    "count": 2422,
                                    "self": 2380.0092728282325,
                                    "children": {
                                        "TorchPOCAOptimizer.update": {
                                            "total": 19420.272593483794,
                                            "count": 72681,
                                            "self": 19420.272593483794
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.915039658546448e-07,
                    "count": 1,
                    "self": 2.915039658546448e-07
                },
                "TrainerController._save_models": {
                    "total": 0.08520895894616842,
                    "count": 1,
                    "self": 0.000859375111758709,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08434958383440971,
                            "count": 1,
                            "self": 0.08434958383440971
                        }
                    }
                }
            }
        }
    }
}