File size: 18,715 Bytes
345c02f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.28938373923301697,
            "min": 0.28869688510894775,
            "max": 1.4830058813095093,
            "count": 62
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 8686.142578125,
            "min": 8686.142578125,
            "max": 44988.46484375,
            "count": 62
        },
        "Pyramids.Step.mean": {
            "value": 1859970.0,
            "min": 29952.0,
            "max": 1859970.0,
            "count": 62
        },
        "Pyramids.Step.sum": {
            "value": 1859970.0,
            "min": 29952.0,
            "max": 1859970.0,
            "count": 62
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.6734209060668945,
            "min": -0.09665857255458832,
            "max": 0.6920368671417236,
            "count": 62
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 188.55784606933594,
            "min": -23.391374588012695,
            "max": 199.9986572265625,
            "count": 62
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.0006567835225723684,
            "min": -0.05253283679485321,
            "max": 0.23250968754291534,
            "count": 62
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 0.183899387717247,
            "min": -14.026267051696777,
            "max": 55.80232620239258,
            "count": 62
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06742039654840563,
            "min": 0.06500617718123193,
            "max": 0.07376132471219686,
            "count": 62
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9438855516776788,
            "min": 0.4760923674065839,
            "max": 1.0854322901121158,
            "count": 62
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.013997409617950938,
            "min": 0.0005148802321640378,
            "max": 0.016071638004394203,
            "count": 62
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.19596373465131312,
            "min": 0.006693443018132491,
            "max": 0.22500293206151886,
            "count": 62
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 0.00011545030437372857,
            "min": 0.00011545030437372857,
            "max": 0.00029838354339596195,
            "count": 62
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0016163042612322,
            "min": 0.0016163042612322,
            "max": 0.003969038576987166,
            "count": 62
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.13848341428571428,
            "min": 0.13848341428571428,
            "max": 0.19946118095238097,
            "count": 62
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.9387678,
            "min": 1.3897045333333333,
            "max": 2.812505933333333,
            "count": 62
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.003854493087142858,
            "min": 0.003854493087142858,
            "max": 0.009946171977142856,
            "count": 62
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.05396290322000001,
            "min": 0.05396290322000001,
            "max": 0.13230898205,
            "count": 62
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.005462401080876589,
            "min": 0.0045905704610049725,
            "max": 0.3844895362854004,
            "count": 62
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.07647361606359482,
            "min": 0.06426798552274704,
            "max": 2.6914267539978027,
            "count": 62
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 305.68,
            "min": 284.5,
            "max": 999.0,
            "count": 62
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30568.0,
            "min": 15984.0,
            "max": 32736.0,
            "count": 62
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.5942999821901322,
            "min": -1.0000000521540642,
            "max": 1.6566607655555594,
            "count": 62
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 159.4299982190132,
            "min": -32.000001668930054,
            "max": 168.97939808666706,
            "count": 62
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.5942999821901322,
            "min": -1.0000000521540642,
            "max": 1.6566607655555594,
            "count": 62
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 159.4299982190132,
            "min": -32.000001668930054,
            "max": 168.97939808666706,
            "count": 62
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.017400569220480975,
            "min": 0.01684341960193991,
            "max": 8.022843619808555,
            "count": 62
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 1.7400569220480975,
            "min": 1.4181207066139905,
            "max": 128.36549791693687,
            "count": 62
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 62
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 62
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1691756474",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [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": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1691760959"
    },
    "total": 4484.808707615,
    "count": 1,
    "self": 0.3248037059993294,
    "children": {
        "run_training.setup": {
            "total": 0.04586917300002824,
            "count": 1,
            "self": 0.04586917300002824
        },
        "TrainerController.start_learning": {
            "total": 4484.438034736,
            "count": 1,
            "self": 2.9494383159872086,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.271625298999993,
                    "count": 1,
                    "self": 4.271625298999993
                },
                "TrainerController.advance": {
                    "total": 4477.060918841013,
                    "count": 119613,
                    "self": 2.9711518300036914,
                    "children": {
                        "env_step": {
                            "total": 3215.557095362953,
                            "count": 119613,
                            "self": 2987.5792016269093,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 226.11080068908996,
                                    "count": 119613,
                                    "self": 9.734088596051151,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 216.3767120930388,
                                            "count": 117049,
                                            "self": 216.3767120930388
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 1.8670930469537552,
                                    "count": 119612,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 4473.663049050969,
                                            "count": 119612,
                                            "is_parallel": true,
                                            "self": 1727.468788368034,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005082392000076652,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0035086830001773706,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0015737089998992815,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0015737089998992815
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05523085600009381,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006126190000941278,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004729639999823121,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004729639999823121
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05211275299996032,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05211275299996032
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0020325200000570476,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00045965000003889145,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015728700000181561,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015728700000181561
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 2746.194260682935,
                                                    "count": 119611,
                                                    "is_parallel": true,
                                                    "self": 67.8919517017398,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 46.479384981117505,
                                                            "count": 119611,
                                                            "is_parallel": true,
                                                            "self": 46.479384981117505
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2414.2851384260775,
                                                            "count": 119611,
                                                            "is_parallel": true,
                                                            "self": 2414.2851384260775
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 217.5377855739996,
                                                            "count": 119611,
                                                            "is_parallel": true,
                                                            "self": 44.18876127991132,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 173.34902429408828,
                                                                    "count": 956888,
                                                                    "is_parallel": true,
                                                                    "self": 173.34902429408828
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1258.5326716480556,
                            "count": 119612,
                            "self": 5.538928714040367,
                            "children": {
                                "process_trajectory": {
                                    "total": 227.9387620760192,
                                    "count": 119612,
                                    "self": 227.54747672401913,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.3912853520000681,
                                            "count": 3,
                                            "self": 0.3912853520000681
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1025.054980857996,
                                    "count": 855,
                                    "self": 668.8552328499748,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 356.1997480080213,
                                            "count": 42675,
                                            "self": 356.1997480080213
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1849997463286854e-06,
                    "count": 1,
                    "self": 1.1849997463286854e-06
                },
                "TrainerController._save_models": {
                    "total": 0.15605109500029357,
                    "count": 1,
                    "self": 0.002077164000183984,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.1539739310001096,
                            "count": 1,
                            "self": 0.1539739310001096
                        }
                    }
                }
            }
        }
    }
}