File size: 18,732 Bytes
76ac13c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.36006778478622437,
            "min": 0.3245562016963959,
            "max": 1.4868627786636353,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 10669.5283203125,
            "min": 9669.1787109375,
            "max": 45105.46875,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989925.0,
            "min": 29952.0,
            "max": 989925.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989925.0,
            "min": 29952.0,
            "max": 989925.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.5423502922058105,
            "min": -0.10887411236763,
            "max": 0.5632745027542114,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 147.519287109375,
            "min": -26.23866081237793,
            "max": 157.71685791015625,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.09537006914615631,
            "min": -0.039356328547000885,
            "max": 0.2998943626880646,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 25.940658569335938,
            "min": -10.586852073669434,
            "max": 71.97464752197266,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.07105379078088195,
            "min": 0.06614181036090379,
            "max": 0.0754068587441762,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9947530709323472,
            "min": 0.5209487875001559,
            "max": 1.1139361983223353,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.015467581246498626,
            "min": 0.0011312017725317142,
            "max": 0.017187433924489452,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.21654613745098078,
            "min": 0.007918412407722,
            "max": 0.24062407494285235,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.552318911164287e-06,
            "min": 7.552318911164287e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010573246475630002,
            "min": 0.00010573246475630002,
            "max": 0.0032527859157380997,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10251740714285716,
            "min": 0.10251740714285716,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4352437000000002,
            "min": 1.3691136000000002,
            "max": 2.5273699,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0002614889735714287,
            "min": 0.0002614889735714287,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.003660845630000002,
            "min": 0.003660845630000002,
            "max": 0.10844776381000001,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.013922370970249176,
            "min": 0.013922370970249176,
            "max": 0.521253228187561,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.19491319358348846,
            "min": 0.19491319358348846,
            "max": 3.6487724781036377,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 345.09090909090907,
            "min": 331.42528735632186,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30368.0,
            "min": 15984.0,
            "max": 32477.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.5639681619676677,
            "min": -1.0000000521540642,
            "max": 1.5989627718578938,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 137.62919825315475,
            "min": -32.000001668930054,
            "max": 137.62919825315475,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.5639681619676677,
            "min": -1.0000000521540642,
            "max": 1.5989627718578938,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 137.62919825315475,
            "min": -32.000001668930054,
            "max": 137.62919825315475,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.04968073670914402,
            "min": 0.04968073670914402,
            "max": 10.231403378769755,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 4.371904830404674,
            "min": 4.371904830404674,
            "max": 163.7024540603161,
            "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": "1743159145",
        "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": "1743161464"
    },
    "total": 2319.2635092339997,
    "count": 1,
    "self": 0.4768032160000075,
    "children": {
        "run_training.setup": {
            "total": 0.020096942999998646,
            "count": 1,
            "self": 0.020096942999998646
        },
        "TrainerController.start_learning": {
            "total": 2318.766609075,
            "count": 1,
            "self": 1.352054196931931,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.2770004720000543,
                    "count": 1,
                    "self": 2.2770004720000543
                },
                "TrainerController.advance": {
                    "total": 2315.0510733220676,
                    "count": 63980,
                    "self": 1.4403258740962883,
                    "children": {
                        "env_step": {
                            "total": 1625.385144049005,
                            "count": 63980,
                            "self": 1471.4112774111027,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 153.16666405791693,
                                    "count": 63980,
                                    "self": 4.596674893936324,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 148.5699891639806,
                                            "count": 62569,
                                            "self": 148.5699891639806
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.8072025799854146,
                                    "count": 63980,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2313.4866075999594,
                                            "count": 63980,
                                            "is_parallel": true,
                                            "self": 955.7925004669232,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.00299857000004522,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000917510999897786,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002081059000147434,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.002081059000147434
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.047894439000174316,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005108420002670755,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00045361599995885626,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00045361599995885626
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04536332299994683,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04536332299994683
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0015666580000015529,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003368380002939375,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0012298199997076154,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0012298199997076154
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1357.6941071330361,
                                                    "count": 63979,
                                                    "is_parallel": true,
                                                    "self": 31.964988219986026,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 22.782211368046774,
                                                            "count": 63979,
                                                            "is_parallel": true,
                                                            "self": 22.782211368046774
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1207.634901503004,
                                                            "count": 63979,
                                                            "is_parallel": true,
                                                            "self": 1207.634901503004
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 95.31200604199944,
                                                            "count": 63979,
                                                            "is_parallel": true,
                                                            "self": 19.23121574788911,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 76.08079029411033,
                                                                    "count": 511832,
                                                                    "is_parallel": true,
                                                                    "self": 76.08079029411033
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 688.2256033989665,
                            "count": 63980,
                            "self": 2.636153549961591,
                            "children": {
                                "process_trajectory": {
                                    "total": 127.6161246420013,
                                    "count": 63980,
                                    "self": 127.41792454700158,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.19820009499972002,
                                            "count": 2,
                                            "self": 0.19820009499972002
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 557.9733252070037,
                                    "count": 443,
                                    "self": 306.88082107303217,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 251.0925041339715,
                                            "count": 22827,
                                            "self": 251.0925041339715
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.750002962187864e-07,
                    "count": 1,
                    "self": 8.750002962187864e-07
                },
                "TrainerController._save_models": {
                    "total": 0.0864802090000012,
                    "count": 1,
                    "self": 0.0015289590000975295,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08495124999990367,
                            "count": 1,
                            "self": 0.08495124999990367
                        }
                    }
                }
            }
        }
    }
}