File size: 18,783 Bytes
7fa1c1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.13890044391155243,
            "min": 0.12882627546787262,
            "max": 1.4660499095916748,
            "count": 100
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 4080.33935546875,
            "min": 3809.13525390625,
            "max": 44474.08984375,
            "count": 100
        },
        "Pyramids.Step.mean": {
            "value": 2999997.0,
            "min": 29909.0,
            "max": 2999997.0,
            "count": 100
        },
        "Pyramids.Step.sum": {
            "value": 2999997.0,
            "min": 29909.0,
            "max": 2999997.0,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.8215582966804504,
            "min": -0.10966800153255463,
            "max": 0.9387181997299194,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 248.93215942382812,
            "min": -26.429988861083984,
            "max": 297.57366943359375,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.00424526073038578,
            "min": -0.010614451952278614,
            "max": 0.3451360762119293,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 1.2863140106201172,
            "min": -3.1206488609313965,
            "max": 83.17779541015625,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06943439288477835,
            "min": 0.06373800226422491,
            "max": 0.07418909801703556,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9720815003868968,
            "min": 0.5799489655624273,
            "max": 1.1073437826853478,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014873189860649986,
            "min": 0.00013691177504414622,
            "max": 0.01709814915375318,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.2082246580490998,
            "min": 0.0017798530755739007,
            "max": 0.23977757649360384,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.450306659454762e-06,
            "min": 1.450306659454762e-06,
            "max": 0.0002982536130821292,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 2.030429323236667e-05,
            "min": 2.030429323236667e-05,
            "max": 0.003969181676939465,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.1004834023809524,
            "min": 0.1004834023809524,
            "max": 0.19941787083333337,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4067676333333334,
            "min": 1.4067676333333334,
            "max": 2.7373874000000002,
            "count": 100
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 5.829189785714287e-05,
            "min": 5.829189785714287e-05,
            "max": 0.00994184529625,
            "count": 100
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0008160865700000002,
            "min": 0.0008160865700000002,
            "max": 0.13231374727999998,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.008422481827437878,
            "min": 0.008270560763776302,
            "max": 0.4001147150993347,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.11791474372148514,
            "min": 0.11578785628080368,
            "max": 3.2009177207946777,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 223.71851851851852,
            "min": 188.6772151898734,
            "max": 999.0,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30202.0,
            "min": 17603.0,
            "max": 33062.0,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.7762814665282214,
            "min": -0.9997875513508916,
            "max": 1.804438836390166,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 239.7979979813099,
            "min": -31.99320164322853,
            "max": 285.8649982884526,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.7762814665282214,
            "min": -0.9997875513508916,
            "max": 1.804438836390166,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 239.7979979813099,
            "min": -31.99320164322853,
            "max": 285.8649982884526,
            "count": 100
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.01944257081653362,
            "min": 0.01685618815326355,
            "max": 8.307415151761639,
            "count": 100
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.624747060232039,
            "min": 2.441687158523564,
            "max": 149.53347273170948,
            "count": 100
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1739299876",
        "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.6.0+cu124",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1739310569"
    },
    "total": 10692.896516935001,
    "count": 1,
    "self": 1.1513881680020859,
    "children": {
        "run_training.setup": {
            "total": 0.048657955000010134,
            "count": 1,
            "self": 0.048657955000010134
        },
        "TrainerController.start_learning": {
            "total": 10691.696470812,
            "count": 1,
            "self": 7.504213856847855,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.04499208499999,
                    "count": 1,
                    "self": 4.04499208499999
                },
                "TrainerController.advance": {
                    "total": 10680.059724418152,
                    "count": 195793,
                    "self": 7.504272610074622,
                    "children": {
                        "env_step": {
                            "total": 7565.880673197377,
                            "count": 195793,
                            "self": 7096.752272341677,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 465.04259544484336,
                                    "count": 195793,
                                    "self": 21.194651351615676,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 443.8479440932277,
                                            "count": 187539,
                                            "self": 443.8479440932277
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 4.085805410857063,
                                    "count": 195793,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 10667.516358226116,
                                            "count": 195793,
                                            "is_parallel": true,
                                            "self": 4098.152263059285,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.006329057000016292,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.004690913000047203,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0016381439999690883,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0016381439999690883
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.06666788000001134,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007095430000276792,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005070010000167713,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005070010000167713
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.06328841799995644,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.06328841799995644
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0021629180000104498,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0006229220000477653,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015399959999626844,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015399959999626844
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 6569.36409516683,
                                                    "count": 195792,
                                                    "is_parallel": true,
                                                    "self": 141.68802110409888,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 92.42842018688094,
                                                            "count": 195792,
                                                            "is_parallel": true,
                                                            "self": 92.42842018688094
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 5954.67224972877,
                                                            "count": 195792,
                                                            "is_parallel": true,
                                                            "self": 5954.67224972877
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 380.57540414707984,
                                                            "count": 195792,
                                                            "is_parallel": true,
                                                            "self": 83.52462072263097,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 297.05078342444887,
                                                                    "count": 1566336,
                                                                    "is_parallel": true,
                                                                    "self": 297.05078342444887
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 3106.6747786106994,
                            "count": 195793,
                            "self": 14.38182017159852,
                            "children": {
                                "process_trajectory": {
                                    "total": 489.42954349913276,
                                    "count": 195793,
                                    "self": 488.651617309133,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.7779261899997891,
                                            "count": 6,
                                            "self": 0.7779261899997891
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 2602.863414939968,
                                    "count": 1404,
                                    "self": 1045.1232863626228,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 1557.7401285773453,
                                            "count": 68346,
                                            "self": 1557.7401285773453
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.0650001058820635e-06,
                    "count": 1,
                    "self": 1.0650001058820635e-06
                },
                "TrainerController._save_models": {
                    "total": 0.08753938699919672,
                    "count": 1,
                    "self": 0.002545285999076441,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08499410100012028,
                            "count": 1,
                            "self": 0.08499410100012028
                        }
                    }
                }
            }
        }
    }
}