File size: 18,367 Bytes
99512a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.5653989911079407,
            "min": 0.5653989911079407,
            "max": 1.4862802028656006,
            "count": 10
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 16808.181640625,
            "min": 16808.181640625,
            "max": 45087.796875,
            "count": 10
        },
        "Pyramids.Step.mean": {
            "value": 299996.0,
            "min": 29952.0,
            "max": 299996.0,
            "count": 10
        },
        "Pyramids.Step.sum": {
            "value": 299996.0,
            "min": 29952.0,
            "max": 299996.0,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.02738116681575775,
            "min": -0.09582620859146118,
            "max": -0.016063055023550987,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": -6.681004524230957,
            "min": -23.117843627929688,
            "max": -3.903322458267212,
            "count": 10
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.05234517529606819,
            "min": 0.05234517529606819,
            "max": 0.30462321639060974,
            "count": 10
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 12.772222518920898,
            "min": 12.772222518920898,
            "max": 73.41419219970703,
            "count": 10
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06409473829038236,
            "min": 0.06409473829038236,
            "max": 0.07202698358475383,
            "count": 10
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.8973263360653531,
            "min": 0.4738851885539453,
            "max": 0.9948474767126223,
            "count": 10
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.004295561459316139,
            "min": 0.0015652213258171269,
            "max": 0.008007535235625012,
            "count": 10
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.060137860430425946,
            "min": 0.01878265590980552,
            "max": 0.060633127308228965,
            "count": 10
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.5682523343952376e-05,
            "min": 1.5682523343952376e-05,
            "max": 0.0002838354339596191,
            "count": 10
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00021955532681533328,
            "min": 0.00021955532681533328,
            "max": 0.0027049592983469993,
            "count": 10
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.1052274761904762,
            "min": 0.1052274761904762,
            "max": 0.19461180952380958,
            "count": 10
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4731846666666668,
            "min": 1.362282666666667,
            "max": 2.146786666666667,
            "count": 10
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0005322248714285714,
            "min": 0.0005322248714285714,
            "max": 0.00946171977142857,
            "count": 10
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0074511481999999995,
            "min": 0.0074511481999999995,
            "max": 0.09019513470000001,
            "count": 10
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.04209328442811966,
            "min": 0.04209328442811966,
            "max": 0.40296855568885803,
            "count": 10
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.5893059968948364,
            "min": 0.5893059968948364,
            "max": 2.820779800415039,
            "count": 10
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 868.2941176470588,
            "min": 868.2941176470588,
            "max": 999.0,
            "count": 10
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29522.0,
            "min": 15984.0,
            "max": 33009.0,
            "count": 10
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": -0.33589701535123767,
            "min": -1.0000000521540642,
            "max": -0.31159379379823804,
            "count": 10
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": -11.084601506590843,
            "min": -29.037401787936687,
            "max": -9.971001401543617,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": -0.33589701535123767,
            "min": -1.0000000521540642,
            "max": -0.31159379379823804,
            "count": 10
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": -11.084601506590843,
            "min": -29.037401787936687,
            "max": -9.971001401543617,
            "count": 10
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.38493717608578276,
            "min": 0.38493717608578276,
            "max": 7.654727725312114,
            "count": 10
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 12.702926810830832,
            "min": 12.702926810830832,
            "max": 122.47564360499382,
            "count": 10
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 10
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 10
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1721995330",
        "python_version": "3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn /content/ml-agents/config/ppo/PyramidsRND.yaml --env=/content/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.3.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1721996328"
    },
    "total": 998.0885114589996,
    "count": 1,
    "self": 0.833706854999491,
    "children": {
        "run_training.setup": {
            "total": 0.13097791800009873,
            "count": 1,
            "self": 0.13097791800009873
        },
        "TrainerController.start_learning": {
            "total": 997.123826686,
            "count": 1,
            "self": 0.6798823610129148,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.04376729500018,
                    "count": 1,
                    "self": 4.04376729500018
                },
                "TrainerController.advance": {
                    "total": 992.2888014529872,
                    "count": 18940,
                    "self": 0.8367100980422038,
                    "children": {
                        "env_step": {
                            "total": 650.988207995918,
                            "count": 18940,
                            "self": 596.6075197898658,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 53.9182135140195,
                                    "count": 18940,
                                    "self": 2.437468883047586,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 51.48074463097191,
                                            "count": 18811,
                                            "self": 51.48074463097191
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.4624746920326288,
                                    "count": 18940,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 994.8375258430619,
                                            "count": 18940,
                                            "is_parallel": true,
                                            "self": 458.0522480631048,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0050691960000222025,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.001457382000353391,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0036118139996688114,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0036118139996688114
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.07316634000017075,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0008945400004449766,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005821099998684076,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005821099998684076
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.0691043339998032,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0691043339998032
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.002585356000054162,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00044130499964012415,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.002144051000414038,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.002144051000414038
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 536.7852777799571,
                                                    "count": 18939,
                                                    "is_parallel": true,
                                                    "self": 15.727382065957954,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 9.70050056498394,
                                                            "count": 18939,
                                                            "is_parallel": true,
                                                            "self": 9.70050056498394
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 471.09708704601735,
                                                            "count": 18939,
                                                            "is_parallel": true,
                                                            "self": 471.09708704601735
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 40.2603081029979,
                                                            "count": 18939,
                                                            "is_parallel": true,
                                                            "self": 8.80105579002111,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 31.459252312976787,
                                                                    "count": 151512,
                                                                    "is_parallel": true,
                                                                    "self": 31.459252312976787
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 340.463883359027,
                            "count": 18940,
                            "self": 1.2769077820089478,
                            "children": {
                                "process_trajectory": {
                                    "total": 54.41012913301893,
                                    "count": 18940,
                                    "self": 54.41012913301893
                                },
                                "_update_policy": {
                                    "total": 284.77684644399915,
                                    "count": 123,
                                    "self": 112.66819105198692,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 172.10865539201222,
                                            "count": 6831,
                                            "self": 172.10865539201222
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.3639996723213699e-06,
                    "count": 1,
                    "self": 1.3639996723213699e-06
                },
                "TrainerController._save_models": {
                    "total": 0.1113742130000901,
                    "count": 1,
                    "self": 0.0041445390002081695,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10722967399988192,
                            "count": 1,
                            "self": 0.10722967399988192
                        }
                    }
                }
            }
        }
    }
}