File size: 18,805 Bytes
3cd3080
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.14446556568145752,
            "min": 0.14446556568145752,
            "max": 1.444345235824585,
            "count": 100
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 4329.34423828125,
            "min": 4329.34423828125,
            "max": 43815.65625,
            "count": 100
        },
        "Pyramids.Step.mean": {
            "value": 2999995.0,
            "min": 29952.0,
            "max": 2999995.0,
            "count": 100
        },
        "Pyramids.Step.sum": {
            "value": 2999995.0,
            "min": 29952.0,
            "max": 2999995.0,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.7704235315322876,
            "min": -0.10181490331888199,
            "max": 0.8655116558074951,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 228.8157958984375,
            "min": -24.537391662597656,
            "max": 263.11553955078125,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.016733018681406975,
            "min": 0.0011387375416234136,
            "max": 0.555656373500824,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 4.9697065353393555,
            "min": 0.3108753561973572,
            "max": 131.69056701660156,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06988161647585038,
            "min": 0.06204224426050851,
            "max": 0.07483950753770285,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9783426306619054,
            "min": 0.4822765194875156,
            "max": 1.0786946713342331,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01392988887444629,
            "min": 0.00039698107112373356,
            "max": 0.02598050595420415,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.19501844424224804,
            "min": 0.00555773499573227,
            "max": 0.26956557048833935,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.5683637629595244e-06,
            "min": 1.5683637629595244e-06,
            "max": 0.00029838354339596195,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 2.1957092681433342e-05,
            "min": 2.1957092681433342e-05,
            "max": 0.0039275268908244,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10052275476190477,
            "min": 0.10052275476190477,
            "max": 0.19946118095238097,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4073185666666668,
            "min": 1.3897045333333333,
            "max": 2.7973922,
            "count": 100
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 6.222320071428574e-05,
            "min": 6.222320071428574e-05,
            "max": 0.009946171977142856,
            "count": 100
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0008711248100000005,
            "min": 0.0008711248100000005,
            "max": 0.13092664244000002,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.008425016887485981,
            "min": 0.008099747821688652,
            "max": 0.6463526487350464,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.11795023083686829,
            "min": 0.11600933969020844,
            "max": 4.524468421936035,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 222.0597014925373,
            "min": 207.645390070922,
            "max": 999.0,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29756.0,
            "min": 15984.0,
            "max": 32511.0,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.761954872175715,
            "min": -1.0000000521540642,
            "max": 1.7871785570468222,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 234.3399979993701,
            "min": -32.000001668930054,
            "max": 251.8519984483719,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.761954872175715,
            "min": -1.0000000521540642,
            "max": 1.7871785570468222,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 234.3399979993701,
            "min": -32.000001668930054,
            "max": 251.8519984483719,
            "count": 100
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.019676849928105082,
            "min": 0.017501125833372988,
            "max": 15.005290312692523,
            "count": 100
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.617021040437976,
            "min": 2.4676587425055914,
            "max": 240.08464500308037,
            "count": 100
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1712438014",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
        "command_line_arguments": "/home/joeny/.local/bin/mlagents-learn ./ml-agents/config/ppo/PyramidsRND.yaml --env=trained-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.2.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1712441530"
    },
    "total": 3516.1791991659993,
    "count": 1,
    "self": 0.2688839359998383,
    "children": {
        "run_training.setup": {
            "total": 0.03330624399950466,
            "count": 1,
            "self": 0.03330624399950466
        },
        "TrainerController.start_learning": {
            "total": 3515.877008986,
            "count": 1,
            "self": 3.147021408013643,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.5705331240005762,
                    "count": 1,
                    "self": 1.5705331240005762
                },
                "TrainerController.advance": {
                    "total": 3511.0439016629844,
                    "count": 194833,
                    "self": 3.0325700815346863,
                    "children": {
                        "env_step": {
                            "total": 2382.5480493187533,
                            "count": 194833,
                            "self": 2118.9429423037627,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 261.4096492479948,
                                    "count": 194833,
                                    "self": 8.231087012253738,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 253.17856223574108,
                                            "count": 187554,
                                            "self": 253.17856223574108
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.195457766995787,
                                    "count": 194833,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 3511.8801136623697,
                                            "count": 194833,
                                            "is_parallel": true,
                                            "self": 1610.1382468191578,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0011475289993541082,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000341423000463692,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0008061059988904162,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0008061059988904162
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.0254131720002988,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005840149988216581,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00019179200080543524,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00019179200080543524
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.023148442000092473,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.023148442000092473
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0014889230005792342,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002428700017844676,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0012460529987947666,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0012460529987947666
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1901.741866843212,
                                                    "count": 194832,
                                                    "is_parallel": true,
                                                    "self": 61.07512853609114,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 32.398689086351624,
                                                            "count": 194832,
                                                            "is_parallel": true,
                                                            "self": 32.398689086351624
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1653.8236376497634,
                                                            "count": 194832,
                                                            "is_parallel": true,
                                                            "self": 1653.8236376497634
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 154.44441157100573,
                                                            "count": 194832,
                                                            "is_parallel": true,
                                                            "self": 31.70061374753186,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 122.74379782347387,
                                                                    "count": 1558656,
                                                                    "is_parallel": true,
                                                                    "self": 122.74379782347387
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1125.4632822626963,
                            "count": 194833,
                            "self": 5.892573370757418,
                            "children": {
                                "process_trajectory": {
                                    "total": 220.0148202569244,
                                    "count": 194833,
                                    "self": 219.5871394479209,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.4276808090035047,
                                            "count": 6,
                                            "self": 0.4276808090035047
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 899.5558886350145,
                                    "count": 1392,
                                    "self": 520.4894827230446,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 379.0664059119699,
                                            "count": 68403,
                                            "self": 379.0664059119699
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 5.830006557516754e-07,
                    "count": 1,
                    "self": 5.830006557516754e-07
                },
                "TrainerController._save_models": {
                    "total": 0.11555220800073585,
                    "count": 1,
                    "self": 0.0009456030020373873,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.11460660499869846,
                            "count": 1,
                            "self": 0.11460660499869846
                        }
                    }
                }
            }
        }
    }
}