File size: 18,804 Bytes
e3c8d5a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.1431940644979477,
            "min": 0.136269211769104,
            "max": 1.4233496189117432,
            "count": 100
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 4325.6064453125,
            "min": 4088.076171875,
            "max": 43178.734375,
            "count": 100
        },
        "Pyramids.Step.mean": {
            "value": 2999962.0,
            "min": 29952.0,
            "max": 2999962.0,
            "count": 100
        },
        "Pyramids.Step.sum": {
            "value": 2999962.0,
            "min": 29952.0,
            "max": 2999962.0,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.883109986782074,
            "min": -0.10364475101232529,
            "max": 0.883109986782074,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 269.3485412597656,
            "min": -25.082029342651367,
            "max": 269.3485412597656,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.019995277747511864,
            "min": -0.008959994651377201,
            "max": 0.41586658358573914,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 6.098559856414795,
            "min": -2.6252784729003906,
            "max": 98.56037902832031,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06838292476216641,
            "min": 0.06265017520178974,
            "max": 0.07309944397334209,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9573609466703297,
            "min": 0.48289006610431756,
            "max": 1.072455623342345,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.015208839785329822,
            "min": 0.000791349567126584,
            "max": 0.017941483393344438,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.21292375699461752,
            "min": 0.00791349567126584,
            "max": 0.2511807675068221,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.559328051685713e-06,
            "min": 1.559328051685713e-06,
            "max": 0.00029838354339596195,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 2.183059272359998e-05,
            "min": 2.183059272359998e-05,
            "max": 0.0041624059125313995,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10051974285714287,
            "min": 0.10051974285714287,
            "max": 0.19946118095238097,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4072764000000002,
            "min": 1.3962282666666668,
            "max": 2.8874686000000005,
            "count": 100
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 6.19223114285714e-05,
            "min": 6.19223114285714e-05,
            "max": 0.009946171977142856,
            "count": 100
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0008669123599999996,
            "min": 0.0008669123599999996,
            "max": 0.13875811314000003,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.00839836336672306,
            "min": 0.008222555741667747,
            "max": 0.44017571210861206,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.11757709085941315,
            "min": 0.11511578410863876,
            "max": 3.0812299251556396,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 197.08724832214764,
            "min": 197.08724832214764,
            "max": 999.0,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29366.0,
            "min": 15984.0,
            "max": 33765.0,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.8034599860509237,
            "min": -1.0000000521540642,
            "max": 1.8034599860509237,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 270.51899790763855,
            "min": -29.581601694226265,
            "max": 270.51899790763855,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.8034599860509237,
            "min": -1.0000000521540642,
            "max": 1.8034599860509237,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 270.51899790763855,
            "min": -29.581601694226265,
            "max": 270.51899790763855,
            "count": 100
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.017101739778202802,
            "min": 0.017101739778202802,
            "max": 9.04960155673325,
            "count": 100
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.5652609667304205,
            "min": 2.5147932650870644,
            "max": 144.793624907732,
            "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": "1726656173",
        "python_version": "3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0]",
        "command_line_arguments": "/home/luyang/miniconda3/envs/rl/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
        "mlagents_version": "1.0.0",
        "mlagents_envs_version": "1.0.0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.4.1+cu121",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1726660079"
    },
    "total": 3906.2367867449066,
    "count": 1,
    "self": 0.3210822929395363,
    "children": {
        "run_training.setup": {
            "total": 0.021957542980089784,
            "count": 1,
            "self": 0.021957542980089784
        },
        "TrainerController.start_learning": {
            "total": 3905.893746908987,
            "count": 1,
            "self": 2.245244466001168,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.1484115199418738,
                    "count": 1,
                    "self": 1.1484115199418738
                },
                "TrainerController.advance": {
                    "total": 3902.430249945959,
                    "count": 195559,
                    "self": 2.325944616110064,
                    "children": {
                        "env_step": {
                            "total": 2613.806921027368,
                            "count": 195559,
                            "self": 2399.569757319987,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 212.79041183146182,
                                    "count": 195559,
                                    "self": 7.722032254678197,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 205.06837957678363,
                                            "count": 187561,
                                            "self": 205.06837957678363
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 1.4467518759192899,
                                    "count": 195559,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 3901.436869927915,
                                            "count": 195559,
                                            "is_parallel": true,
                                            "self": 1689.2064201639732,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0013544479152187705,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00042505015153437853,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.000929397763684392,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.000929397763684392
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.027204854995943606,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00041354901622980833,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00036475900560617447,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00036475900560617447
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.02515622298233211,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.02515622298233211
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0012703239917755127,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002702149795368314,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0010001090122386813,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0010001090122386813
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 2212.2304497639416,
                                                    "count": 195558,
                                                    "is_parallel": true,
                                                    "self": 46.83358397183474,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 32.7213736732956,
                                                            "count": 195558,
                                                            "is_parallel": true,
                                                            "self": 32.7213736732956
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1985.451662497595,
                                                            "count": 195558,
                                                            "is_parallel": true,
                                                            "self": 1985.451662497595
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 147.22382962121628,
                                                            "count": 195558,
                                                            "is_parallel": true,
                                                            "self": 31.5822084271349,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 115.64162119408138,
                                                                    "count": 1564464,
                                                                    "is_parallel": true,
                                                                    "self": 115.64162119408138
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1286.297384302481,
                            "count": 195559,
                            "self": 4.0713632385013625,
                            "children": {
                                "process_trajectory": {
                                    "total": 210.72980849759188,
                                    "count": 195559,
                                    "self": 210.34283535170835,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.3869731458835304,
                                            "count": 6,
                                            "self": 0.3869731458835304
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1071.4962125663878,
                                    "count": 1397,
                                    "self": 621.4386437274516,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 450.0575688389363,
                                            "count": 68322,
                                            "self": 450.0575688389363
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 7.50063918530941e-07,
                    "count": 1,
                    "self": 7.50063918530941e-07
                },
                "TrainerController._save_models": {
                    "total": 0.06984022702090442,
                    "count": 1,
                    "self": 0.001187948975712061,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.06865227804519236,
                            "count": 1,
                            "self": 0.06865227804519236
                        }
                    }
                }
            }
        }
    }
}