File size: 18,735 Bytes
6bdfc1f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.5282027125358582,
            "min": 0.48361876606941223,
            "max": 1.492153286933899,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 15972.849609375,
            "min": 14477.611328125,
            "max": 45265.9609375,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989990.0,
            "min": 29952.0,
            "max": 989990.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989990.0,
            "min": 29952.0,
            "max": 989990.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.6084794998168945,
            "min": -0.10755988210439682,
            "max": 0.6084794998168945,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 170.374267578125,
            "min": -25.921932220458984,
            "max": 170.374267578125,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.37467464804649353,
            "min": -0.37467464804649353,
            "max": 0.45292383432388306,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -104.90889739990234,
            "min": -104.90889739990234,
            "max": 107.34294891357422,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.07109848594215387,
            "min": 0.06532655008101658,
            "max": 0.07280064633216236,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9953788031901543,
            "min": 0.47199862423699473,
            "max": 1.0856040355272354,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.028854208975514797,
            "min": 0.0007377053292587549,
            "max": 0.028854208975514797,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.40395892565720715,
            "min": 0.008114758621846303,
            "max": 0.40395892565720715,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.430090380478573e-06,
            "min": 7.430090380478573e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010402126532670002,
            "min": 0.00010402126532670002,
            "max": 0.0032541431152857,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.1024766642857143,
            "min": 0.1024766642857143,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4346733,
            "min": 1.3691136000000002,
            "max": 2.4440867000000006,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00025741876214285727,
            "min": 0.00025741876214285727,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0036038626700000014,
            "min": 0.0036038626700000014,
            "max": 0.10849295857,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.016299067065119743,
            "min": 0.016299067065119743,
            "max": 0.5785345435142517,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.2281869351863861,
            "min": 0.2281869351863861,
            "max": 4.049741744995117,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 316.81188118811883,
            "min": 316.81188118811883,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 31998.0,
            "min": 15984.0,
            "max": 32740.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.643570283704465,
            "min": -1.0000000521540642,
            "max": 1.643570283704465,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 166.00059865415096,
            "min": -32.000001668930054,
            "max": 166.00059865415096,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.643570283704465,
            "min": -1.0000000521540642,
            "max": 1.643570283704465,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 166.00059865415096,
            "min": -32.000001668930054,
            "max": 166.00059865415096,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.05309938759189145,
            "min": 0.05309938759189145,
            "max": 12.505519585683942,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 5.363038146781037,
            "min": 4.832071086624637,
            "max": 200.08831337094307,
            "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": "1680612553",
        "python_version": "3.9.16 (main, Dec  7 2022, 01:11:51) \n[GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training1 --no-graphics",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.10.1+cu111",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1680615227"
    },
    "total": 2674.115453071,
    "count": 1,
    "self": 0.48752148999983547,
    "children": {
        "run_training.setup": {
            "total": 0.04115373100012221,
            "count": 1,
            "self": 0.04115373100012221
        },
        "TrainerController.start_learning": {
            "total": 2673.58677785,
            "count": 1,
            "self": 2.1634818859938605,
            "children": {
                "TrainerController._reset_env": {
                    "total": 8.300323212999956,
                    "count": 1,
                    "self": 8.300323212999956
                },
                "TrainerController.advance": {
                    "total": 2663.0271512760064,
                    "count": 63589,
                    "self": 2.3906694889842584,
                    "children": {
                        "env_step": {
                            "total": 1900.7699802551092,
                            "count": 63589,
                            "self": 1735.9386623580108,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 163.54156498607426,
                                    "count": 63589,
                                    "self": 6.1455436331339115,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 157.39602135294035,
                                            "count": 62556,
                                            "self": 157.39602135294035
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 1.2897529110241521,
                                    "count": 63589,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2665.9235682398407,
                                            "count": 63589,
                                            "is_parallel": true,
                                            "self": 1090.3892215568658,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0026992540001629095,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0011655580001388444,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0015336960000240651,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0015336960000240651
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.08376591100022779,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005762099999628845,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005720600001950515,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005720600001950515
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.08089719600002354,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.08089719600002354
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0017204450000463112,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003923290005332092,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001328115999513102,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001328115999513102
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1575.534346682975,
                                                    "count": 63588,
                                                    "is_parallel": true,
                                                    "self": 37.03743486211124,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 27.039922542833665,
                                                            "count": 63588,
                                                            "is_parallel": true,
                                                            "self": 27.039922542833665
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1396.7944516441003,
                                                            "count": 63588,
                                                            "is_parallel": true,
                                                            "self": 1396.7944516441003
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 114.66253763392979,
                                                            "count": 63588,
                                                            "is_parallel": true,
                                                            "self": 26.45896981207443,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 88.20356782185536,
                                                                    "count": 508704,
                                                                    "is_parallel": true,
                                                                    "self": 88.20356782185536
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 759.866501531913,
                            "count": 63589,
                            "self": 4.09566039491574,
                            "children": {
                                "process_trajectory": {
                                    "total": 151.59249304801278,
                                    "count": 63589,
                                    "self": 151.387095366013,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.20539768199978425,
                                            "count": 2,
                                            "self": 0.20539768199978425
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 604.1783480889844,
                                    "count": 444,
                                    "self": 363.99870690595435,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 240.17964118303007,
                                            "count": 22836,
                                            "self": 240.17964118303007
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1279998943791725e-06,
                    "count": 1,
                    "self": 1.1279998943791725e-06
                },
                "TrainerController._save_models": {
                    "total": 0.09582034699997166,
                    "count": 1,
                    "self": 0.0014546880001944373,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09436565899977722,
                            "count": 1,
                            "self": 0.09436565899977722
                        }
                    }
                }
            }
        }
    }
}