File size: 18,737 Bytes
692b8a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.19739755988121033,
            "min": 0.18612922728061676,
            "max": 1.448979377746582,
            "count": 70
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 5899.818359375,
            "min": 5568.986328125,
            "max": 43956.23828125,
            "count": 70
        },
        "Pyramids.Step.mean": {
            "value": 2099889.0,
            "min": 29952.0,
            "max": 2099889.0,
            "count": 70
        },
        "Pyramids.Step.sum": {
            "value": 2099889.0,
            "min": 29952.0,
            "max": 2099889.0,
            "count": 70
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.8246093988418579,
            "min": -0.1120196133852005,
            "max": 0.8246093988418579,
            "count": 70
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 250.68125915527344,
            "min": -27.108745574951172,
            "max": 250.68125915527344,
            "count": 70
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.012902140617370605,
            "min": -0.005089040379971266,
            "max": 0.29539987444877625,
            "count": 70
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 3.922250747680664,
            "min": -1.3231505155563354,
            "max": 70.8959732055664,
            "count": 70
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.07084840858199945,
            "min": 0.06379275239590902,
            "max": 0.07337246633029455,
            "count": 70
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9918777201479922,
            "min": 0.49806185708389267,
            "max": 1.06551817581788,
            "count": 70
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014129798516348404,
            "min": 0.000255498857455707,
            "max": 0.01666433808806176,
            "count": 70
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.19781717922887765,
            "min": 0.00255498857455707,
            "max": 0.2499650713209264,
            "count": 70
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 9.154092662923807e-05,
            "min": 9.154092662923807e-05,
            "max": 0.00029838354339596195,
            "count": 70
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.001281572972809333,
            "min": 0.001281572972809333,
            "max": 0.003927392890869066,
            "count": 70
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.13051361904761907,
            "min": 0.13051361904761907,
            "max": 0.19946118095238097,
            "count": 70
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.8271906666666669,
            "min": 1.3897045333333333,
            "max": 2.7525863000000004,
            "count": 70
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0030583105428571428,
            "min": 0.0030583105428571428,
            "max": 0.009946171977142856,
            "count": 70
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0428163476,
            "min": 0.0428163476,
            "max": 0.13092218024,
            "count": 70
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.007405238691717386,
            "min": 0.007195088546723127,
            "max": 0.4440057575702667,
            "count": 70
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.10367333889007568,
            "min": 0.10073123872280121,
            "max": 3.1080403327941895,
            "count": 70
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 223.86153846153846,
            "min": 223.86153846153846,
            "max": 999.0,
            "count": 70
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29102.0,
            "min": 15984.0,
            "max": 32527.0,
            "count": 70
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.7760915912062156,
            "min": -1.0000000521540642,
            "max": 1.7760915912062156,
            "count": 70
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 232.66799844801426,
            "min": -32.000001668930054,
            "max": 232.66799844801426,
            "count": 70
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.7760915912062156,
            "min": -1.0000000521540642,
            "max": 1.7760915912062156,
            "count": 70
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 232.66799844801426,
            "min": -32.000001668930054,
            "max": 232.66799844801426,
            "count": 70
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.017356182540098616,
            "min": 0.017356182540098616,
            "max": 9.865679629147053,
            "count": 70
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.273659912752919,
            "min": 2.208571456845675,
            "max": 157.85087406635284,
            "count": 70
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 70
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 70
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1778408168",
        "python_version": "3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.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.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.8.0+cu128",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1778413697"
    },
    "total": 5528.7845643969995,
    "count": 1,
    "self": 0.4809384089985542,
    "children": {
        "run_training.setup": {
            "total": 0.023013235000235,
            "count": 1,
            "self": 0.023013235000235
        },
        "TrainerController.start_learning": {
            "total": 5528.280612753,
            "count": 1,
            "self": 3.1032701481281038,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.439205122000203,
                    "count": 1,
                    "self": 2.439205122000203
                },
                "TrainerController.advance": {
                    "total": 5522.735801486871,
                    "count": 135811,
                    "self": 3.1467679639372363,
                    "children": {
                        "env_step": {
                            "total": 4091.047542019864,
                            "count": 135811,
                            "self": 3758.9009577827283,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 330.3256099940645,
                                    "count": 135811,
                                    "self": 10.129508271056238,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 320.19610172300827,
                                            "count": 131453,
                                            "self": 320.19610172300827
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 1.820974243071305,
                                    "count": 135810,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 5516.567680162971,
                                            "count": 135810,
                                            "is_parallel": true,
                                            "self": 2014.0170179329953,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0018933159999505733,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006829849994574033,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.00121033100049317,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.00121033100049317
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.11307460199986963,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000638511000033759,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004447540000001027,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004447540000001027
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.10818671799961521,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.10818671799961521
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.003804619000220555,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00038620599980276893,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.003418413000417786,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.003418413000417786
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3502.5506622299754,
                                                    "count": 135809,
                                                    "is_parallel": true,
                                                    "self": 73.41311380630032,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 51.656995305956116,
                                                            "count": 135809,
                                                            "is_parallel": true,
                                                            "self": 51.656995305956116
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 3138.137845860854,
                                                            "count": 135809,
                                                            "is_parallel": true,
                                                            "self": 3138.137845860854
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 239.34270725686474,
                                                            "count": 135809,
                                                            "is_parallel": true,
                                                            "self": 49.29209056050286,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 190.05061669636189,
                                                                    "count": 1086472,
                                                                    "is_parallel": true,
                                                                    "self": 190.05061669636189
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1428.5414915030701,
                            "count": 135810,
                            "self": 6.0324705011607875,
                            "children": {
                                "process_trajectory": {
                                    "total": 276.25981750492156,
                                    "count": 135810,
                                    "self": 275.8598004929222,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.4000170119993527,
                                            "count": 4,
                                            "self": 0.4000170119993527
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1146.2492034969878,
                                    "count": 963,
                                    "self": 627.9275552599656,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 518.3216482370221,
                                            "count": 47919,
                                            "self": 518.3216482370221
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.3079998097964562e-06,
                    "count": 1,
                    "self": 1.3079998097964562e-06
                },
                "TrainerController._save_models": {
                    "total": 0.002334688000701135,
                    "count": 1,
                    "self": 2.506200053176144e-05,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.0023096260001693736,
                            "count": 1,
                            "self": 0.0023096260001693736
                        }
                    }
                }
            }
        }
    }
}