File size: 18,714 Bytes
8e6f587
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.39538851380348206,
            "min": 0.39538851380348206,
            "max": 1.38942289352417,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 11886.9599609375,
            "min": 11886.9599609375,
            "max": 42149.53125,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989944.0,
            "min": 29967.0,
            "max": 989944.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989944.0,
            "min": 29967.0,
            "max": 989944.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.29764261841773987,
            "min": -0.11905121803283691,
            "max": 0.29764261841773987,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 77.68472290039062,
            "min": -28.57229232788086,
            "max": 77.68472290039062,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 5.049723148345947,
            "min": 0.002880493411794305,
            "max": 5.153602600097656,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 1317.977783203125,
            "min": 0.7431672811508179,
            "max": 1355.3974609375,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06850021007638941,
            "min": 0.06512325192171968,
            "max": 0.0729450000784924,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0275031511458412,
            "min": 0.5106150005494469,
            "max": 1.0803411733130832,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 3.3813713929305473,
            "min": 0.00016139952568518872,
            "max": 4.183481407484838,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 50.72057089395821,
            "min": 0.0020981938339074534,
            "max": 58.56873970478773,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.483497505533335e-06,
            "min": 7.483497505533335e-06,
            "max": 0.00029523775873027143,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00011225246258300003,
            "min": 0.00011225246258300003,
            "max": 0.003373588075470699,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10249446666666669,
            "min": 0.10249446666666669,
            "max": 0.19841258571428572,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.5374170000000003,
            "min": 1.3888881,
            "max": 2.4853981000000003,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00025919722000000017,
            "min": 0.00025919722000000017,
            "max": 0.009841417312857143,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0038879583000000022,
            "min": 0.0038879583000000022,
            "max": 0.11247047707000002,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.01441147830337286,
            "min": 0.01441147830337286,
            "max": 0.4470309913158417,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.21617217361927032,
            "min": 0.21094852685928345,
            "max": 3.1292169094085693,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 511.1929824561403,
            "min": 490.28846153846155,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29138.0,
            "min": 16638.0,
            "max": 34305.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.2080350608417862,
            "min": -0.9998903750411926,
            "max": 1.2403961268181984,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 68.85799846798182,
            "min": -30.99660162627697,
            "max": 68.85799846798182,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.2080350608417862,
            "min": -0.9998903750411926,
            "max": 1.2403961268181984,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 68.85799846798182,
            "min": -30.99660162627697,
            "max": 68.85799846798182,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.07679309136501775,
            "min": 0.07679309136501775,
            "max": 8.521745932891088,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 4.377206207806012,
            "min": 4.3321405061287805,
            "max": 144.8696808591485,
            "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": "1710127277",
        "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.2.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1710129428"
    },
    "total": 2150.9964587529994,
    "count": 1,
    "self": 0.526970311999321,
    "children": {
        "run_training.setup": {
            "total": 0.0550429670001904,
            "count": 1,
            "self": 0.0550429670001904
        },
        "TrainerController.start_learning": {
            "total": 2150.414445474,
            "count": 1,
            "self": 1.4685370589786544,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.300935348999701,
                    "count": 1,
                    "self": 2.300935348999701
                },
                "TrainerController.advance": {
                    "total": 2146.558735994022,
                    "count": 63330,
                    "self": 1.6334185090945539,
                    "children": {
                        "env_step": {
                            "total": 1492.460517768015,
                            "count": 63330,
                            "self": 1350.3190028890294,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 141.2464325449546,
                                    "count": 63330,
                                    "self": 4.982179163030196,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 136.2642533819244,
                                            "count": 62560,
                                            "self": 136.2642533819244
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.8950823340310308,
                                    "count": 63330,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2145.1393446600678,
                                            "count": 63330,
                                            "is_parallel": true,
                                            "self": 920.2877215810158,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0023770010002408526,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006949399994482519,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0016820610007926007,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0016820610007926007
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05349537399979454,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006773929990231409,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004554840006676386,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004554840006676386
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05060221100029594,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05060221100029594
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0017602859998078202,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003565399974831962,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001403746002324624,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001403746002324624
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1224.851623079052,
                                                    "count": 63329,
                                                    "is_parallel": true,
                                                    "self": 36.525143415653474,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 24.41397602021334,
                                                            "count": 63329,
                                                            "is_parallel": true,
                                                            "self": 24.41397602021334
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1059.491220503107,
                                                            "count": 63329,
                                                            "is_parallel": true,
                                                            "self": 1059.491220503107
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 104.42128314007823,
                                                            "count": 63329,
                                                            "is_parallel": true,
                                                            "self": 21.256275652786826,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 83.1650074872914,
                                                                    "count": 506632,
                                                                    "is_parallel": true,
                                                                    "self": 83.1650074872914
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 652.4647997169122,
                            "count": 63330,
                            "self": 2.8916773018354434,
                            "children": {
                                "process_trajectory": {
                                    "total": 129.07337028508482,
                                    "count": 63330,
                                    "self": 128.86787921508403,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.20549107000078948,
                                            "count": 2,
                                            "self": 0.20549107000078948
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 520.499752129992,
                                    "count": 451,
                                    "self": 304.97874450604286,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 215.52100762394912,
                                            "count": 22803,
                                            "self": 215.52100762394912
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.589995559304953e-07,
                    "count": 1,
                    "self": 8.589995559304953e-07
                },
                "TrainerController._save_models": {
                    "total": 0.08623621300012019,
                    "count": 1,
                    "self": 0.0014567629996236064,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08477945000049658,
                            "count": 1,
                            "self": 0.08477945000049658
                        }
                    }
                }
            }
        }
    }
}