File size: 18,361 Bytes
7f2310d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.7061400413513184,
            "min": 0.7061400413513184,
            "max": 1.5146020650863647,
            "count": 10
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 21150.306640625,
            "min": 21150.306640625,
            "max": 45946.96875,
            "count": 10
        },
        "Pyramids.Step.mean": {
            "value": 299932.0,
            "min": 29952.0,
            "max": 299932.0,
            "count": 10
        },
        "Pyramids.Step.sum": {
            "value": 299932.0,
            "min": 29952.0,
            "max": 299932.0,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.08245431631803513,
            "min": -0.1067349836230278,
            "max": -0.05047430098056793,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": -19.78903579711914,
            "min": -25.616395950317383,
            "max": -12.214780807495117,
            "count": 10
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.039111312478780746,
            "min": 0.039111312478780746,
            "max": 0.38477909564971924,
            "count": 10
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 9.386714935302734,
            "min": 9.386714935302734,
            "max": 91.19264221191406,
            "count": 10
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06939178104282548,
            "min": 0.06582274968446042,
            "max": 0.07301165310236767,
            "count": 10
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9020931535567313,
            "min": 0.4798236180996073,
            "max": 0.9020931535567313,
            "count": 10
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.0007119372186195668,
            "min": 0.0002428228409316624,
            "max": 0.009110999507876322,
            "count": 10
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.009255183842054369,
            "min": 0.0026710512502482863,
            "max": 0.06377699655513426,
            "count": 10
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.555917173671795e-05,
            "min": 1.555917173671795e-05,
            "max": 0.0002838354339596191,
            "count": 10
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00020226923257733335,
            "min": 0.00020226923257733335,
            "max": 0.0027081002973,
            "count": 10
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10518635897435898,
            "min": 0.10518635897435898,
            "max": 0.19461180952380958,
            "count": 10
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.3674226666666667,
            "min": 1.362282666666667,
            "max": 2.1027000000000005,
            "count": 10
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0005281172615384616,
            "min": 0.0005281172615384616,
            "max": 0.00946171977142857,
            "count": 10
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0068655244000000015,
            "min": 0.0068655244000000015,
            "max": 0.09029973000000001,
            "count": 10
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.033588189631700516,
            "min": 0.033588189631700516,
            "max": 0.4117766320705414,
            "count": 10
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.4366464614868164,
            "min": 0.4366464614868164,
            "max": 2.882436513900757,
            "count": 10
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 995.1290322580645,
            "min": 938.125,
            "max": 999.0,
            "count": 10
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30849.0,
            "min": 15984.0,
            "max": 32735.0,
            "count": 10
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": -0.9314581184617935,
            "min": -1.0000000521540642,
            "max": -0.7722250490138928,
            "count": 10
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": -28.875201672315598,
            "min": -31.9992016851902,
            "max": -16.000000834465027,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": -0.9314581184617935,
            "min": -1.0000000521540642,
            "max": -0.7722250490138928,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": -28.875201672315598,
            "min": -31.9992016851902,
            "max": -16.000000834465027,
            "count": 10
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.34920530682129247,
            "min": 0.34920530682129247,
            "max": 8.641915165819228,
            "count": 10
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 10.825364511460066,
            "min": 9.322875704616308,
            "max": 138.27064265310764,
            "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": "1788424113",
        "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": "1788424485"
    },
    "total": 372.12205932899997,
    "count": 1,
    "self": 0.2710099949990763,
    "children": {
        "run_training.setup": {
            "total": 0.018006019000495144,
            "count": 1,
            "self": 0.018006019000495144
        },
        "TrainerController.start_learning": {
            "total": 371.8330433150004,
            "count": 1,
            "self": 0.2512422379149939,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.278217976999258,
                    "count": 1,
                    "self": 1.278217976999258
                },
                "TrainerController.advance": {
                    "total": 370.2450190770869,
                    "count": 18856,
                    "self": 0.2754722609961391,
                    "children": {
                        "env_step": {
                            "total": 244.51709868805392,
                            "count": 18856,
                            "self": 225.1924428669936,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 19.152604208064986,
                                    "count": 18856,
                                    "self": 0.8570362050659242,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 18.29556800299906,
                                            "count": 18802,
                                            "self": 18.29556800299906
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.17205161299534666,
                                    "count": 18856,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 371.16828448495926,
                                            "count": 18856,
                                            "is_parallel": true,
                                            "self": 167.12529618199096,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0010653700001057587,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003001400009452482,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0007652299991605105,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007652299991605105
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.028350837999823852,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00023595999937242595,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003385300005902536,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003385300005902536
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.027001607999409316,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.027001607999409316
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0007747400004518568,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00019938000150432345,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0005753599989475333,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0005753599989475333
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 204.0429883029683,
                                                    "count": 18855,
                                                    "is_parallel": true,
                                                    "self": 4.528923898043104,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 3.394646311992801,
                                                            "count": 18855,
                                                            "is_parallel": true,
                                                            "self": 3.394646311992801
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 182.29412659499758,
                                                            "count": 18855,
                                                            "is_parallel": true,
                                                            "self": 182.29412659499758
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 13.825291497934813,
                                                            "count": 18855,
                                                            "is_parallel": true,
                                                            "self": 3.0794088549910157,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 10.745882642943798,
                                                                    "count": 150840,
                                                                    "is_parallel": true,
                                                                    "self": 10.745882642943798
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 125.45244812803685,
                            "count": 18856,
                            "self": 0.3730359030478212,
                            "children": {
                                "process_trajectory": {
                                    "total": 20.92103096498522,
                                    "count": 18856,
                                    "self": 20.92103096498522
                                },
                                "_update_policy": {
                                    "total": 104.15838126000381,
                                    "count": 114,
                                    "self": 53.069728763977764,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 51.08865249602604,
                                            "count": 6864,
                                            "self": 51.08865249602604
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.089991752058268e-07,
                    "count": 1,
                    "self": 8.089991752058268e-07
                },
                "TrainerController._save_models": {
                    "total": 0.058563214000059816,
                    "count": 1,
                    "self": 0.0007708889997957158,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.0577923250002641,
                            "count": 1,
                            "self": 0.0577923250002641
                        }
                    }
                }
            }
        }
    }
}