File size: 18,711 Bytes
d278a84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.3381549119949341,
            "min": 0.30663561820983887,
            "max": 1.5821905136108398,
            "count": 100
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 3489.7587890625,
            "min": 2992.763671875,
            "max": 16201.630859375,
            "count": 100
        },
        "Pyramids.Step.mean": {
            "value": 999995.0,
            "min": 9984.0,
            "max": 999995.0,
            "count": 100
        },
        "Pyramids.Step.sum": {
            "value": 999995.0,
            "min": 9984.0,
            "max": 999995.0,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.31659725308418274,
            "min": -0.10878587514162064,
            "max": 0.4156027138233185,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 27.860557556152344,
            "min": -8.81165599822998,
            "max": 36.40038299560547,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.00742553174495697,
            "min": -0.011789517477154732,
            "max": 0.4911734163761139,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 0.6534467935562134,
            "min": -1.049267053604126,
            "max": 39.7850456237793,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.07191944510753577,
            "min": 0.06179592022672296,
            "max": 0.07575078563725886,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.35959722553767887,
            "min": 0.13375348658448127,
            "max": 0.37406112408886355,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01577414447092451,
            "min": 9.62944506821057e-05,
            "max": 0.034981400970484654,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.07887072235462256,
            "min": 0.0003851778027284228,
            "max": 0.07887072235462256,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.7190994270000035e-06,
            "min": 1.7190994270000035e-06,
            "max": 0.0002981568006144,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 8.595497135000017e-06,
            "min": 8.595497135000017e-06,
            "max": 0.0013880433373188999,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.100573,
            "min": 0.100573,
            "max": 0.1993856,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 0.502865,
            "min": 0.39319040000000005,
            "max": 0.9626811000000001,
            "count": 100
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 6.724270000000013e-05,
            "min": 6.724270000000013e-05,
            "max": 0.00993862144,
            "count": 100
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0003362135000000007,
            "min": 0.0003362135000000007,
            "max": 0.04627184189,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.012550015933811665,
            "min": 0.012550015933811665,
            "max": 1.0322835445404053,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.06275007873773575,
            "min": 0.050218287855386734,
            "max": 2.0645670890808105,
            "count": 100
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 526.6818181818181,
            "min": 412.14285714285717,
            "max": 999.0,
            "count": 98
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 11587.0,
            "min": 1747.0,
            "max": 15984.0,
            "count": 98
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.2004908739843152,
            "min": -1.0000000521540642,
            "max": 1.55754542960362,
            "count": 98
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 26.410799227654934,
            "min": -16.000000834465027,
            "max": 34.26599945127964,
            "count": 98
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.2004908739843152,
            "min": -1.0000000521540642,
            "max": 1.55754542960362,
            "count": 98
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 26.410799227654934,
            "min": -16.000000834465027,
            "max": 34.26599945127964,
            "count": 98
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.07074800053272735,
            "min": 0.05968590072838457,
            "max": 11.421275632455945,
            "count": 98
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 1.5564560117200017,
            "min": 0.921070221462287,
            "max": 182.74041011929512,
            "count": 98
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1685719254",
        "python_version": "3.10.11 (main, Apr  5 2023, 14:15:10) [GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids --no-graphics",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1685721437"
    },
    "total": 2183.3714082740007,
    "count": 1,
    "self": 0.4751683000013145,
    "children": {
        "run_training.setup": {
            "total": 0.04123878199970932,
            "count": 1,
            "self": 0.04123878199970932
        },
        "TrainerController.start_learning": {
            "total": 2182.8550011919997,
            "count": 1,
            "self": 1.5765450789531315,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.8741668029997527,
                    "count": 1,
                    "self": 3.8741668029997527
                },
                "TrainerController.advance": {
                    "total": 2177.310387506047,
                    "count": 63590,
                    "self": 1.5387525799415016,
                    "children": {
                        "env_step": {
                            "total": 1518.6369186990096,
                            "count": 63590,
                            "self": 1397.8130169001533,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 119.8773790360101,
                                    "count": 63590,
                                    "self": 5.202901189084514,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 114.67447784692558,
                                            "count": 62566,
                                            "self": 114.67447784692558
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9465227628461435,
                                    "count": 63590,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2177.572440894064,
                                            "count": 63590,
                                            "is_parallel": true,
                                            "self": 903.981175387964,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0017845309994299896,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005415780005932902,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0012429529988366994,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0012429529988366994
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.050577883000187285,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000659770000311255,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005537799997910042,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005537799997910042
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.0473261460001595,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0473261460001595
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0020381869999255287,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000408209999477549,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016299770004479797,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016299770004479797
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1273.5912655061002,
                                                    "count": 63589,
                                                    "is_parallel": true,
                                                    "self": 34.69814961594693,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 25.138212346057117,
                                                            "count": 63589,
                                                            "is_parallel": true,
                                                            "self": 25.138212346057117
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1101.8114663370807,
                                                            "count": 63589,
                                                            "is_parallel": true,
                                                            "self": 1101.8114663370807
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 111.94343720701545,
                                                            "count": 63589,
                                                            "is_parallel": true,
                                                            "self": 22.796880033839443,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 89.146557173176,
                                                                    "count": 508712,
                                                                    "is_parallel": true,
                                                                    "self": 89.146557173176
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 657.1347162270959,
                            "count": 63590,
                            "self": 2.9379905161422357,
                            "children": {
                                "process_trajectory": {
                                    "total": 116.4404291059509,
                                    "count": 63590,
                                    "self": 116.20810830795108,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.23232079799981875,
                                            "count": 2,
                                            "self": 0.23232079799981875
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 537.7562966050027,
                                    "count": 452,
                                    "self": 348.80814536894013,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 188.94815123606259,
                                            "count": 22719,
                                            "self": 188.94815123606259
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.0799994925037026e-06,
                    "count": 1,
                    "self": 1.0799994925037026e-06
                },
                "TrainerController._save_models": {
                    "total": 0.09390072400037752,
                    "count": 1,
                    "self": 0.0013355890005186666,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09256513499985886,
                            "count": 1,
                            "self": 0.09256513499985886
                        }
                    }
                }
            }
        }
    }
}