File size: 19,163 Bytes
ed50233
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.33395376801490784,
            "min": 0.31589969992637634,
            "max": 1.441728949546814,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 10082.732421875,
            "min": 9608.4052734375,
            "max": 43736.2890625,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989998.0,
            "min": 29984.0,
            "max": 989998.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989998.0,
            "min": 29984.0,
            "max": 989998.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.4393922686576843,
            "min": -0.09438030421733856,
            "max": 0.5326537489891052,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 118.63591003417969,
            "min": -22.93441390991211,
            "max": 145.4144744873047,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.006035422440618277,
            "min": -0.043881602585315704,
            "max": 0.37190476059913635,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 1.6295640468597412,
            "min": -12.286849021911621,
            "max": 88.51333618164062,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06893740853928819,
            "min": 0.06297610218352011,
            "max": 0.0722759968534685,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9651237195500346,
            "min": 0.5037696469214212,
            "max": 1.0496780267664387,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014959285859808035,
            "min": 5.406075954345274e-05,
            "max": 0.014959285859808035,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.2094300020373125,
            "min": 0.0007027898740648856,
            "max": 0.2094300020373125,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.5040617843928566e-06,
            "min": 7.5040617843928566e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010505686498149999,
            "min": 0.00010505686498149999,
            "max": 0.0035067146310951993,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10250132142857142,
            "min": 0.10250132142857142,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4350185,
            "min": 1.3886848,
            "max": 2.5689048,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0002598820107142857,
            "min": 0.0002598820107142857,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.00363834815,
            "min": 0.00363834815,
            "max": 0.11691358952,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.008380013518035412,
            "min": 0.008380013518035412,
            "max": 0.5020480155944824,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.11732018738985062,
            "min": 0.11732018738985062,
            "max": 3.514336109161377,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 452.57575757575756,
            "min": 356.89285714285717,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29870.0,
            "min": 16783.0,
            "max": 33037.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.4333671508217924,
            "min": -0.9998500514775515,
            "max": 1.5676048004842666,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 96.0355991050601,
            "min": -31.995201647281647,
            "max": 130.11119844019413,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.4333671508217924,
            "min": -0.9998500514775515,
            "max": 1.5676048004842666,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 96.0355991050601,
            "min": -31.995201647281647,
            "max": 130.11119844019413,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.038773944413327655,
            "min": 0.03263499954342281,
            "max": 9.759006653638448,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.597854275692953,
            "min": 2.597854275692953,
            "max": 165.9031131118536,
            "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": "1676500766",
        "python_version": "3.9.7 (default, Sep 16 2021, 13:09:58) \n[GCC 7.5.0]",
        "command_line_arguments": "/home/hit/app/hf39/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",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1676502001"
    },
    "total": 1234.8806504129989,
    "count": 1,
    "self": 0.27023988099790586,
    "children": {
        "run_training.setup": {
            "total": 0.00818264299959992,
            "count": 1,
            "self": 0.00818264299959992
        },
        "TrainerController.start_learning": {
            "total": 1234.6022278890014,
            "count": 1,
            "self": 0.9804137439532497,
            "children": {
                "TrainerController._reset_env": {
                    "total": 0.5893832139990991,
                    "count": 1,
                    "self": 0.5893832139990991
                },
                "TrainerController.advance": {
                    "total": 1232.9404128950482,
                    "count": 63639,
                    "self": 0.8615264128366107,
                    "children": {
                        "env_step": {
                            "total": 665.5740389391613,
                            "count": 63639,
                            "self": 607.0765119097432,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 57.89052784738669,
                                    "count": 63639,
                                    "self": 2.5971530292208627,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 55.29337481816583,
                                            "count": 62546,
                                            "self": 10.42145294416332,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 44.87192187400251,
                                                    "count": 62546,
                                                    "self": 44.87192187400251
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.6069991820313589,
                                    "count": 63639,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1233.1645771758867,
                                            "count": 63639,
                                            "is_parallel": true,
                                            "self": 686.3652863221578,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.00158286300029431,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000465986999188317,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001116876001105993,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.001116876001105993
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.021419792999950005,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003284169997641584,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00023260899979504757,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023260899979504757
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.020013343000755413,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.020013343000755413
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0008454239996353863,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00020051000319654122,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0006449139964388451,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0006449139964388451
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 546.799290853729,
                                                    "count": 63638,
                                                    "is_parallel": true,
                                                    "self": 20.61271538584697,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 12.430857172174,
                                                            "count": 63638,
                                                            "is_parallel": true,
                                                            "self": 12.430857172174
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 464.3190750559097,
                                                            "count": 63638,
                                                            "is_parallel": true,
                                                            "self": 464.3190750559097
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 49.436643239798286,
                                                            "count": 63638,
                                                            "is_parallel": true,
                                                            "self": 11.509283125888032,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 37.927360113910254,
                                                                    "count": 509104,
                                                                    "is_parallel": true,
                                                                    "self": 37.927360113910254
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 566.5048475430503,
                            "count": 63639,
                            "self": 1.7729522932768305,
                            "children": {
                                "process_trajectory": {
                                    "total": 97.57101056479951,
                                    "count": 63639,
                                    "self": 97.41618787679909,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.1548226880004222,
                                            "count": 2,
                                            "self": 0.1548226880004222
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 467.160884684974,
                                    "count": 453,
                                    "self": 132.26211793892617,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 334.89876674604784,
                                            "count": 22767,
                                            "self": 334.89876674604784
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 5.9100057114847e-07,
                    "count": 1,
                    "self": 5.9100057114847e-07
                },
                "TrainerController._save_models": {
                    "total": 0.09201744500023779,
                    "count": 1,
                    "self": 0.00161428200044611,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09040316299979168,
                            "count": 1,
                            "self": 0.09040316299979168
                        }
                    }
                }
            }
        }
    }
}