File size: 15,703 Bytes
eb903ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.1532409191131592,
            "min": 1.1196668148040771,
            "max": 3.2957353591918945,
            "count": 1000
        },
        "SoccerTwos.Policy.Entropy.sum": {
            "value": 23987.41015625,
            "min": 7871.72021484375,
            "max": 112492.0390625,
            "count": 1000
        },
        "SoccerTwos.Environment.EpisodeLength.mean": {
            "value": 62.79746835443038,
            "min": 45.00917431192661,
            "max": 999.0,
            "count": 1000
        },
        "SoccerTwos.Environment.EpisodeLength.sum": {
            "value": 19844.0,
            "min": 7992.0,
            "max": 30788.0,
            "count": 1000
        },
        "SoccerTwos.Self-play.ELO.mean": {
            "value": 1709.0109510622178,
            "min": 1190.391640367494,
            "max": 1720.9898581771342,
            "count": 991
        },
        "SoccerTwos.Self-play.ELO.sum": {
            "value": 270023.7302678304,
            "min": 2381.3820137520165,
            "max": 367918.0238814893,
            "count": 991
        },
        "SoccerTwos.Step.mean": {
            "value": 9999962.0,
            "min": 9412.0,
            "max": 9999962.0,
            "count": 1000
        },
        "SoccerTwos.Step.sum": {
            "value": 9999962.0,
            "min": 9412.0,
            "max": 9999962.0,
            "count": 1000
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
            "value": 0.01338563859462738,
            "min": -0.11655034869909286,
            "max": 0.16845153272151947,
            "count": 1000
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
            "value": 2.1149308681488037,
            "min": -22.494216918945312,
            "max": 23.403825759887695,
            "count": 1000
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.014068040996789932,
            "min": -0.11802836507558823,
            "max": 0.17341575026512146,
            "count": 1000
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
            "value": 2.222750425338745,
            "min": -22.422487258911133,
            "max": 22.71746253967285,
            "count": 1000
        },
        "SoccerTwos.Environment.CumulativeReward.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 1000
        },
        "SoccerTwos.Environment.CumulativeReward.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 1000
        },
        "SoccerTwos.Policy.ExtrinsicReward.mean": {
            "value": -0.0220329112644437,
            "min": -0.5286444425582886,
            "max": 0.40512195447596105,
            "count": 1000
        },
        "SoccerTwos.Policy.ExtrinsicReward.sum": {
            "value": -3.4811999797821045,
            "min": -57.29039967060089,
            "max": 47.71400010585785,
            "count": 1000
        },
        "SoccerTwos.Environment.GroupCumulativeReward.mean": {
            "value": -0.0220329112644437,
            "min": -0.5286444425582886,
            "max": 0.40512195447596105,
            "count": 1000
        },
        "SoccerTwos.Environment.GroupCumulativeReward.sum": {
            "value": -3.4811999797821045,
            "min": -57.29039967060089,
            "max": 47.71400010585785,
            "count": 1000
        },
        "SoccerTwos.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 1000
        },
        "SoccerTwos.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 1000
        },
        "SoccerTwos.Losses.PolicyLoss.mean": {
            "value": 0.018708063105683927,
            "min": 0.01079763230518438,
            "max": 0.0237867681561814,
            "count": 482
        },
        "SoccerTwos.Losses.PolicyLoss.sum": {
            "value": 0.018708063105683927,
            "min": 0.01079763230518438,
            "max": 0.0237867681561814,
            "count": 482
        },
        "SoccerTwos.Losses.ValueLoss.mean": {
            "value": 0.10804408763845762,
            "min": 0.0008606591868253115,
            "max": 0.1229787160952886,
            "count": 482
        },
        "SoccerTwos.Losses.ValueLoss.sum": {
            "value": 0.10804408763845762,
            "min": 0.0008606591868253115,
            "max": 0.1229787160952886,
            "count": 482
        },
        "SoccerTwos.Losses.BaselineLoss.mean": {
            "value": 0.10806638523936271,
            "min": 0.0008650216366125581,
            "max": 0.12314595381418864,
            "count": 482
        },
        "SoccerTwos.Losses.BaselineLoss.sum": {
            "value": 0.10806638523936271,
            "min": 0.0008650216366125581,
            "max": 0.12314595381418864,
            "count": 482
        },
        "SoccerTwos.Policy.LearningRate.mean": {
            "value": 7.12599857500005e-07,
            "min": 7.12599857500005e-07,
            "max": 0.0004986521002695799,
            "count": 482
        },
        "SoccerTwos.Policy.LearningRate.sum": {
            "value": 7.12599857500005e-07,
            "min": 7.12599857500005e-07,
            "max": 0.0004986521002695799,
            "count": 482
        },
        "SoccerTwos.Policy.Epsilon.mean": {
            "value": 0.10014250000000001,
            "min": 0.10014250000000001,
            "max": 0.19973042,
            "count": 482
        },
        "SoccerTwos.Policy.Epsilon.sum": {
            "value": 0.10014250000000001,
            "min": 0.10014250000000001,
            "max": 0.19973042,
            "count": 482
        },
        "SoccerTwos.Policy.Beta.mean": {
            "value": 1.7110750000000053e-05,
            "min": 1.7110750000000053e-05,
            "max": 0.004986547957999999,
            "count": 482
        },
        "SoccerTwos.Policy.Beta.sum": {
            "value": 1.7110750000000053e-05,
            "min": 1.7110750000000053e-05,
            "max": 0.004986547957999999,
            "count": 482
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1703855988",
        "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/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.app --run-id=SoccerTwos --no-graphics --force",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.2",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1703866208"
    },
    "total": 10219.73770537498,
    "count": 1,
    "self": 0.19493024999974295,
    "children": {
        "run_training.setup": {
            "total": 0.013058999989880249,
            "count": 1,
            "self": 0.013058999989880249
        },
        "TrainerController.start_learning": {
            "total": 10219.529716124991,
            "count": 1,
            "self": 4.421711311646504,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.822008292976534,
                    "count": 40,
                    "self": 1.822008292976534
                },
                "TrainerController.advance": {
                    "total": 10213.13215393637,
                    "count": 681034,
                    "self": 3.9921176846837625,
                    "children": {
                        "env_step": {
                            "total": 4570.680127619009,
                            "count": 681034,
                            "self": 3851.7968664654472,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 715.9787979857938,
                                    "count": 681034,
                                    "self": 21.6306824052881,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 694.3481155805057,
                                            "count": 1257830,
                                            "self": 694.3481155805057
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.9044631677679718,
                                    "count": 681034,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 10211.220314579754,
                                            "count": 681034,
                                            "is_parallel": true,
                                            "self": 6963.624994570651,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.025804257107665762,
                                                    "count": 80,
                                                    "is_parallel": true,
                                                    "self": 0.00424826008384116,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.021555997023824602,
                                                            "count": 320,
                                                            "is_parallel": true,
                                                            "self": 0.021555997023824602
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3247.569515751995,
                                                    "count": 681034,
                                                    "is_parallel": true,
                                                    "self": 157.49633839310263,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 75.07220318031614,
                                                            "count": 681034,
                                                            "is_parallel": true,
                                                            "self": 75.07220318031614
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2617.271251162514,
                                                            "count": 681034,
                                                            "is_parallel": true,
                                                            "self": 2617.271251162514
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 397.72972301606205,
                                                            "count": 1362068,
                                                            "is_parallel": true,
                                                            "self": 61.088766790606314,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 336.64095622545574,
                                                                    "count": 5448272,
                                                                    "is_parallel": true,
                                                                    "self": 336.64095622545574
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 5638.459908632678,
                            "count": 681034,
                            "self": 41.62850201164838,
                            "children": {
                                "process_trajectory": {
                                    "total": 1114.3295763299102,
                                    "count": 681034,
                                    "self": 1111.2247817909229,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 3.104794538987335,
                                            "count": 20,
                                            "self": 3.104794538987335
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 4482.501830291119,
                                    "count": 482,
                                    "self": 476.7318739280745,
                                    "children": {
                                        "TorchPOCAOptimizer.update": {
                                            "total": 4005.769956363045,
                                            "count": 14469,
                                            "self": 4005.769956363045
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.500019036233425e-07,
                    "count": 1,
                    "self": 2.500019036233425e-07
                },
                "TrainerController._save_models": {
                    "total": 0.15384233399527147,
                    "count": 1,
                    "self": 0.0008283340139314532,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.15301399998134002,
                            "count": 1,
                            "self": 0.15301399998134002
                        }
                    }
                }
            }
        }
    }
}