File size: 18,719 Bytes
8c1350e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.18968354165554047,
            "min": 0.1755959391593933,
            "max": 1.488650918006897,
            "count": 69
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 5708.7158203125,
            "min": 5279.1162109375,
            "max": 45159.71484375,
            "count": 69
        },
        "Pyramids.Step.mean": {
            "value": 2069951.0,
            "min": 29952.0,
            "max": 2069951.0,
            "count": 69
        },
        "Pyramids.Step.sum": {
            "value": 2069951.0,
            "min": 29952.0,
            "max": 2069951.0,
            "count": 69
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.8148035407066345,
            "min": -0.09488106518983841,
            "max": 0.8228468894958496,
            "count": 69
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 246.88546752929688,
            "min": -22.82662582397461,
            "max": 250.74118041992188,
            "count": 69
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.01773555763065815,
            "min": -0.026374325156211853,
            "max": 0.37354576587677,
            "count": 69
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 5.373874187469482,
            "min": -7.64855432510376,
            "max": 88.53034973144531,
            "count": 69
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06496373595326163,
            "min": 0.06472064311771343,
            "max": 0.07432566444313633,
            "count": 69
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9094923033456629,
            "min": 0.5202796511019543,
            "max": 1.1054783891852233,
            "count": 69
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.012761120731565392,
            "min": 0.0002604049990297676,
            "max": 0.016528935115738753,
            "count": 69
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.1786556902419155,
            "min": 0.002604049990297676,
            "max": 0.23261369204071045,
            "count": 69
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 9.442926852359998e-05,
            "min": 9.442926852359998e-05,
            "max": 0.00029838354339596195,
            "count": 69
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0013220097593303996,
            "min": 0.0013220097593303996,
            "max": 0.004027772457409233,
            "count": 69
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.13147640000000002,
            "min": 0.13147640000000002,
            "max": 0.19946118095238097,
            "count": 69
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.8406696000000002,
            "min": 1.3962282666666668,
            "max": 2.8425907666666665,
            "count": 69
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00315449236,
            "min": 0.00315449236,
            "max": 0.009946171977142856,
            "count": 69
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.04416289304,
            "min": 0.04416289304,
            "max": 0.13427481758999998,
            "count": 69
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.008442183956503868,
            "min": 0.007369266357272863,
            "max": 0.3536679148674011,
            "count": 69
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.11819057166576385,
            "min": 0.10316973179578781,
            "max": 2.475675344467163,
            "count": 69
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 232.97744360902254,
            "min": 217.27007299270073,
            "max": 999.0,
            "count": 69
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30986.0,
            "min": 15984.0,
            "max": 33244.0,
            "count": 69
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.752616652259321,
            "min": -1.0000000521540642,
            "max": 1.7681284558816548,
            "count": 69
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 231.34539809823036,
            "min": -31.998401656746864,
            "max": 242.2335984557867,
            "count": 69
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.752616652259321,
            "min": -1.0000000521540642,
            "max": 1.7681284558816548,
            "count": 69
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 231.34539809823036,
            "min": -31.998401656746864,
            "max": 242.2335984557867,
            "count": 69
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.020492130744638747,
            "min": 0.019907757191855908,
            "max": 6.795010124333203,
            "count": 69
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.7049612582923146,
            "min": 2.219608664920088,
            "max": 108.72016198933125,
            "count": 69
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 69
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 69
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1704867424",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.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": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.2+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1704872692"
    },
    "total": 5267.881148627001,
    "count": 1,
    "self": 0.33894925500135287,
    "children": {
        "run_training.setup": {
            "total": 0.05402938999986873,
            "count": 1,
            "self": 0.05402938999986873
        },
        "TrainerController.start_learning": {
            "total": 5267.488169982,
            "count": 1,
            "self": 3.289797792961508,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.676654252999924,
                    "count": 1,
                    "self": 2.676654252999924
                },
                "TrainerController.advance": {
                    "total": 5261.388628928038,
                    "count": 134176,
                    "self": 3.3574123511752987,
                    "children": {
                        "env_step": {
                            "total": 3897.98559204801,
                            "count": 134176,
                            "self": 3602.5180529010786,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 293.4263240859941,
                                    "count": 134176,
                                    "self": 10.634103851944474,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 282.79222023404964,
                                            "count": 129600,
                                            "self": 282.79222023404964
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.0412150609372475,
                                    "count": 134175,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 5255.301998365187,
                                            "count": 134175,
                                            "is_parallel": true,
                                            "self": 1930.876381950986,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0024066099999799917,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006730119989697414,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0017335980010102503,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0017335980010102503
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05946125399987068,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005948289999651024,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004888270000265038,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004888270000265038
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.056643485999757104,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.056643485999757104
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0017341120001219679,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003462690001470037,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0013878429999749642,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0013878429999749642
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3324.4256164142007,
                                                    "count": 134174,
                                                    "is_parallel": true,
                                                    "self": 76.52160039914042,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 55.4744102419927,
                                                            "count": 134174,
                                                            "is_parallel": true,
                                                            "self": 55.4744102419927
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2965.843675842068,
                                                            "count": 134174,
                                                            "is_parallel": true,
                                                            "self": 2965.843675842068
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 226.58592993099955,
                                                            "count": 134174,
                                                            "is_parallel": true,
                                                            "self": 47.414576585091254,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 179.1713533459083,
                                                                    "count": 1073392,
                                                                    "is_parallel": true,
                                                                    "self": 179.1713533459083
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1360.0456245288533,
                            "count": 134175,
                            "self": 6.41966488498565,
                            "children": {
                                "process_trajectory": {
                                    "total": 286.37858654085676,
                                    "count": 134175,
                                    "self": 285.9974531978569,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.381133342999874,
                                            "count": 4,
                                            "self": 0.381133342999874
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1067.247373103011,
                                    "count": 956,
                                    "self": 636.0507327511059,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 431.196640351905,
                                            "count": 47256,
                                            "self": 431.196640351905
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.401000190526247e-06,
                    "count": 1,
                    "self": 1.401000190526247e-06
                },
                "TrainerController._save_models": {
                    "total": 0.13308760699965205,
                    "count": 1,
                    "self": 0.0020231939997756854,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.13106441299987637,
                            "count": 1,
                            "self": 0.13106441299987637
                        }
                    }
                }
            }
        }
    }
}