File size: 18,789 Bytes
944d1de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.4890124201774597,
            "min": 0.4871698021888733,
            "max": 1.497849941253662,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 14623.427734375,
            "min": 14623.427734375,
            "max": 45438.77734375,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989872.0,
            "min": 29952.0,
            "max": 989872.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989872.0,
            "min": 29952.0,
            "max": 989872.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.3821113705635071,
            "min": -0.12042415142059326,
            "max": 0.4299923777580261,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 101.6416244506836,
            "min": -29.022220611572266,
            "max": 116.09793853759766,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.03452696651220322,
            "min": -0.03452696651220322,
            "max": 0.7002473473548889,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -9.184173583984375,
            "min": -9.184173583984375,
            "max": 165.9586181640625,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06565161668503114,
            "min": 0.06472854698150818,
            "max": 0.07277536266258362,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.919122633590436,
            "min": 0.48718782245056386,
            "max": 1.0381515710032547,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.012553311362521411,
            "min": 0.00024897427902019937,
            "max": 0.01297823557262022,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.17574635907529976,
            "min": 0.002987691348242392,
            "max": 0.18169529801668308,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.666618873064285e-06,
            "min": 7.666618873064285e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0001073326642229,
            "min": 0.0001073326642229,
            "max": 0.0032603837132055002,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10255550714285715,
            "min": 0.10255550714285715,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4357771000000001,
            "min": 1.3691136000000002,
            "max": 2.3867945,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0002652951635714286,
            "min": 0.0002652951635714286,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0037141322900000003,
            "min": 0.0037141322900000003,
            "max": 0.10870077055,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.009146452881395817,
            "min": 0.009146452881395817,
            "max": 0.47849056124687195,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.12805034220218658,
            "min": 0.12805034220218658,
            "max": 3.3494338989257812,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 473.4754098360656,
            "min": 432.6617647058824,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 28882.0,
            "min": 15984.0,
            "max": 32881.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.3625507950782776,
            "min": -1.0000000521540642,
            "max": 1.4790705629788778,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 83.11559849977493,
            "min": -32.000001668930054,
            "max": 100.61259798705578,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.3625507950782776,
            "min": -1.0000000521540642,
            "max": 1.4790705629788778,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 83.11559849977493,
            "min": -32.000001668930054,
            "max": 100.61259798705578,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.04494388605139722,
            "min": 0.043409924179030265,
            "max": 10.492835386656225,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.7415770491352305,
            "min": 2.7415770491352305,
            "max": 167.8853661864996,
            "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": "1787063713",
        "python_version": "3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]",
        "command_line_arguments": "/content/mlagents310/bin/mlagents-learn ./ml-agents/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": "1787066547"
    },
    "total": 2834.269838649,
    "count": 1,
    "self": 0.5288361100006114,
    "children": {
        "run_training.setup": {
            "total": 0.027758845999869664,
            "count": 1,
            "self": 0.027758845999869664
        },
        "TrainerController.start_learning": {
            "total": 2833.7132436929996,
            "count": 1,
            "self": 1.6961907119821262,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.3100528109998777,
                    "count": 1,
                    "self": 2.3100528109998777
                },
                "TrainerController.advance": {
                    "total": 2829.619582757018,
                    "count": 63411,
                    "self": 1.7855552890196122,
                    "children": {
                        "env_step": {
                            "total": 2108.8993917929974,
                            "count": 63411,
                            "self": 1923.6632750990739,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 184.15169360293703,
                                    "count": 63411,
                                    "self": 5.659447369906047,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 178.49224623303098,
                                            "count": 62564,
                                            "self": 178.49224623303098
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 1.0844230909865473,
                                    "count": 63411,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2827.2394030829946,
                                            "count": 63411,
                                            "is_parallel": true,
                                            "self": 1050.5821578619427,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0020644670000820042,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006295600003340951,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0014349069997479091,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0014349069997479091
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05796209400000407,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007104570001956745,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005380140000852407,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005380140000852407
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.054655366999895705,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.054655366999895705
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.002058255999827452,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004437629995663883,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016144930002610636,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016144930002610636
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1776.6572452210519,
                                                    "count": 63410,
                                                    "is_parallel": true,
                                                    "self": 39.855736947260766,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 28.404749949941333,
                                                            "count": 63410,
                                                            "is_parallel": true,
                                                            "self": 28.404749949941333
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1572.8477439518722,
                                                            "count": 63410,
                                                            "is_parallel": true,
                                                            "self": 1572.8477439518722
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 135.5490143719776,
                                                            "count": 63410,
                                                            "is_parallel": true,
                                                            "self": 27.167718703889477,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 108.38129566808811,
                                                                    "count": 507280,
                                                                    "is_parallel": true,
                                                                    "self": 108.38129566808811
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 718.9346356750013,
                            "count": 63411,
                            "self": 3.157804953989398,
                            "children": {
                                "process_trajectory": {
                                    "total": 129.78335699500326,
                                    "count": 63411,
                                    "self": 129.56936665900298,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.21399033600027906,
                                            "count": 2,
                                            "self": 0.21399033600027906
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 585.9934737260087,
                                    "count": 439,
                                    "self": 314.78817231297944,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 271.20530141302925,
                                            "count": 22800,
                                            "self": 271.20530141302925
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.050999344442971e-06,
                    "count": 1,
                    "self": 1.050999344442971e-06
                },
                "TrainerController._save_models": {
                    "total": 0.08741636200011271,
                    "count": 1,
                    "self": 0.0010888890001297113,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.086327472999983,
                            "count": 1,
                            "self": 0.086327472999983
                        }
                    }
                }
            }
        }
    }
}