File size: 19,142 Bytes
8cd1797
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
399
400
401
402
403
404
405
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.3079421818256378,
            "min": 0.3079421818256378,
            "max": 1.4653654098510742,
            "count": 37
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 9208.703125,
            "min": 9208.703125,
            "max": 44453.32421875,
            "count": 37
        },
        "Pyramids.Step.mean": {
            "value": 1109886.0,
            "min": 29904.0,
            "max": 1109886.0,
            "count": 37
        },
        "Pyramids.Step.sum": {
            "value": 1109886.0,
            "min": 29904.0,
            "max": 1109886.0,
            "count": 37
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.7282056212425232,
            "min": -0.14689964056015015,
            "max": 0.7282056212425232,
            "count": 37
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 208.99501037597656,
            "min": -34.815216064453125,
            "max": 208.99501037597656,
            "count": 37
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.005693688057363033,
            "min": -0.010266827419400215,
            "max": 0.2772565186023712,
            "count": 37
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 1.6340885162353516,
            "min": -2.813110828399658,
            "max": 65.70979309082031,
            "count": 37
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06502705050626813,
            "min": 0.06502705050626813,
            "max": 0.07391043653402757,
            "count": 37
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9103787070877538,
            "min": 0.5674283807558784,
            "max": 1.1086565480104136,
            "count": 37
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.013246345796644509,
            "min": 0.0021518852914151,
            "max": 0.016139538479841405,
            "count": 37
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.18544884115302313,
            "min": 0.025822623496981202,
            "max": 0.22595353871777968,
            "count": 37
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 0.0001904964579297643,
            "min": 0.0001904964579297643,
            "max": 0.0002984034005322,
            "count": 37
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0026669504110167002,
            "min": 0.0023872272042576,
            "max": 0.0041172984275672335,
            "count": 37
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.16349880714285714,
            "min": 0.16349880714285714,
            "max": 0.1994678,
            "count": 37
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 2.2889833,
            "min": 1.5957424,
            "max": 2.872432766666667,
            "count": 37
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0063535308335714285,
            "min": 0.0063535308335714285,
            "max": 0.00994683322,
            "count": 37
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.08894943167,
            "min": 0.07957466576,
            "max": 0.13725603339,
            "count": 37
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.010376361198723316,
            "min": 0.008851609192788601,
            "max": 0.3764885365962982,
            "count": 37
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.14526905119419098,
            "min": 0.12392253428697586,
            "max": 3.0119082927703857,
            "count": 37
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 286.50961538461536,
            "min": 272.875,
            "max": 990.0588235294117,
            "count": 37
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29797.0,
            "min": 16831.0,
            "max": 32144.0,
            "count": 37
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.6365480582731275,
            "min": -0.8733412207049482,
            "max": 1.7104761789242426,
            "count": 37
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 170.20099806040525,
            "min": -27.456601679325104,
            "max": 189.43639809638262,
            "count": 37
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.6365480582731275,
            "min": -0.8733412207049482,
            "max": 1.7104761789242426,
            "count": 37
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 170.20099806040525,
            "min": -27.456601679325104,
            "max": 189.43639809638262,
            "count": 37
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.030860550049720378,
            "min": 0.028261452546238224,
            "max": 7.589311210548177,
            "count": 37
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 3.209497205170919,
            "min": 2.604007639703923,
            "max": 129.018290579319,
            "count": 37
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 37
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 37
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1660202942",
        "python_version": "3.7.13 (default, Apr 24 2022, 01:04:09) \n[GCC 7.5.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./trained-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
        "mlagents_version": "0.29.0.dev0",
        "mlagents_envs_version": "0.29.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.8.1+cu102",
        "numpy_version": "1.21.6",
        "end_time_seconds": "1660205219"
    },
    "total": 2277.361686525,
    "count": 1,
    "self": 0.2899749149996751,
    "children": {
        "run_training.setup": {
            "total": 0.0420872849999796,
            "count": 1,
            "self": 0.0420872849999796
        },
        "TrainerController.start_learning": {
            "total": 2277.0296243250004,
            "count": 1,
            "self": 1.4522744300061277,
            "children": {
                "TrainerController._reset_env": {
                    "total": 10.568040686000018,
                    "count": 1,
                    "self": 10.568040686000018
                },
                "TrainerController.advance": {
                    "total": 2264.8508460519943,
                    "count": 71867,
                    "self": 1.5563831289855443,
                    "children": {
                        "env_step": {
                            "total": 1481.2367061579791,
                            "count": 71867,
                            "self": 1365.9924279429506,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 114.46112863100251,
                                    "count": 71867,
                                    "self": 5.038649549951799,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 109.42247908105071,
                                            "count": 69874,
                                            "self": 38.21339551906328,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 71.20908356198743,
                                                    "count": 69874,
                                                    "self": 71.20908356198743
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.7831495840259208,
                                    "count": 71867,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2272.6336747399914,
                                            "count": 71867,
                                            "is_parallel": true,
                                            "self": 1017.0100531099179,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005756088999987696,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0045572900000365735,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0011987989999511228,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0011987989999511228
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.0451832190000232,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005898320000596868,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.000449232999983451,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000449232999983451
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04247218799997654,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04247218799997654
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001671966000003522,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000462084000048435,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001209881999955087,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001209881999955087
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1255.6236216300736,
                                                    "count": 71866,
                                                    "is_parallel": true,
                                                    "self": 30.0061024970546,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 25.06209682701001,
                                                            "count": 71866,
                                                            "is_parallel": true,
                                                            "self": 25.06209682701001
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1099.315978173021,
                                                            "count": 71866,
                                                            "is_parallel": true,
                                                            "self": 1099.315978173021
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 101.23944413298807,
                                                            "count": 71866,
                                                            "is_parallel": true,
                                                            "self": 24.808650029035277,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 76.43079410395279,
                                                                    "count": 574928,
                                                                    "is_parallel": true,
                                                                    "self": 76.43079410395279
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 782.0577567650298,
                            "count": 71867,
                            "self": 2.7755640250568376,
                            "children": {
                                "process_trajectory": {
                                    "total": 179.90654594497306,
                                    "count": 71867,
                                    "self": 179.70380031997348,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.20274562499957938,
                                            "count": 2,
                                            "self": 0.20274562499957938
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 599.375646795,
                                    "count": 517,
                                    "self": 232.01140013197562,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 367.36424666302435,
                                            "count": 25429,
                                            "self": 367.36424666302435
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.7219999790540896e-06,
                    "count": 1,
                    "self": 1.7219999790540896e-06
                },
                "TrainerController._save_models": {
                    "total": 0.1584614349999356,
                    "count": 1,
                    "self": 0.0022537059999194753,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.15620772900001612,
                            "count": 1,
                            "self": 0.15620772900001612
                        }
                    }
                }
            }
        }
    }
}