File size: 18,779 Bytes
cf6eb13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.17382673919200897,
            "min": 0.17382673919200897,
            "max": 1.4680708646774292,
            "count": 67
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 5245.3955078125,
            "min": 5245.3955078125,
            "max": 44535.3984375,
            "count": 67
        },
        "Pyramids.Step.mean": {
            "value": 2009965.0,
            "min": 29952.0,
            "max": 2009965.0,
            "count": 67
        },
        "Pyramids.Step.sum": {
            "value": 2009965.0,
            "min": 29952.0,
            "max": 2009965.0,
            "count": 67
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.7971019744873047,
            "min": -0.060563962906599045,
            "max": 0.838578462600708,
            "count": 67
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 238.33349609375,
            "min": -14.595914840698242,
            "max": 256.6050109863281,
            "count": 67
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.019519036635756493,
            "min": -0.028085948899388313,
            "max": 0.44714999198913574,
            "count": 67
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 5.8361921310424805,
            "min": -8.257268905639648,
            "max": 105.97454833984375,
            "count": 67
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06736226267466995,
            "min": 0.06419471886363767,
            "max": 0.07418490870969392,
            "count": 67
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9430716774453793,
            "min": 0.5059105568176039,
            "max": 1.0986826199040673,
            "count": 67
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014044906552398383,
            "min": 0.0006713748298714519,
            "max": 0.01684946114500151,
            "count": 67
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.19662869173357736,
            "min": 0.007385123128585971,
            "max": 0.24235258578019234,
            "count": 67
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 0.0001004180736701881,
            "min": 0.0001004180736701881,
            "max": 0.00029838354339596195,
            "count": 67
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0014058530313826333,
            "min": 0.0014058530313826333,
            "max": 0.004162595112468333,
            "count": 67
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.13347266904761904,
            "min": 0.13347266904761904,
            "max": 0.19946118095238097,
            "count": 67
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.8686173666666666,
            "min": 1.3962282666666668,
            "max": 2.887531666666667,
            "count": 67
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0033539196378571424,
            "min": 0.0033539196378571424,
            "max": 0.009946171977142856,
            "count": 67
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.046954874929999994,
            "min": 0.046954874929999994,
            "max": 0.1387644135,
            "count": 67
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.009193127043545246,
            "min": 0.008977246470749378,
            "max": 0.5175396800041199,
            "count": 67
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.128703773021698,
            "min": 0.12634122371673584,
            "max": 3.6227777004241943,
            "count": 67
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 231.1640625,
            "min": 215.0359712230216,
            "max": 999.0,
            "count": 67
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29589.0,
            "min": 15984.0,
            "max": 33752.0,
            "count": 67
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.7532062327954918,
            "min": -1.0000000521540642,
            "max": 1.7849640184812408,
            "count": 67
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 224.41039779782295,
            "min": -30.99840161204338,
            "max": 248.10999856889248,
            "count": 67
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.7532062327954918,
            "min": -1.0000000521540642,
            "max": 1.7849640184812408,
            "count": 67
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 224.41039779782295,
            "min": -30.99840161204338,
            "max": 248.10999856889248,
            "count": 67
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.0218517561149838,
            "min": 0.02074999827430952,
            "max": 11.254901316016912,
            "count": 67
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.7970247827179264,
            "min": 2.6799589603906497,
            "max": 180.0784210562706,
            "count": 67
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 67
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 67
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1776255384",
        "python_version": "3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0]",
        "command_line_arguments": "/content/ml-agents/ml-agents/mlagents/trainers/learn.py ./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.8.0+cu128",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1776258959"
    },
    "total": 3574.305676917,
    "count": 1,
    "self": 0.28823517199998605,
    "children": {
        "run_training.setup": {
            "total": 0.020537009000008766,
            "count": 1,
            "self": 0.020537009000008766
        },
        "TrainerController.start_learning": {
            "total": 3573.996904736,
            "count": 1,
            "self": 2.931396191967451,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.424915349999992,
                    "count": 1,
                    "self": 2.424915349999992
                },
                "TrainerController.advance": {
                    "total": 3568.5578496920325,
                    "count": 131623,
                    "self": 2.761282976023722,
                    "children": {
                        "env_step": {
                            "total": 2259.007255424086,
                            "count": 131623,
                            "self": 1955.863011068092,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 301.4284310940611,
                                    "count": 131623,
                                    "self": 8.978728439078736,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 292.4497026549824,
                                            "count": 126698,
                                            "self": 292.4497026549824
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 1.7158132619330217,
                                    "count": 131623,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 3568.7546765180873,
                                            "count": 131623,
                                            "is_parallel": true,
                                            "self": 1800.845883619094,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.001861339000015505,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006241529998760598,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0012371860001394452,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0012371860001394452
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03911051700004009,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00040683100007754547,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00030404899996483437,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00030404899996483437
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03727141000001666,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03727141000001666
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0011282269999810524,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00027942600002006657,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0008488009999609858,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0008488009999609858
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1767.9087928989934,
                                                    "count": 131622,
                                                    "is_parallel": true,
                                                    "self": 42.61845364200394,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 28.616470887966216,
                                                            "count": 131622,
                                                            "is_parallel": true,
                                                            "self": 28.616470887966216
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1574.5572109919842,
                                                            "count": 131622,
                                                            "is_parallel": true,
                                                            "self": 1574.5572109919842
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 122.11665737703902,
                                                            "count": 131622,
                                                            "is_parallel": true,
                                                            "self": 26.733273666144896,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 95.38338371089412,
                                                                    "count": 1052976,
                                                                    "is_parallel": true,
                                                                    "self": 95.38338371089412
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1306.7893112919228,
                            "count": 131623,
                            "self": 5.7719391719961095,
                            "children": {
                                "process_trajectory": {
                                    "total": 248.87537905092483,
                                    "count": 131623,
                                    "self": 248.54681763092515,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.32856141999968713,
                                            "count": 4,
                                            "self": 0.32856141999968713
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1052.1419930690017,
                                    "count": 942,
                                    "self": 569.5711688639472,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 482.5708242050546,
                                            "count": 46133,
                                            "self": 482.5708242050546
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.5960004020598717e-06,
                    "count": 1,
                    "self": 1.5960004020598717e-06
                },
                "TrainerController._save_models": {
                    "total": 0.08274190599968279,
                    "count": 1,
                    "self": 0.0010111109995705192,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08173079500011227,
                            "count": 1,
                            "self": 0.08173079500011227
                        }
                    }
                }
            }
        }
    }
}