File size: 15,542 Bytes
1b60172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 2.0388121604919434,
            "min": 1.945584774017334,
            "max": 3.2957568168640137,
            "count": 643
        },
        "SoccerTwos.Policy.Entropy.sum": {
            "value": 40319.55078125,
            "min": 9175.3837890625,
            "max": 110009.140625,
            "count": 643
        },
        "SoccerTwos.Environment.EpisodeLength.mean": {
            "value": 56.50574712643678,
            "min": 44.0,
            "max": 999.0,
            "count": 643
        },
        "SoccerTwos.Environment.EpisodeLength.sum": {
            "value": 19664.0,
            "min": 14784.0,
            "max": 27752.0,
            "count": 643
        },
        "SoccerTwos.Self-play.ELO.mean": {
            "value": 1576.0100270604278,
            "min": 1182.4108714575964,
            "max": 1604.9742953790003,
            "count": 629
        },
        "SoccerTwos.Self-play.ELO.sum": {
            "value": 274225.7447085144,
            "min": 2370.7237479049486,
            "max": 348628.63997655653,
            "count": 629
        },
        "SoccerTwos.Step.mean": {
            "value": 6429984.0,
            "min": 9244.0,
            "max": 6429984.0,
            "count": 643
        },
        "SoccerTwos.Step.sum": {
            "value": 6429984.0,
            "min": 9244.0,
            "max": 6429984.0,
            "count": 643
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
            "value": 0.01336890272796154,
            "min": -0.1304987668991089,
            "max": 0.1746169626712799,
            "count": 643
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
            "value": 2.3261890411376953,
            "min": -19.835813522338867,
            "max": 33.177223205566406,
            "count": 643
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.019231462851166725,
            "min": -0.13112477958202362,
            "max": 0.1667526811361313,
            "count": 643
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
            "value": 3.3462743759155273,
            "min": -19.930965423583984,
            "max": 32.000701904296875,
            "count": 643
        },
        "SoccerTwos.Environment.CumulativeReward.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 643
        },
        "SoccerTwos.Environment.CumulativeReward.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 643
        },
        "SoccerTwos.Policy.ExtrinsicReward.mean": {
            "value": -0.015324138361832192,
            "min": -0.5392210546292757,
            "max": 0.3691333289499636,
            "count": 643
        },
        "SoccerTwos.Policy.ExtrinsicReward.sum": {
            "value": -2.6664000749588013,
            "min": -58.37399983406067,
            "max": 54.21820014715195,
            "count": 643
        },
        "SoccerTwos.Environment.GroupCumulativeReward.mean": {
            "value": -0.015324138361832192,
            "min": -0.5392210546292757,
            "max": 0.3691333289499636,
            "count": 643
        },
        "SoccerTwos.Environment.GroupCumulativeReward.sum": {
            "value": -2.6664000749588013,
            "min": -58.37399983406067,
            "max": 54.21820014715195,
            "count": 643
        },
        "SoccerTwos.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 643
        },
        "SoccerTwos.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 643
        },
        "SoccerTwos.Losses.PolicyLoss.mean": {
            "value": 0.01760386994186168,
            "min": 0.011585256479641733,
            "max": 0.026990281394682826,
            "count": 308
        },
        "SoccerTwos.Losses.PolicyLoss.sum": {
            "value": 0.01760386994186168,
            "min": 0.011585256479641733,
            "max": 0.026990281394682826,
            "count": 308
        },
        "SoccerTwos.Losses.ValueLoss.mean": {
            "value": 0.11058514540394147,
            "min": 7.689539776644476e-05,
            "max": 0.11738228897253672,
            "count": 308
        },
        "SoccerTwos.Losses.ValueLoss.sum": {
            "value": 0.11058514540394147,
            "min": 7.689539776644476e-05,
            "max": 0.11738228897253672,
            "count": 308
        },
        "SoccerTwos.Losses.BaselineLoss.mean": {
            "value": 0.11281115661064783,
            "min": 7.77535743812526e-05,
            "max": 0.12120520348350207,
            "count": 308
        },
        "SoccerTwos.Losses.BaselineLoss.sum": {
            "value": 0.11281115661064783,
            "min": 7.77535743812526e-05,
            "max": 0.12120520348350207,
            "count": 308
        },
        "SoccerTwos.Policy.LearningRate.mean": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 308
        },
        "SoccerTwos.Policy.LearningRate.sum": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 308
        },
        "SoccerTwos.Policy.Epsilon.mean": {
            "value": 0.20000000000000007,
            "min": 0.19999999999999996,
            "max": 0.20000000000000007,
            "count": 308
        },
        "SoccerTwos.Policy.Epsilon.sum": {
            "value": 0.20000000000000007,
            "min": 0.19999999999999996,
            "max": 0.20000000000000007,
            "count": 308
        },
        "SoccerTwos.Policy.Beta.mean": {
            "value": 0.005000000000000001,
            "min": 0.005,
            "max": 0.005000000000000001,
            "count": 308
        },
        "SoccerTwos.Policy.Beta.sum": {
            "value": 0.005000000000000001,
            "min": 0.005,
            "max": 0.005000000000000001,
            "count": 308
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1737565781",
        "python_version": "3.10.12 (main, Jul  5 2023, 15:02:25) [Clang 14.0.6 ]",
        "command_line_arguments": "/opt/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics",
        "mlagents_version": "1.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.5.1",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1737586666"
    },
    "total": 20883.988616667004,
    "count": 1,
    "self": 0.2032090000138851,
    "children": {
        "run_training.setup": {
            "total": 0.016666458002873696,
            "count": 1,
            "self": 0.016666458002873696
        },
        "TrainerController.start_learning": {
            "total": 20883.768741208987,
            "count": 1,
            "self": 3.51508834354172,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.790670747999684,
                    "count": 33,
                    "self": 4.790670747999684
                },
                "TrainerController.advance": {
                    "total": 20875.367187783442,
                    "count": 436500,
                    "self": 3.1530161247355863,
                    "children": {
                        "env_step": {
                            "total": 16717.00499983302,
                            "count": 436500,
                            "self": 16122.510443662133,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 591.967685976997,
                                    "count": 436500,
                                    "self": 17.01103952426638,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 574.9566464527306,
                                            "count": 812812,
                                            "self": 574.9566464527306
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.5268701938912272,
                                    "count": 436499,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 20873.723298654702,
                                            "count": 436499,
                                            "is_parallel": true,
                                            "self": 5266.90333614593,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.04262995801400393,
                                                    "count": 66,
                                                    "is_parallel": true,
                                                    "self": 0.005426217016065493,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.03720374099793844,
                                                            "count": 264,
                                                            "is_parallel": true,
                                                            "self": 0.03720374099793844
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 15606.777332550759,
                                                    "count": 436499,
                                                    "is_parallel": true,
                                                    "self": 43.03211950631521,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 273.32911062698986,
                                                            "count": 436499,
                                                            "is_parallel": true,
                                                            "self": 273.32911062698986
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 14753.169074985432,
                                                            "count": 436499,
                                                            "is_parallel": true,
                                                            "self": 14753.169074985432
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 537.2470274320222,
                                                            "count": 872998,
                                                            "is_parallel": true,
                                                            "self": 62.450076708730194,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 474.79695072329196,
                                                                    "count": 3491992,
                                                                    "is_parallel": true,
                                                                    "self": 474.79695072329196
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 4155.209171825685,
                            "count": 436499,
                            "self": 37.53154071350582,
                            "children": {
                                "process_trajectory": {
                                    "total": 814.5478735752113,
                                    "count": 436499,
                                    "self": 812.60779490821,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 1.9400786670012167,
                                            "count": 12,
                                            "self": 1.9400786670012167
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 3303.129757536968,
                                    "count": 309,
                                    "self": 375.33577479214,
                                    "children": {
                                        "TorchPOCAOptimizer.update": {
                                            "total": 2927.793982744828,
                                            "count": 9282,
                                            "self": 2927.793982744828
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.33999365568161e-07,
                    "count": 1,
                    "self": 8.33999365568161e-07
                },
                "TrainerController._save_models": {
                    "total": 0.09579350000421982,
                    "count": 1,
                    "self": 0.0005308749969117343,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09526262500730809,
                            "count": 1,
                            "self": 0.09526262500730809
                        }
                    }
                }
            }
        }
    }
}