File size: 18,765 Bytes
209a637
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.5138388872146606,
            "min": 0.5080400705337524,
            "max": 1.498448371887207,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 15374.0595703125,
            "min": 15363.130859375,
            "max": 45456.9296875,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989891.0,
            "min": 29952.0,
            "max": 989891.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989891.0,
            "min": 29952.0,
            "max": 989891.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.6157060265541077,
            "min": -0.21406716108322144,
            "max": 0.6157060265541077,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 176.0919189453125,
            "min": -50.733917236328125,
            "max": 176.0919189453125,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.02693929150700569,
            "min": -0.039169225841760635,
            "max": 0.28814807534217834,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 7.70463752746582,
            "min": -10.771536827087402,
            "max": 68.29109191894531,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06573178802629828,
            "min": 0.0651419756287,
            "max": 0.0726410480053425,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9859768203944743,
            "min": 0.47899956920019604,
            "max": 1.0541034531391538,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014932036686999103,
            "min": 0.0013503387780880035,
            "max": 0.01563697836224622,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.22398055030498654,
            "min": 0.018384462603620557,
            "max": 0.22398055030498654,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.5474574842133325e-06,
            "min": 7.5474574842133325e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00011321186226319999,
            "min": 0.00011321186226319999,
            "max": 0.0037570780476406996,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10251578666666668,
            "min": 0.10251578666666668,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.5377368000000002,
            "min": 1.3886848,
            "max": 2.6523593,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.000261327088,
            "min": 0.000261327088,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0039199063199999995,
            "min": 0.0039199063199999995,
            "max": 0.12525069407000003,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.008436107076704502,
            "min": 0.008436107076704502,
            "max": 0.3440583348274231,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.1265415996313095,
            "min": 0.12067276239395142,
            "max": 2.4084084033966064,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 292.36082474226805,
            "min": 292.36082474226805,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 28359.0,
            "min": 15984.0,
            "max": 33171.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.687012352279781,
            "min": -1.0000000521540642,
            "max": 1.687012352279781,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 163.64019817113876,
            "min": -26.349801689386368,
            "max": 163.64019817113876,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.687012352279781,
            "min": -1.0000000521540642,
            "max": 1.687012352279781,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 163.64019817113876,
            "min": -26.349801689386368,
            "max": 163.64019817113876,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.025669250699100997,
            "min": 0.025669250699100997,
            "max": 7.308761367574334,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.4899173178127967,
            "min": 2.4899173178127967,
            "max": 116.94018188118935,
            "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": "1776777489",
        "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 /content/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": "1776779729"
    },
    "total": 2239.631921993,
    "count": 1,
    "self": 0.47799708600041413,
    "children": {
        "run_training.setup": {
            "total": 0.024718357999972795,
            "count": 1,
            "self": 0.024718357999972795
        },
        "TrainerController.start_learning": {
            "total": 2239.1292065489997,
            "count": 1,
            "self": 1.4566781090379664,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.1446335840000756,
                    "count": 1,
                    "self": 2.1446335840000756
                },
                "TrainerController.advance": {
                    "total": 2235.4536270339613,
                    "count": 63854,
                    "self": 1.448912584923164,
                    "children": {
                        "env_step": {
                            "total": 1570.2896358880334,
                            "count": 63854,
                            "self": 1414.1509219100699,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 155.2708833519864,
                                    "count": 63854,
                                    "self": 4.8566258990331335,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 150.41425745295328,
                                            "count": 62563,
                                            "self": 150.41425745295328
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.8678306259771489,
                                    "count": 63854,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2232.7652033850272,
                                            "count": 63854,
                                            "is_parallel": true,
                                            "self": 939.3746803030263,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0018444190000082017,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006057980008336017,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0012386209991746,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0012386209991746
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05265335200010668,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005881489996681921,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005069220001132635,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005069220001132635
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.049725902000318456,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.049725902000318456
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0018323790000067675,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003751910003302328,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0014571879996765347,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0014571879996765347
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1293.390523082001,
                                                    "count": 63853,
                                                    "is_parallel": true,
                                                    "self": 34.60886772517006,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 24.086681259973375,
                                                            "count": 63853,
                                                            "is_parallel": true,
                                                            "self": 24.086681259973375
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1122.433297434979,
                                                            "count": 63853,
                                                            "is_parallel": true,
                                                            "self": 1122.433297434979
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 112.26167666187848,
                                                            "count": 63853,
                                                            "is_parallel": true,
                                                            "self": 23.733901589077504,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 88.52777507280098,
                                                                    "count": 510824,
                                                                    "is_parallel": true,
                                                                    "self": 88.52777507280098
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 663.7150785610047,
                            "count": 63854,
                            "self": 2.9095772220498475,
                            "children": {
                                "process_trajectory": {
                                    "total": 129.37842630596015,
                                    "count": 63854,
                                    "self": 129.17778429196142,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.20064201399873127,
                                            "count": 2,
                                            "self": 0.20064201399873127
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 531.4270750329947,
                                    "count": 458,
                                    "self": 292.14681188202894,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 239.28026315096577,
                                            "count": 22761,
                                            "self": 239.28026315096577
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.390005288878456e-07,
                    "count": 1,
                    "self": 9.390005288878456e-07
                },
                "TrainerController._save_models": {
                    "total": 0.07426688299983653,
                    "count": 1,
                    "self": 0.0010197789997619111,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.07324710400007461,
                            "count": 1,
                            "self": 0.07324710400007461
                        }
                    }
                }
            }
        }
    }
}