File size: 19,155 Bytes
ebcec56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.39757049083709717,
            "min": 0.39757049083709717,
            "max": 1.3595595359802246,
            "count": 30
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 11920.75390625,
            "min": 11920.75390625,
            "max": 41243.59765625,
            "count": 30
        },
        "Pyramids.Step.mean": {
            "value": 899956.0,
            "min": 29885.0,
            "max": 899956.0,
            "count": 30
        },
        "Pyramids.Step.sum": {
            "value": 899956.0,
            "min": 29885.0,
            "max": 899956.0,
            "count": 30
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.4898543655872345,
            "min": -0.0930364727973938,
            "max": 0.5115171074867249,
            "count": 30
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 132.26068115234375,
            "min": -22.421789169311523,
            "max": 139.13265991210938,
            "count": 30
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.09477725625038147,
            "min": -0.09477725625038147,
            "max": 0.4064110219478607,
            "count": 30
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -25.589859008789062,
            "min": -25.589859008789062,
            "max": 96.31941223144531,
            "count": 30
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06938424920921939,
            "min": 0.06483511217628184,
            "max": 0.07380248141961257,
            "count": 30
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0407637381382908,
            "min": 0.5904198513569006,
            "max": 1.0407637381382908,
            "count": 30
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.015227381634112032,
            "min": 0.0006474719040076074,
            "max": 0.01643273844057971,
            "count": 30
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.22841072451168049,
            "min": 0.008213004547359109,
            "max": 0.23005833816811597,
            "count": 30
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 4.973965008711112e-06,
            "min": 4.973965008711112e-06,
            "max": 0.00029417966860677773,
            "count": 30
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 7.460947513066668e-05,
            "min": 7.460947513066668e-05,
            "max": 0.003448147817284111,
            "count": 30
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10165795555555555,
            "min": 0.10165795555555555,
            "max": 0.1980598888888889,
            "count": 30
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.5248693333333334,
            "min": 1.4705237777777782,
            "max": 2.543327111111111,
            "count": 30
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00017562976,
            "min": 0.00017562976,
            "max": 0.009806182900000002,
            "count": 30
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0026344464,
            "min": 0.0026344464,
            "max": 0.1149533173,
            "count": 30
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.013464792631566525,
            "min": 0.013354185037314892,
            "max": 0.5027457475662231,
            "count": 30
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.2019718885421753,
            "min": 0.18695859611034393,
            "max": 4.021965980529785,
            "count": 30
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 386.56,
            "min": 353.8780487804878,
            "max": 999.0,
            "count": 30
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 28992.0,
            "min": 17579.0,
            "max": 33190.0,
            "count": 30
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.560093317826589,
            "min": -0.9999742455059483,
            "max": 1.5994320809841156,
            "count": 30
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 117.00699883699417,
            "min": -31.995201662182808,
            "max": 129.55399855971336,
            "count": 30
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.560093317826589,
            "min": -0.9999742455059483,
            "max": 1.5994320809841156,
            "count": 30
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 117.00699883699417,
            "min": -31.995201662182808,
            "max": 129.55399855971336,
            "count": 30
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.05361438301566523,
            "min": 0.05361438301566523,
            "max": 10.323105855948395,
            "count": 30
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 4.021078726174892,
            "min": 4.021078726174892,
            "max": 185.8159054070711,
            "count": 30
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 30
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 30
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1657738490",
        "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": "1657740373"
    },
    "total": 1882.9600919249997,
    "count": 1,
    "self": 0.42833328099959544,
    "children": {
        "run_training.setup": {
            "total": 0.054805991999728576,
            "count": 1,
            "self": 0.054805991999728576
        },
        "TrainerController.start_learning": {
            "total": 1882.4769526520004,
            "count": 1,
            "self": 1.3027695909495378,
            "children": {
                "TrainerController._reset_env": {
                    "total": 6.473618197000178,
                    "count": 1,
                    "self": 6.473618197000178
                },
                "TrainerController.advance": {
                    "total": 1874.6021489080504,
                    "count": 57289,
                    "self": 1.4039689420374089,
                    "children": {
                        "env_step": {
                            "total": 1219.1033666070125,
                            "count": 57289,
                            "self": 1119.6238383419636,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 98.8068662120113,
                                    "count": 57289,
                                    "self": 4.268505632986944,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 94.53836057902436,
                                            "count": 56309,
                                            "self": 32.348266454005625,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 62.19009412501873,
                                                    "count": 56309,
                                                    "self": 62.19009412501873
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.672662053037584,
                                    "count": 57289,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1878.9325053499733,
                                            "count": 57289,
                                            "is_parallel": true,
                                            "self": 852.3902138780068,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0019260659996689355,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007521909992647124,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001173875000404223,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.001173875000404223
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04927950499995859,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00047984999901018455,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.000427511000452796,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000427511000452796
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04671544400025596,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04671544400025596
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0016567000002396526,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004194039997855725,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.00123729600045408,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.00123729600045408
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1026.5422914719666,
                                                    "count": 57288,
                                                    "is_parallel": true,
                                                    "self": 25.48484664891157,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 21.37142343792675,
                                                            "count": 57288,
                                                            "is_parallel": true,
                                                            "self": 21.37142343792675
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 894.4486843141308,
                                                            "count": 57288,
                                                            "is_parallel": true,
                                                            "self": 894.4486843141308
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 85.23733707099746,
                                                            "count": 57288,
                                                            "is_parallel": true,
                                                            "self": 21.078682677283723,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 64.15865439371373,
                                                                    "count": 458304,
                                                                    "is_parallel": true,
                                                                    "self": 64.15865439371373
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 654.0948133590005,
                            "count": 57289,
                            "self": 2.4162042220768853,
                            "children": {
                                "process_trajectory": {
                                    "total": 149.28206904092258,
                                    "count": 57289,
                                    "self": 149.1674607319228,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.11460830899977736,
                                            "count": 1,
                                            "self": 0.11460830899977736
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 502.396540096001,
                                    "count": 408,
                                    "self": 196.61358089001578,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 305.7829592059852,
                                            "count": 20532,
                                            "self": 305.7829592059852
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1089996405644342e-06,
                    "count": 1,
                    "self": 1.1089996405644342e-06
                },
                "TrainerController._save_models": {
                    "total": 0.0984148470006403,
                    "count": 1,
                    "self": 0.0017685410002741264,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09664630600036617,
                            "count": 1,
                            "self": 0.09664630600036617
                        }
                    }
                }
            }
        }
    }
}