File size: 18,722 Bytes
fb90429
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.32636523246765137,
            "min": 0.320800244808197,
            "max": 1.4261311292648315,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 9978.943359375,
            "min": 9552.1484375,
            "max": 43263.11328125,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989957.0,
            "min": 29952.0,
            "max": 989957.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989957.0,
            "min": 29952.0,
            "max": 989957.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.42601123452186584,
            "min": -0.0996180847287178,
            "max": 0.46801090240478516,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 112.89297485351562,
            "min": -23.908340454101562,
            "max": 125.42692565917969,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.0059366426430642605,
            "min": -0.016640448942780495,
            "max": 0.30130675435066223,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 1.5732102394104004,
            "min": -4.293235778808594,
            "max": 71.40969848632812,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06646674602050842,
            "min": 0.06513619378318743,
            "max": 0.07389064782727486,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.930534444287118,
            "min": 0.5032624694908133,
            "max": 1.0521650593522387,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.012760811504090308,
            "min": 0.00016942016953765986,
            "max": 0.015030185567628085,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.1786513610572643,
            "min": 0.0018636218649142585,
            "max": 0.2104225979467932,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.75057598793572e-06,
            "min": 7.75057598793572e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010850806383110006,
            "min": 0.00010850806383110006,
            "max": 0.0033817796727402,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10258349285714286,
            "min": 0.10258349285714286,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4361689,
            "min": 1.3691136000000002,
            "max": 2.572355,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00026809093642857153,
            "min": 0.00026809093642857153,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0037532731100000014,
            "min": 0.0037532731100000014,
            "max": 0.11275325402,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.0075355591252446175,
            "min": 0.0075355591252446175,
            "max": 0.37900280952453613,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.1054978296160698,
            "min": 0.1054978296160698,
            "max": 2.653019666671753,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 452.24285714285713,
            "min": 419.04411764705884,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 31657.0,
            "min": 15984.0,
            "max": 34453.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.404834261749472,
            "min": -1.0000000521540642,
            "max": 1.4102984804715684,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 98.33839832246304,
            "min": -32.000001668930054,
            "max": 102.24599802494049,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.404834261749472,
            "min": -1.0000000521540642,
            "max": 1.4102984804715684,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 98.33839832246304,
            "min": -32.000001668930054,
            "max": 102.24599802494049,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.035276156631048904,
            "min": 0.03432238066991832,
            "max": 7.9697156911715865,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.469330964173423,
            "min": 2.333921885554446,
            "max": 127.51545105874538,
            "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": "1697207532",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.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",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.0.1+cu118",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1697209574"
    },
    "total": 2041.760609589,
    "count": 1,
    "self": 0.844667255999866,
    "children": {
        "run_training.setup": {
            "total": 0.041773945000159074,
            "count": 1,
            "self": 0.041773945000159074
        },
        "TrainerController.start_learning": {
            "total": 2040.874168388,
            "count": 1,
            "self": 1.207521308976311,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.08570596200002,
                    "count": 1,
                    "self": 3.08570596200002
                },
                "TrainerController.advance": {
                    "total": 2036.4665753630236,
                    "count": 63608,
                    "self": 1.245808247876539,
                    "children": {
                        "env_step": {
                            "total": 1434.1491764900616,
                            "count": 63608,
                            "self": 1318.8108023050947,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 114.61790802101768,
                                    "count": 63608,
                                    "self": 4.426886588027855,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 110.19102143298983,
                                            "count": 62558,
                                            "self": 110.19102143298983
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.7204661639491405,
                                    "count": 63608,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2036.5362739630314,
                                            "count": 63608,
                                            "is_parallel": true,
                                            "self": 825.8716285800479,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0017937290001555084,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005517970005257666,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0012419319996297418,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0012419319996297418
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04581223499985754,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006128249997345847,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005053800000496267,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005053800000496267
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04305242899999939,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04305242899999939
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0016416010000739334,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00033779199975469965,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0013038090003192337,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0013038090003192337
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1210.6646453829835,
                                                    "count": 63607,
                                                    "is_parallel": true,
                                                    "self": 33.01905779097319,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 22.466816858991933,
                                                            "count": 63607,
                                                            "is_parallel": true,
                                                            "self": 22.466816858991933
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1062.6178455870133,
                                                            "count": 63607,
                                                            "is_parallel": true,
                                                            "self": 1062.6178455870133
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 92.56092514600505,
                                                            "count": 63607,
                                                            "is_parallel": true,
                                                            "self": 17.86866790096883,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 74.69225724503622,
                                                                    "count": 508856,
                                                                    "is_parallel": true,
                                                                    "self": 74.69225724503622
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 601.0715906250855,
                            "count": 63608,
                            "self": 2.226060882075444,
                            "children": {
                                "process_trajectory": {
                                    "total": 113.41035507300921,
                                    "count": 63608,
                                    "self": 113.15426694900952,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.25608812399968883,
                                            "count": 2,
                                            "self": 0.25608812399968883
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 485.43517467000083,
                                    "count": 445,
                                    "self": 292.3422913239983,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 193.0928833460025,
                                            "count": 22809,
                                            "self": 193.0928833460025
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.258999873243738e-06,
                    "count": 1,
                    "self": 1.258999873243738e-06
                },
                "TrainerController._save_models": {
                    "total": 0.11436449500024537,
                    "count": 1,
                    "self": 0.0017873730002975208,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.11257712199994785,
                            "count": 1,
                            "self": 0.11257712199994785
                        }
                    }
                }
            }
        }
    }
}