File size: 18,739 Bytes
73ef2ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.8640857338905334,
            "min": 0.8327422738075256,
            "max": 1.5907518863677979,
            "count": 20
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 8516.4287109375,
            "min": 7696.38671875,
            "max": 16289.2998046875,
            "count": 20
        },
        "Pyramids.Step.mean": {
            "value": 199896.0,
            "min": 9984.0,
            "max": 199896.0,
            "count": 20
        },
        "Pyramids.Step.sum": {
            "value": 199896.0,
            "min": 9984.0,
            "max": 199896.0,
            "count": 20
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.08156966418027878,
            "min": -0.10430754721164703,
            "max": -0.017720680683851242,
            "count": 20
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": -6.607142925262451,
            "min": -8.342769622802734,
            "max": -1.3822131156921387,
            "count": 20
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.04265531897544861,
            "min": 0.04265531897544861,
            "max": 0.3817429840564728,
            "count": 20
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 3.455080986022949,
            "min": 3.455080986022949,
            "max": 30.92118263244629,
            "count": 20
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06970868661087704,
            "min": 0.063087967454016,
            "max": 0.07814604489744492,
            "count": 20
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.27883474644350814,
            "min": 0.13827339567972652,
            "max": 0.27883474644350814,
            "count": 20
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.0013088749352108324,
            "min": 0.0001141643440676314,
            "max": 0.016241563733880564,
            "count": 20
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.00523549974084333,
            "min": 0.0003424930322028942,
            "max": 0.03248312746776113,
            "count": 20
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 8.096347301249993e-06,
            "min": 8.096347301249993e-06,
            "max": 0.000290784003072,
            "count": 20
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 3.238538920499997e-05,
            "min": 3.238538920499997e-05,
            "max": 0.000791136036288,
            "count": 20
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10269875,
            "min": 0.10269875,
            "max": 0.19692800000000002,
            "count": 20
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 0.410795,
            "min": 0.32576000000000005,
            "max": 0.563712,
            "count": 20
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00027960512499999976,
            "min": 0.00027960512499999976,
            "max": 0.0096931072,
            "count": 20
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.001118420499999999,
            "min": 0.001118420499999999,
            "max": 0.0263748288,
            "count": 20
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.03752041980624199,
            "min": 0.03752041980624199,
            "max": 0.6929463148117065,
            "count": 20
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.15008167922496796,
            "min": 0.12589704990386963,
            "max": 1.385892629623413,
            "count": 20
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 20
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 20
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 987.875,
            "min": 780.5,
            "max": 999.0,
            "count": 16
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 15806.0,
            "min": 999.0,
            "max": 15984.0,
            "count": 16
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": -0.8637500493787229,
            "min": -1.0000000521540642,
            "max": 0.21929998695850372,
            "count": 17
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": -13.820000790059566,
            "min": -16.000000834465027,
            "max": 0.43859997391700745,
            "count": 17
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": -0.8637500493787229,
            "min": -1.0000000521540642,
            "max": 0.21929998695850372,
            "count": 17
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": -13.820000790059566,
            "min": -16.000000834465027,
            "max": 0.43859997391700745,
            "count": 17
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.4017323845764622,
            "min": 0.4017323845764622,
            "max": 7.96892923116684,
            "count": 17
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 6.427718153223395,
            "min": 0.5009147934615612,
            "max": 127.50286769866943,
            "count": 17
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1796031613",
        "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]",
        "command_line_arguments": "run_training.py configs/PyramidsRND.yaml --env=environments/Pyramids/Pyramids --run-id=Hugo_PyramidsRND_30nov2026 --results-dir=results --no-graphics --base-port=6700 --num-envs=1 --seed=42 --time-scale=20 --torch-device=cpu",
        "mlagents_version": "1.1.0",
        "mlagents_envs_version": "1.1.0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.1+cpu",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1796032037"
    },
    "total": 423.83809670000005,
    "count": 1,
    "self": 0.4221939829999428,
    "children": {
        "run_training.setup": {
            "total": 0.020680379000168614,
            "count": 1,
            "self": 0.020680379000168614
        },
        "TrainerController.start_learning": {
            "total": 423.39522233799994,
            "count": 1,
            "self": 0.2976648680130438,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.1956579760001205,
                    "count": 1,
                    "self": 1.1956579760001205
                },
                "TrainerController.advance": {
                    "total": 421.8451904319868,
                    "count": 12527,
                    "self": 0.2755973159885343,
                    "children": {
                        "env_step": {
                            "total": 302.67893471701086,
                            "count": 12527,
                            "self": 274.2653987690153,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 28.21310673501216,
                                    "count": 12527,
                                    "self": 0.6910584659995038,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 27.522048269012657,
                                            "count": 12512,
                                            "self": 27.522048269012657
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.20042921298340843,
                                    "count": 12527,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 422.50641079698676,
                                            "count": 12527,
                                            "is_parallel": true,
                                            "self": 175.0581692339622,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0010806739999225101,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00030571999946005235,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0007749540004624578,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007749540004624578
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.06099743900017529,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0002812320003613422,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003290739998647041,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003290739998647041
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05944273499994779,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05944273499994779
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0009443980000014562,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023839699997552088,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0007060010000259354,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0007060010000259354
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 247.44824156302457,
                                                    "count": 12526,
                                                    "is_parallel": true,
                                                    "self": 3.4349303570356824,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 2.41926830000466,
                                                            "count": 12526,
                                                            "is_parallel": true,
                                                            "self": 2.41926830000466
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 231.5250457460063,
                                                            "count": 12526,
                                                            "is_parallel": true,
                                                            "self": 231.5250457460063
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 10.068997159977926,
                                                            "count": 12526,
                                                            "is_parallel": true,
                                                            "self": 2.4685905340622867,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 7.600406625915639,
                                                                    "count": 100208,
                                                                    "is_parallel": true,
                                                                    "self": 7.600406625915639
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 118.8906583989874,
                            "count": 12527,
                            "self": 0.38911037698449036,
                            "children": {
                                "process_trajectory": {
                                    "total": 19.082547705001843,
                                    "count": 12527,
                                    "self": 18.937569667001753,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.14497803800009024,
                                            "count": 2,
                                            "self": 0.14497803800009024
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 99.41900031700106,
                                    "count": 60,
                                    "self": 43.942260310999245,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 55.47674000600182,
                                            "count": 4617,
                                            "self": 55.47674000600182
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 7.910000476840651e-07,
                    "count": 1,
                    "self": 7.910000476840651e-07
                },
                "TrainerController._save_models": {
                    "total": 0.05670827099993403,
                    "count": 1,
                    "self": 0.0016570479999700183,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.05505122299996401,
                            "count": 1,
                            "self": 0.05505122299996401
                        }
                    }
                }
            }
        }
    }
}