File size: 19,228 Bytes
0d38f66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.13757723569869995,
            "min": 0.13162420690059662,
            "max": 1.4512150287628174,
            "count": 100
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 4122.91455078125,
            "min": 3948.72607421875,
            "max": 44024.05859375,
            "count": 100
        },
        "Pyramids.Step.mean": {
            "value": 2999927.0,
            "min": 29952.0,
            "max": 2999927.0,
            "count": 100
        },
        "Pyramids.Step.sum": {
            "value": 2999927.0,
            "min": 29952.0,
            "max": 2999927.0,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.7710461020469666,
            "min": -0.11332686990499496,
            "max": 0.8763967156410217,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 229.0006866455078,
            "min": -27.42510223388672,
            "max": 272.55938720703125,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.019496850669384003,
            "min": -0.020744167268276215,
            "max": 0.4210328757762909,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 5.79056453704834,
            "min": -6.1195292472839355,
            "max": 99.7847900390625,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06981827384850095,
            "min": 0.06264805599944555,
            "max": 0.07445920039967986,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0472741077275143,
            "min": 0.521214402797759,
            "max": 1.10019036806782,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01703476079509843,
            "min": 0.0018405289152907476,
            "max": 0.01703476079509843,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.2555214119264765,
            "min": 0.019757122454584896,
            "max": 0.2555214119264765,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.51487282840889e-06,
            "min": 1.51487282840889e-06,
            "max": 0.00029838354339596195,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 2.272309242613335e-05,
            "min": 2.272309242613335e-05,
            "max": 0.0040273603575466,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10050492444444448,
            "min": 0.10050492444444448,
            "max": 0.19946118095238097,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.5075738666666672,
            "min": 1.3962282666666668,
            "max": 2.8424534,
            "count": 100
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 6.044195200000004e-05,
            "min": 6.044195200000004e-05,
            "max": 0.009946171977142856,
            "count": 100
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0009066292800000006,
            "min": 0.0009066292800000006,
            "max": 0.13426109466000002,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.007645902223885059,
            "min": 0.007201760541647673,
            "max": 0.42734295129776,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.11468853056430817,
            "min": 0.10082464665174484,
            "max": 2.991400718688965,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 221.70503597122303,
            "min": 206.9655172413793,
            "max": 999.0,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30817.0,
            "min": 15984.0,
            "max": 32654.0,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.7068970869632736,
            "min": -1.0000000521540642,
            "max": 1.7821014323744222,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 235.55179800093174,
            "min": -28.434001706540585,
            "max": 260.7465982437134,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.7068970869632736,
            "min": -1.0000000521540642,
            "max": 1.7821014323744222,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 235.55179800093174,
            "min": -28.434001706540585,
            "max": 260.7465982437134,
            "count": 100
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.01763903344608084,
            "min": 0.01641389403114256,
            "max": 9.204706648364663,
            "count": 100
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.434186615559156,
            "min": 2.164062650888809,
            "max": 147.2753063738346,
            "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
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1661489166",
        "python_version": "3.7.13 (default, Apr 24 2022, 01:04:09) \n[GCC 7.5.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./trained-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": "1661495990"
    },
    "total": 6823.469395155,
    "count": 1,
    "self": 0.4843815699996412,
    "children": {
        "run_training.setup": {
            "total": 0.044284666000066863,
            "count": 1,
            "self": 0.044284666000066863
        },
        "TrainerController.start_learning": {
            "total": 6822.940728919,
            "count": 1,
            "self": 4.245450612010245,
            "children": {
                "TrainerController._reset_env": {
                    "total": 10.714788956999996,
                    "count": 1,
                    "self": 10.714788956999996
                },
                "TrainerController.advance": {
                    "total": 6807.88889300099,
                    "count": 195827,
                    "self": 4.4968886719789225,
                    "children": {
                        "env_step": {
                            "total": 4669.886134847071,
                            "count": 195827,
                            "self": 4350.36956031324,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 317.1994738057723,
                                    "count": 195827,
                                    "self": 13.644236579821836,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 303.55523722595046,
                                            "count": 187564,
                                            "self": 104.95797849292887,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 198.5972587330216,
                                                    "count": 187564,
                                                    "self": 198.5972587330216
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.317100728058449,
                                    "count": 195827,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 6811.22335971997,
                                            "count": 195827,
                                            "is_parallel": true,
                                            "self": 2774.82443109886,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005799276000061582,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0045933690001902505,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0012059069998713312,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0012059069998713312
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.0534858759999679,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0004933599999503713,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004618530000470855,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004618530000470855
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.050939225999968585,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.050939225999968585
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0015914370000018607,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00041331299996727466,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001178124000034586,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001178124000034586
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 4036.3989286211104,
                                                    "count": 195826,
                                                    "is_parallel": true,
                                                    "self": 83.52351238140636,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 69.53496493400007,
                                                            "count": 195826,
                                                            "is_parallel": true,
                                                            "self": 69.53496493400007
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 3605.7536178129876,
                                                            "count": 195826,
                                                            "is_parallel": true,
                                                            "self": 3605.7536178129876
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 277.5868334927162,
                                                            "count": 195826,
                                                            "is_parallel": true,
                                                            "self": 69.13235903333157,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 208.45447445938464,
                                                                    "count": 1566608,
                                                                    "is_parallel": true,
                                                                    "self": 208.45447445938464
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 2133.5058694819404,
                            "count": 195827,
                            "self": 8.2385836368544,
                            "children": {
                                "process_trajectory": {
                                    "total": 498.3945108650953,
                                    "count": 195827,
                                    "self": 497.79671575309567,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.5977951119996305,
                                            "count": 6,
                                            "self": 0.5977951119996305
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1626.872774979991,
                                    "count": 1403,
                                    "self": 629.0669515019789,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 997.805823478012,
                                            "count": 68346,
                                            "self": 997.805823478012
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1370002539479174e-06,
                    "count": 1,
                    "self": 1.1370002539479174e-06
                },
                "TrainerController._save_models": {
                    "total": 0.0915952120003567,
                    "count": 1,
                    "self": 0.0017382490004820284,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08985696299987467,
                            "count": 1,
                            "self": 0.08985696299987467
                        }
                    }
                }
            }
        }
    }
}