File size: 18,791 Bytes
6ebb5c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.40878114104270935,
            "min": 0.40878114104270935,
            "max": 1.4681951999664307,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 12276.515625,
            "min": 12276.515625,
            "max": 44539.16796875,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989964.0,
            "min": 29952.0,
            "max": 989964.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989964.0,
            "min": 29952.0,
            "max": 989964.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.4345107078552246,
            "min": -0.11549055576324463,
            "max": 0.5166305303573608,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 116.88337707519531,
            "min": -27.833223342895508,
            "max": 141.04013061523438,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.36848998069763184,
            "min": -0.36848998069763184,
            "max": 0.3253829777240753,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -99.1238021850586,
            "min": -99.1238021850586,
            "max": 78.09191131591797,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06726208474230758,
            "min": 0.06538947978082837,
            "max": 0.07321019653376759,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.941669186392306,
            "min": 0.4852712989096321,
            "max": 1.0563431158467818,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.03273473415704423,
            "min": 8.286556583453304e-05,
            "max": 0.03273473415704423,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.4582862781986193,
            "min": 0.0010772523558489294,
            "max": 0.4582862781986193,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.327661843192859e-06,
            "min": 7.327661843192859e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010258726580470003,
            "min": 0.00010258726580470003,
            "max": 0.0029526781157739996,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10244252142857145,
            "min": 0.10244252142857145,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4341953000000003,
            "min": 1.3691136000000002,
            "max": 2.3167245000000003,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0002540078907142858,
            "min": 0.0002540078907142858,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.003556110470000001,
            "min": 0.003556110470000001,
            "max": 0.09843417739999999,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.012379638850688934,
            "min": 0.012379638850688934,
            "max": 0.5159215331077576,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.17331494390964508,
            "min": 0.17331494390964508,
            "max": 3.6114509105682373,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 405.1,
            "min": 375.26582278481015,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 28357.0,
            "min": 15984.0,
            "max": 32163.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.4519914126821927,
            "min": -1.0000000521540642,
            "max": 1.530898614799323,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 101.63939888775349,
            "min": -32.000001668930054,
            "max": 114.34959848970175,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.4519914126821927,
            "min": -1.0000000521540642,
            "max": 1.530898614799323,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 101.63939888775349,
            "min": -32.000001668930054,
            "max": 114.34959848970175,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.05196117063626714,
            "min": 0.05113220304291978,
            "max": 10.417551893740892,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 3.6372819445386995,
            "min": 3.6372819445386995,
            "max": 166.68083029985428,
            "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": "1779944826",
        "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]",
        "command_line_arguments": "/home/flandre/Desktop/huggingface_deep_rl/hf_rl_unit5/.venv/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
        "mlagents_version": "1.1.0",
        "mlagents_envs_version": "1.1.0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.8.0+cu128",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1779945326"
    },
    "total": 499.56567917899883,
    "count": 1,
    "self": 0.16644103999715298,
    "children": {
        "run_training.setup": {
            "total": 0.009126566001214087,
            "count": 1,
            "self": 0.009126566001214087
        },
        "TrainerController.start_learning": {
            "total": 499.39011157300047,
            "count": 1,
            "self": 0.47579284982566605,
            "children": {
                "TrainerController._reset_env": {
                    "total": 0.909893459000159,
                    "count": 1,
                    "self": 0.909893459000159
                },
                "TrainerController.advance": {
                    "total": 497.98398048517447,
                    "count": 63507,
                    "self": 0.431732440372798,
                    "children": {
                        "env_step": {
                            "total": 300.5454312757356,
                            "count": 63507,
                            "self": 255.48152451703208,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 44.759416355967915,
                                    "count": 63507,
                                    "self": 1.531310798969571,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 43.228105556998344,
                                            "count": 62565,
                                            "self": 43.228105556998344
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.3044904027356097,
                                    "count": 63507,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 498.7475951610231,
                                            "count": 63507,
                                            "is_parallel": true,
                                            "self": 272.93192726416964,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0005540490001294529,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00016665899784129579,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0003873900022881571,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003873900022881571
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.013446479999402072,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00013298999874677975,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00013822000073560048,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00013822000073560048
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.01283051000064006,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.01283051000064006
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0003447599992796313,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 9.61599980655592e-05,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0002486000012140721,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0002486000012140721
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 225.81566789685348,
                                                    "count": 63506,
                                                    "is_parallel": true,
                                                    "self": 6.762632917118026,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 4.29348586789456,
                                                            "count": 63506,
                                                            "is_parallel": true,
                                                            "self": 4.29348586789456
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 197.58677681969675,
                                                            "count": 63506,
                                                            "is_parallel": true,
                                                            "self": 197.58677681969675
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 17.172772292144145,
                                                            "count": 63506,
                                                            "is_parallel": true,
                                                            "self": 4.016796649675598,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 13.155975642468547,
                                                                    "count": 508048,
                                                                    "is_parallel": true,
                                                                    "self": 13.155975642468547
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 197.00681676906606,
                            "count": 63507,
                            "self": 0.8099450961781258,
                            "children": {
                                "process_trajectory": {
                                    "total": 41.97835010486597,
                                    "count": 63507,
                                    "self": 41.92500897586615,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.053341128999818466,
                                            "count": 2,
                                            "self": 0.053341128999818466
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 154.21852156802197,
                                    "count": 433,
                                    "self": 90.83175494714851,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 63.38676662087346,
                                            "count": 22851,
                                            "self": 63.38676662087346
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 4.3000000005122274e-07,
                    "count": 1,
                    "self": 4.3000000005122274e-07
                },
                "TrainerController._save_models": {
                    "total": 0.020444349000172224,
                    "count": 1,
                    "self": 0.0002710090011532884,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.020173339999018935,
                            "count": 1,
                            "self": 0.020173339999018935
                        }
                    }
                }
            }
        }
    }
}