File size: 15,585 Bytes
38e267e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 3.2190001010894775,
            "min": 3.2146222591400146,
            "max": 3.2956621646881104,
            "count": 50
        },
        "SoccerTwos.Policy.Entropy.sum": {
            "value": 58714.5625,
            "min": 20604.1796875,
            "max": 105461.1015625,
            "count": 50
        },
        "SoccerTwos.Environment.EpisodeLength.mean": {
            "value": 838.1666666666666,
            "min": 497.7142857142857,
            "max": 999.0,
            "count": 50
        },
        "SoccerTwos.Environment.EpisodeLength.sum": {
            "value": 20116.0,
            "min": 13936.0,
            "max": 26792.0,
            "count": 50
        },
        "SoccerTwos.Self-play.ELO.mean": {
            "value": 1201.8369019016518,
            "min": 1199.9974538302758,
            "max": 1203.738483275568,
            "count": 39
        },
        "SoccerTwos.Self-play.ELO.sum": {
            "value": 2403.6738038033036,
            "min": 2401.2451378393007,
            "max": 12020.272556829543,
            "count": 39
        },
        "SoccerTwos.Step.mean": {
            "value": 499256.0,
            "min": 9412.0,
            "max": 499256.0,
            "count": 50
        },
        "SoccerTwos.Step.sum": {
            "value": 499256.0,
            "min": 9412.0,
            "max": 499256.0,
            "count": 50
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
            "value": -0.003929981496185064,
            "min": -0.03648779168725014,
            "max": 0.005335965659469366,
            "count": 50
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
            "value": -0.04715977609157562,
            "min": -0.5837496519088745,
            "max": 0.05869562178850174,
            "count": 50
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.004715268965810537,
            "min": -0.03699361905455589,
            "max": 0.006528547499328852,
            "count": 50
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
            "value": -0.0565832257270813,
            "min": -0.5830723643302917,
            "max": 0.07509464770555496,
            "count": 50
        },
        "SoccerTwos.Environment.CumulativeReward.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 50
        },
        "SoccerTwos.Environment.CumulativeReward.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 50
        },
        "SoccerTwos.Policy.ExtrinsicReward.mean": {
            "value": 0.16076667110125223,
            "min": -0.36363636363636365,
            "max": 0.21583332618077597,
            "count": 50
        },
        "SoccerTwos.Policy.ExtrinsicReward.sum": {
            "value": 1.9292000532150269,
            "min": -5.31879997253418,
            "max": 2.5899999141693115,
            "count": 50
        },
        "SoccerTwos.Environment.GroupCumulativeReward.mean": {
            "value": 0.16076667110125223,
            "min": -0.36363636363636365,
            "max": 0.21583332618077597,
            "count": 50
        },
        "SoccerTwos.Environment.GroupCumulativeReward.sum": {
            "value": 1.9292000532150269,
            "min": -5.31879997253418,
            "max": 2.5899999141693115,
            "count": 50
        },
        "SoccerTwos.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 50
        },
        "SoccerTwos.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 50
        },
        "SoccerTwos.Losses.PolicyLoss.mean": {
            "value": 0.01742521966419493,
            "min": 0.010899747181489753,
            "max": 0.019906042632646857,
            "count": 23
        },
        "SoccerTwos.Losses.PolicyLoss.sum": {
            "value": 0.01742521966419493,
            "min": 0.010899747181489753,
            "max": 0.019906042632646857,
            "count": 23
        },
        "SoccerTwos.Losses.ValueLoss.mean": {
            "value": 4.436753109378818e-05,
            "min": 4.436753109378818e-05,
            "max": 0.004643983494800826,
            "count": 23
        },
        "SoccerTwos.Losses.ValueLoss.sum": {
            "value": 4.436753109378818e-05,
            "min": 4.436753109378818e-05,
            "max": 0.004643983494800826,
            "count": 23
        },
        "SoccerTwos.Losses.BaselineLoss.mean": {
            "value": 4.6020148026097256e-05,
            "min": 4.6020148026097256e-05,
            "max": 0.004704619843202333,
            "count": 23
        },
        "SoccerTwos.Losses.BaselineLoss.sum": {
            "value": 4.6020148026097256e-05,
            "min": 4.6020148026097256e-05,
            "max": 0.004704619843202333,
            "count": 23
        },
        "SoccerTwos.Policy.LearningRate.mean": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 23
        },
        "SoccerTwos.Policy.LearningRate.sum": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 23
        },
        "SoccerTwos.Policy.Epsilon.mean": {
            "value": 0.20000000000000007,
            "min": 0.20000000000000007,
            "max": 0.20000000000000007,
            "count": 23
        },
        "SoccerTwos.Policy.Epsilon.sum": {
            "value": 0.20000000000000007,
            "min": 0.20000000000000007,
            "max": 0.20000000000000007,
            "count": 23
        },
        "SoccerTwos.Policy.Beta.mean": {
            "value": 0.005000000000000001,
            "min": 0.005000000000000001,
            "max": 0.005000000000000001,
            "count": 23
        },
        "SoccerTwos.Policy.Beta.sum": {
            "value": 0.005000000000000001,
            "min": 0.005000000000000001,
            "max": 0.005000000000000001,
            "count": 23
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1723896127",
        "python_version": "3.10.12 (main, Jul  5 2023, 15:02:25) [Clang 14.0.6 ]",
        "command_line_arguments": "/opt/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos_500k --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": "1723897671"
    },
    "total": 1544.3516549160004,
    "count": 1,
    "self": 0.19264387400062333,
    "children": {
        "run_training.setup": {
            "total": 0.015303666999898269,
            "count": 1,
            "self": 0.015303666999898269
        },
        "TrainerController.start_learning": {
            "total": 1544.1437073749998,
            "count": 1,
            "self": 0.236041730991019,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.2333996659999684,
                    "count": 3,
                    "self": 3.2333996659999684
                },
                "TrainerController.advance": {
                    "total": 1540.5721868950081,
                    "count": 32470,
                    "self": 0.2287103319868038,
                    "children": {
                        "env_step": {
                            "total": 1265.8492042059684,
                            "count": 32470,
                            "self": 1224.963268646114,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 40.71615978791442,
                                    "count": 32470,
                                    "self": 1.2547693217779852,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 39.461390466136436,
                                            "count": 64466,
                                            "self": 39.461390466136436
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.16977577193983961,
                                    "count": 32470,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1541.0070235660392,
                                            "count": 32470,
                                            "is_parallel": true,
                                            "self": 359.2491389039851,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.004023459999189072,
                                                    "count": 6,
                                                    "is_parallel": true,
                                                    "self": 0.0005248799998298637,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.003498579999359208,
                                                            "count": 24,
                                                            "is_parallel": true,
                                                            "self": 0.003498579999359208
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1181.7538612020548,
                                                    "count": 32470,
                                                    "is_parallel": true,
                                                    "self": 2.967346219069441,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 19.23627253198265,
                                                            "count": 32470,
                                                            "is_parallel": true,
                                                            "self": 19.23627253198265
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1119.3004209030373,
                                                            "count": 32470,
                                                            "is_parallel": true,
                                                            "self": 1119.3004209030373
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 40.24982154796544,
                                                            "count": 64940,
                                                            "is_parallel": true,
                                                            "self": 4.34371712094071,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 35.90610442702473,
                                                                    "count": 259760,
                                                                    "is_parallel": true,
                                                                    "self": 35.90610442702473
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 274.494272357053,
                            "count": 32470,
                            "self": 2.5599262690825526,
                            "children": {
                                "process_trajectory": {
                                    "total": 41.454520962970946,
                                    "count": 32470,
                                    "self": 41.345124795970605,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.10939616700034094,
                                            "count": 1,
                                            "self": 0.10939616700034094
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 230.47982512499948,
                                    "count": 23,
                                    "self": 26.765755816004457,
                                    "children": {
                                        "TorchPOCAOptimizer.update": {
                                            "total": 203.71406930899502,
                                            "count": 690,
                                            "self": 203.71406930899502
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 3.7500012695090845e-07,
                    "count": 1,
                    "self": 3.7500012695090845e-07
                },
                "TrainerController._save_models": {
                    "total": 0.10207870800059027,
                    "count": 1,
                    "self": 0.0008593330003350275,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10121937500025524,
                            "count": 1,
                            "self": 0.10121937500025524
                        }
                    }
                }
            }
        }
    }
}