File size: 18,734 Bytes
4636bc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3934801518917084,
            "min": 0.39156270027160645,
            "max": 1.3991166353225708,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 11653.30859375,
            "min": 11653.30859375,
            "max": 42443.6015625,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989874.0,
            "min": 29952.0,
            "max": 989874.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989874.0,
            "min": 29952.0,
            "max": 989874.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.4872932434082031,
            "min": -0.10621169954538345,
            "max": 0.5632720589637756,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 132.0564727783203,
            "min": -25.17217254638672,
            "max": 154.3365478515625,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.002978281117975712,
            "min": -0.07607637345790863,
            "max": 0.3929622769355774,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -0.8071141839027405,
            "min": -20.46454429626465,
            "max": 94.70391082763672,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06728147503634405,
            "min": 0.0648657434229534,
            "max": 0.07318615014522416,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9419406505088167,
            "min": 0.5123030510165691,
            "max": 1.0721503202221354,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014742131497076202,
            "min": 0.0010945898081160042,
            "max": 0.015876642882358283,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.20638984095906682,
            "min": 0.015324257313624058,
            "max": 0.23814964323537424,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.295433282507139e-06,
            "min": 7.295433282507139e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010213606595509994,
            "min": 0.00010213606595509994,
            "max": 0.0036331789889403996,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10243177857142857,
            "min": 0.10243177857142857,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4340449,
            "min": 1.3886848,
            "max": 2.6110596000000004,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00025293467928571417,
            "min": 0.00025293467928571417,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.003541085509999998,
            "min": 0.003541085509999998,
            "max": 0.12112485403999998,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.012699590064585209,
            "min": 0.012699590064585209,
            "max": 0.631924569606781,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.17779426276683807,
            "min": 0.17779426276683807,
            "max": 4.423471927642822,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 394.15584415584414,
            "min": 336.84090909090907,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30350.0,
            "min": 15984.0,
            "max": 33175.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.4759246583108778,
            "min": -1.0000000521540642,
            "max": 1.6404204355891456,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 113.64619868993759,
            "min": -30.20100162923336,
            "max": 144.3569983318448,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.4759246583108778,
            "min": -1.0000000521540642,
            "max": 1.6404204355891456,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 113.64619868993759,
            "min": -30.20100162923336,
            "max": 144.3569983318448,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.051344059006493935,
            "min": 0.051344059006493935,
            "max": 12.573345087468624,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 3.953492543500033,
            "min": 3.953492543500033,
            "max": 201.173521399498,
            "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": "1736210677",
        "python_version": "3.10.12 (main, Nov  6 2024, 20:22:13) [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.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.5.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1736213293"
    },
    "total": 2615.858218896,
    "count": 1,
    "self": 0.5929309100001774,
    "children": {
        "run_training.setup": {
            "total": 0.07350253200002044,
            "count": 1,
            "self": 0.07350253200002044
        },
        "TrainerController.start_learning": {
            "total": 2615.1917854539997,
            "count": 1,
            "self": 1.635096523993525,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.4374365709998074,
                    "count": 1,
                    "self": 2.4374365709998074
                },
                "TrainerController.advance": {
                    "total": 2611.0470743240066,
                    "count": 63705,
                    "self": 1.6331689311309674,
                    "children": {
                        "env_step": {
                            "total": 1673.8676946729038,
                            "count": 63705,
                            "self": 1552.2880973898145,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 120.61528319302238,
                                    "count": 63705,
                                    "self": 5.166436272989358,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 115.44884692003302,
                                            "count": 62552,
                                            "self": 115.44884692003302
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9643140900668641,
                                    "count": 63705,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2609.831658891068,
                                            "count": 63705,
                                            "is_parallel": true,
                                            "self": 1191.160453600069,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0026912619998711307,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006866679998438485,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002004594000027282,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.002004594000027282
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05391509700007191,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000756701000227622,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005060710000179824,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005060710000179824
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.050533259999838265,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.050533259999838265
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0021190649999880407,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004502290000800713,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016688359999079694,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016688359999079694
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1418.6712052909988,
                                                    "count": 63704,
                                                    "is_parallel": true,
                                                    "self": 39.077979528940205,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 28.790892771019116,
                                                            "count": 63704,
                                                            "is_parallel": true,
                                                            "self": 28.790892771019116
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1235.9065690339771,
                                                            "count": 63704,
                                                            "is_parallel": true,
                                                            "self": 1235.9065690339771
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 114.8957639570624,
                                                            "count": 63704,
                                                            "is_parallel": true,
                                                            "self": 24.191731259812286,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 90.70403269725011,
                                                                    "count": 509632,
                                                                    "is_parallel": true,
                                                                    "self": 90.70403269725011
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 935.5462107199717,
                            "count": 63705,
                            "self": 3.0064345949824656,
                            "children": {
                                "process_trajectory": {
                                    "total": 144.95343594099154,
                                    "count": 63705,
                                    "self": 144.77270160699186,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.18073433399968053,
                                            "count": 2,
                                            "self": 0.18073433399968053
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 787.5863401839977,
                                    "count": 449,
                                    "self": 342.80076061201976,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 444.7855795719779,
                                            "count": 22833,
                                            "self": 444.7855795719779
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.237999640579801e-06,
                    "count": 1,
                    "self": 1.237999640579801e-06
                },
                "TrainerController._save_models": {
                    "total": 0.07217679699988366,
                    "count": 1,
                    "self": 0.0017260619997614413,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.07045073500012222,
                            "count": 1,
                            "self": 0.07045073500012222
                        }
                    }
                }
            }
        }
    }
}