File size: 18,312 Bytes
2b097ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.7791247963905334,
            "min": 0.7560670971870422,
            "max": 1.4838001728057861,
            "count": 10
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 23635.529296875,
            "min": 22379.5859375,
            "max": 45012.5625,
            "count": 10
        },
        "Pyramids.Step.mean": {
            "value": 299903.0,
            "min": 29877.0,
            "max": 299903.0,
            "count": 10
        },
        "Pyramids.Step.sum": {
            "value": 299903.0,
            "min": 29877.0,
            "max": 299903.0,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.0642586201429367,
            "min": -0.13177074491977692,
            "max": -0.0642586201429367,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": -15.550586700439453,
            "min": -31.22966766357422,
            "max": -15.550586700439453,
            "count": 10
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.03877776488661766,
            "min": 0.03877776488661766,
            "max": 0.3745594918727875,
            "count": 10
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 9.3842191696167,
            "min": 9.3842191696167,
            "max": 88.77059936523438,
            "count": 10
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06953231513326322,
            "min": 0.06669966919980377,
            "max": 0.07366801302741358,
            "count": 10
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.973452411865685,
            "min": 0.5635750511891624,
            "max": 0.9959958189398583,
            "count": 10
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.0024346989993405408,
            "min": 0.0008716442391914917,
            "max": 0.007043386170792958,
            "count": 10
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.03408578599076757,
            "min": 0.011069152864609228,
            "max": 0.05634708936634367,
            "count": 10
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.5387094871000003e-05,
            "min": 1.5387094871000003e-05,
            "max": 0.0002840508803163749,
            "count": 10
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00021541932819400003,
            "min": 0.00021541932819400003,
            "max": 0.002554222148592666,
            "count": 10
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10512900000000001,
            "min": 0.10512900000000001,
            "max": 0.19468362500000003,
            "count": 10
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4718060000000002,
            "min": 1.4718060000000002,
            "max": 2.171375666666667,
            "count": 10
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0005223871000000002,
            "min": 0.0005223871000000002,
            "max": 0.0094688941375,
            "count": 10
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0073134194000000026,
            "min": 0.0073134194000000026,
            "max": 0.0851555926,
            "count": 10
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.035294752568006516,
            "min": 0.035294752568006516,
            "max": 0.37586709856987,
            "count": 10
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.4941265285015106,
            "min": 0.4941265285015106,
            "max": 3.00693678855896,
            "count": 10
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 949.9705882352941,
            "min": 949.9705882352941,
            "max": 999.0,
            "count": 10
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 32299.0,
            "min": 16804.0,
            "max": 32514.0,
            "count": 10
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": -0.666280053130218,
            "min": -0.9999742455059483,
            "max": -0.666280053130218,
            "count": 10
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": -23.31980185955763,
            "min": -30.999201610684395,
            "max": -14.819200910627842,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": -0.666280053130218,
            "min": -0.9999742455059483,
            "max": -0.666280053130218,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": -23.31980185955763,
            "min": -30.999201610684395,
            "max": -14.819200910627842,
            "count": 10
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.3488791763117271,
            "min": 0.3488791763117271,
            "max": 8.131311249207048,
            "count": 10
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 12.210771170910448,
            "min": 10.075590851251036,
            "max": 138.2322912365198,
            "count": 10
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 10
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 10
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1788182687",
        "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 --force",
        "mlagents_version": "1.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.8.0+cu128",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1788183644"
    },
    "total": 956.2308544130001,
    "count": 1,
    "self": 0.6868053019998115,
    "children": {
        "run_training.setup": {
            "total": 0.03984891000027346,
            "count": 1,
            "self": 0.03984891000027346
        },
        "TrainerController.start_learning": {
            "total": 955.504200201,
            "count": 1,
            "self": 0.6684928139766271,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.024218348999966,
                    "count": 1,
                    "self": 4.024218348999966
                },
                "TrainerController.advance": {
                    "total": 950.5272183270231,
                    "count": 18899,
                    "self": 0.7343716990440043,
                    "children": {
                        "env_step": {
                            "total": 621.7326429969671,
                            "count": 18899,
                            "self": 571.099877071018,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 50.19520230399621,
                                    "count": 18899,
                                    "self": 2.1089920579861428,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 48.08621024601007,
                                            "count": 18806,
                                            "self": 48.08621024601007
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.4375636219529042,
                                    "count": 18899,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 952.9102177039854,
                                            "count": 18899,
                                            "is_parallel": true,
                                            "self": 438.060527392051,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.004786624000189477,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0015638930008208263,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0032227309993686504,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0032227309993686504
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.1570211080002082,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007314170002246101,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005062580003141193,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005062580003141193
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.151351634999628,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.151351634999628
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.004431798000041454,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.001067536999926233,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0033642610001152207,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0033642610001152207
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 514.8496903119344,
                                                    "count": 18898,
                                                    "is_parallel": true,
                                                    "self": 13.754718849948404,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 9.348042021980746,
                                                            "count": 18898,
                                                            "is_parallel": true,
                                                            "self": 9.348042021980746
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 448.455892519034,
                                                            "count": 18898,
                                                            "is_parallel": true,
                                                            "self": 448.455892519034
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 43.29103692097124,
                                                            "count": 18898,
                                                            "is_parallel": true,
                                                            "self": 8.632290481934888,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 34.65874643903635,
                                                                    "count": 151184,
                                                                    "is_parallel": true,
                                                                    "self": 34.65874643903635
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 328.060203631012,
                            "count": 18899,
                            "self": 1.1840737840470865,
                            "children": {
                                "process_trajectory": {
                                    "total": 44.18694355996695,
                                    "count": 18899,
                                    "self": 44.18694355996695
                                },
                                "_update_policy": {
                                    "total": 282.68918628699794,
                                    "count": 124,
                                    "self": 108.70734992801135,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 173.98183635898658,
                                            "count": 6852,
                                            "self": 173.98183635898658
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1710003491316456e-06,
                    "count": 1,
                    "self": 1.1710003491316456e-06
                },
                "TrainerController._save_models": {
                    "total": 0.2842695399999684,
                    "count": 1,
                    "self": 0.0015100780001375824,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.2827594619998308,
                            "count": 1,
                            "self": 0.2827594619998308
                        }
                    }
                }
            }
        }
    }
}