File size: 18,744 Bytes
fa9eb59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.39831289649009705,
            "min": 0.37933555245399475,
            "max": 1.4144693613052368,
            "count": 36
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 11923.89453125,
            "min": 11301.1650390625,
            "max": 42909.34375,
            "count": 36
        },
        "Pyramids.Step.mean": {
            "value": 1079894.0,
            "min": 29952.0,
            "max": 1079894.0,
            "count": 36
        },
        "Pyramids.Step.sum": {
            "value": 1079894.0,
            "min": 29952.0,
            "max": 1079894.0,
            "count": 36
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.49702221155166626,
            "min": -0.14813606441020966,
            "max": 0.5064069032669067,
            "count": 36
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 137.17813110351562,
            "min": -35.70079040527344,
            "max": 139.1443634033203,
            "count": 36
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.015302793122828007,
            "min": -0.1931729018688202,
            "max": 0.7274191379547119,
            "count": 36
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 4.223570823669434,
            "min": -48.872745513916016,
            "max": 190.5838165283203,
            "count": 36
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06724070694439838,
            "min": 0.06536673733498086,
            "max": 0.07373097220160413,
            "count": 36
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0086106041659757,
            "min": 0.505696042935095,
            "max": 1.076398838687501,
            "count": 36
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01568846061968038,
            "min": 0.0006959022423372548,
            "max": 0.05931613362058071,
            "count": 36
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.2353269092952057,
            "min": 0.007023961151024996,
            "max": 0.83042587068813,
            "count": 36
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 9.529315005412124e-06,
            "min": 9.529315005412124e-06,
            "max": 0.00029559148198898697,
            "count": 36
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00014293972508118186,
            "min": 0.00014293972508118186,
            "max": 0.003572336391039454,
            "count": 36
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10317640606060606,
            "min": 0.10317640606060606,
            "max": 0.19853049350649352,
            "count": 36
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.547646090909091,
            "min": 1.3897134545454546,
            "max": 2.5907787272727276,
            "count": 36
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0003273229654545455,
            "min": 0.0003273229654545455,
            "max": 0.009853196301298703,
            "count": 36
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.004909844481818182,
            "min": 0.004909844481818182,
            "max": 0.11909879485454544,
            "count": 36
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.008349628187716007,
            "min": 0.008349628187716007,
            "max": 0.439834326505661,
            "count": 36
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.12524442374706268,
            "min": 0.11821836233139038,
            "max": 3.0788402557373047,
            "count": 36
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 386.0506329113924,
            "min": 356.29333333333335,
            "max": 999.0,
            "count": 36
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30498.0,
            "min": 15984.0,
            "max": 32935.0,
            "count": 36
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.5379822618221934,
            "min": -1.0000000521540642,
            "max": 1.5917368170462156,
            "count": 36
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 121.50059868395329,
            "min": -29.986601628363132,
            "max": 124.93739838898182,
            "count": 36
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.5379822618221934,
            "min": -1.0000000521540642,
            "max": 1.5917368170462156,
            "count": 36
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 121.50059868395329,
            "min": -29.986601628363132,
            "max": 124.93739838898182,
            "count": 36
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.032908780339669104,
            "min": 0.03172660755387226,
            "max": 9.193809444084764,
            "count": 36
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.5997936468338594,
            "min": 2.4112221740942914,
            "max": 147.10095110535622,
            "count": 36
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 36
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 36
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1742753822",
        "python_version": "3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.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.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.6.0+cu124",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1742756483"
    },
    "total": 2661.484427951,
    "count": 1,
    "self": 0.5429052819999924,
    "children": {
        "run_training.setup": {
            "total": 0.02131256799998482,
            "count": 1,
            "self": 0.02131256799998482
        },
        "TrainerController.start_learning": {
            "total": 2660.9202101009996,
            "count": 1,
            "self": 1.6723123979672891,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.45513235500016,
                    "count": 1,
                    "self": 2.45513235500016
                },
                "TrainerController.advance": {
                    "total": 2656.6961225780315,
                    "count": 70154,
                    "self": 1.8545058642175718,
                    "children": {
                        "env_step": {
                            "total": 1845.254732636949,
                            "count": 70154,
                            "self": 1662.970226572999,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 181.30678605201751,
                                    "count": 70154,
                                    "self": 5.531262539120462,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 175.77552351289705,
                                            "count": 68805,
                                            "self": 175.77552351289705
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9777200119324334,
                                    "count": 70154,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2654.840841083988,
                                            "count": 70154,
                                            "is_parallel": true,
                                            "self": 1127.9102182590316,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.00204206500006876,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006854050006950274,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0013566599993737327,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0013566599993737327
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.049051121000047715,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006099069998981577,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004437439999946946,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004437439999946946
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04632717700019384,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04632717700019384
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0016702929999610205,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00036548799994307046,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.00130480500001795,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.00130480500001795
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1526.9306228249563,
                                                    "count": 70153,
                                                    "is_parallel": true,
                                                    "self": 37.96658567590771,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 26.305178255955752,
                                                            "count": 70153,
                                                            "is_parallel": true,
                                                            "self": 26.305178255955752
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1351.4904879181006,
                                                            "count": 70153,
                                                            "is_parallel": true,
                                                            "self": 1351.4904879181006
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 111.16837097499229,
                                                            "count": 70153,
                                                            "is_parallel": true,
                                                            "self": 23.053383413983056,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 88.11498756100923,
                                                                    "count": 561224,
                                                                    "is_parallel": true,
                                                                    "self": 88.11498756100923
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 809.5868840768649,
                            "count": 70154,
                            "self": 3.3277031028792408,
                            "children": {
                                "process_trajectory": {
                                    "total": 147.60956463898765,
                                    "count": 70154,
                                    "self": 147.39496692498778,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.21459771399986494,
                                            "count": 2,
                                            "self": 0.21459771399986494
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 658.649616334998,
                                    "count": 497,
                                    "self": 359.79146385696527,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 298.8581524780327,
                                            "count": 25101,
                                            "self": 298.8581524780327
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.919996616896242e-07,
                    "count": 1,
                    "self": 8.919996616896242e-07
                },
                "TrainerController._save_models": {
                    "total": 0.09664187800080981,
                    "count": 1,
                    "self": 0.0016111670011014212,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09503071099970839,
                            "count": 1,
                            "self": 0.09503071099970839
                        }
                    }
                }
            }
        }
    }
}