File size: 19,198 Bytes
64b6a94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
399
400
401
402
403
404
405
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.4563570022583008,
            "min": 0.4563570022583008,
            "max": 1.3712244033813477,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 13690.7099609375,
            "min": 13690.7099609375,
            "max": 41597.46484375,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989900.0,
            "min": 29902.0,
            "max": 989900.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989900.0,
            "min": 29902.0,
            "max": 989900.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.4900907576084137,
            "min": -0.10003183782100677,
            "max": 0.5350491404533386,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 135.75514221191406,
            "min": -24.10767364501953,
            "max": 147.13851928710938,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -1.7200865745544434,
            "min": -1.7200865745544434,
            "max": 0.37860435247421265,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -476.4639892578125,
            "min": -476.4639892578125,
            "max": 91.62225341796875,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06789637719269931,
            "min": 0.06373426844134619,
            "max": 0.07273745328704642,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9505492806977903,
            "min": 0.509162173009325,
            "max": 1.0644539536008901,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.22389991925142352,
            "min": 0.0003301194277613202,
            "max": 0.25530000823172966,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 3.1345988695199294,
            "min": 0.004291552560897163,
            "max": 3.5742001152442153,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.627426028985717e-06,
            "min": 7.627426028985717e-06,
            "max": 0.00029523505873117143,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010678396440580004,
            "min": 0.00010678396440580004,
            "max": 0.0036323875892041993,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10254244285714287,
            "min": 0.10254244285714287,
            "max": 0.19841168571428572,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4355942000000002,
            "min": 1.3888818,
            "max": 2.6107958000000004,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00026399004142857154,
            "min": 0.00026399004142857154,
            "max": 0.009841327402857142,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0036958605800000016,
            "min": 0.0036958605800000016,
            "max": 0.12109850041999999,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.017958655953407288,
            "min": 0.017417704686522484,
            "max": 0.6661913990974426,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.251421183347702,
            "min": 0.24384786188602448,
            "max": 4.663339614868164,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 360.9642857142857,
            "min": 335.4712643678161,
            "max": 996.25,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30321.0,
            "min": 16573.0,
            "max": 32898.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.543778548638026,
            "min": -0.9345188008155674,
            "max": 1.6082697410223097,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 129.67739808559418,
            "min": -30.668201565742493,
            "max": 138.31119772791862,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.543778548638026,
            "min": -0.9345188008155674,
            "max": 1.6082697410223097,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 129.67739808559418,
            "min": -30.668201565742493,
            "max": 138.31119772791862,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.06720657936377739,
            "min": 0.06080380713418973,
            "max": 12.387886750347475,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 5.645352666557301,
            "min": 5.350735027808696,
            "max": 210.59407475590706,
            "count": 33
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1676830733",
        "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[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 Training --no-graphics",
        "mlagents_version": "0.29.0.dev0",
        "mlagents_envs_version": "0.29.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.8.1+cu102",
        "numpy_version": "1.21.6",
        "end_time_seconds": "1676833042"
    },
    "total": 2309.461859818,
    "count": 1,
    "self": 0.9785437209998236,
    "children": {
        "run_training.setup": {
            "total": 0.4283768470000098,
            "count": 1,
            "self": 0.4283768470000098
        },
        "TrainerController.start_learning": {
            "total": 2308.05493925,
            "count": 1,
            "self": 1.4065813800384603,
            "children": {
                "TrainerController._reset_env": {
                    "total": 10.430258385999991,
                    "count": 1,
                    "self": 10.430258385999991
                },
                "TrainerController.advance": {
                    "total": 2296.089084341962,
                    "count": 63611,
                    "self": 1.5190976119602055,
                    "children": {
                        "env_step": {
                            "total": 1531.9074852420042,
                            "count": 63611,
                            "self": 1414.7361031459754,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 116.28988777200806,
                                    "count": 63611,
                                    "self": 4.860381136022738,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 111.42950663598532,
                                            "count": 62562,
                                            "self": 37.24287229394051,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 74.18663434204481,
                                                    "count": 62562,
                                                    "self": 74.18663434204481
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.881494324020764,
                                    "count": 63611,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2303.167662875041,
                                            "count": 63611,
                                            "is_parallel": true,
                                            "self": 1007.621325726039,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.006433823999998367,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0034557389999747556,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0029780850000236114,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0029780850000236114
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05600995399998965,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005959449999863864,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005258060000130627,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005258060000130627
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05302472599998964,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05302472599998964
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0018634770000005574,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004520379999632951,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0014114390000372623,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0014114390000372623
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1295.546337149002,
                                                    "count": 63610,
                                                    "is_parallel": true,
                                                    "self": 32.89332437892563,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 23.341987588986967,
                                                            "count": 63610,
                                                            "is_parallel": true,
                                                            "self": 23.341987588986967
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1142.5407649020522,
                                                            "count": 63610,
                                                            "is_parallel": true,
                                                            "self": 1142.5407649020522
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 96.77026027903722,
                                                            "count": 63610,
                                                            "is_parallel": true,
                                                            "self": 22.979666412904663,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 73.79059386613255,
                                                                    "count": 508880,
                                                                    "is_parallel": true,
                                                                    "self": 73.79059386613255
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 762.6625014879975,
                            "count": 63611,
                            "self": 2.7692600569994283,
                            "children": {
                                "process_trajectory": {
                                    "total": 165.29268561199714,
                                    "count": 63611,
                                    "self": 165.00765446799696,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.28503114400018603,
                                            "count": 2,
                                            "self": 0.28503114400018603
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 594.6005558190009,
                                    "count": 453,
                                    "self": 230.8060464059862,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 363.7945094130147,
                                            "count": 22755,
                                            "self": 363.7945094130147
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.294999947276665e-06,
                    "count": 1,
                    "self": 1.294999947276665e-06
                },
                "TrainerController._save_models": {
                    "total": 0.1290138469998965,
                    "count": 1,
                    "self": 0.0019093609998890315,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.12710448600000746,
                            "count": 1,
                            "self": 0.12710448600000746
                        }
                    }
                }
            }
        }
    }
}