File size: 18,788 Bytes
7e643ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.15660691261291504,
            "min": 0.1543264091014862,
            "max": 1.4410406351089478,
            "count": 100
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 4720.7587890625,
            "min": 4577.9384765625,
            "max": 43715.41015625,
            "count": 100
        },
        "Pyramids.Step.mean": {
            "value": 2999894.0,
            "min": 29878.0,
            "max": 2999894.0,
            "count": 100
        },
        "Pyramids.Step.sum": {
            "value": 2999894.0,
            "min": 29878.0,
            "max": 2999894.0,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.8098756670951843,
            "min": -0.13551738858222961,
            "max": 0.8292228579521179,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 242.15283203125,
            "min": -32.11762237548828,
            "max": 244.62074279785156,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.0029834385495632887,
            "min": -0.0501549206674099,
            "max": 0.5536719560623169,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 0.8920481204986572,
            "min": -14.394462585449219,
            "max": 131.2202606201172,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06912912183260131,
            "min": 0.0635057190388796,
            "max": 0.07331064539806295,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0369368274890196,
            "min": 0.5410115727728964,
            "max": 1.0996596809709442,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01566997717889452,
            "min": 0.0010214739307312422,
            "max": 0.017609723939261,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.2350496576834178,
            "min": 0.014300635030237391,
            "max": 0.2613465759980803,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.4780528406822237e-06,
            "min": 1.4780528406822237e-06,
            "max": 0.00029840312553229163,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 2.2170792610233356e-05,
            "min": 2.2170792610233356e-05,
            "max": 0.004010801663066133,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10049265111111112,
            "min": 0.10049265111111112,
            "max": 0.19946770833333333,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.507389766666667,
            "min": 1.4210677,
            "max": 2.7676113666666664,
            "count": 100
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 5.9215846000000057e-05,
            "min": 5.9215846000000057e-05,
            "max": 0.009946824062500002,
            "count": 100
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0008882376900000009,
            "min": 0.0008882376900000009,
            "max": 0.13369969328,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.006883983034640551,
            "min": 0.006577217020094395,
            "max": 0.3836733102798462,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.10325974225997925,
            "min": 0.09306111931800842,
            "max": 3.0693864822387695,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 241.13178294573643,
            "min": 203.00704225352112,
            "max": 992.78125,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 31106.0,
            "min": 16549.0,
            "max": 32535.0,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.6968325453326685,
            "min": -0.9262121748743635,
            "max": 1.7971560139182612,
            "count": 100
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 218.89139834791422,
            "min": -30.565001770853996,
            "max": 253.39899796247482,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.6968325453326685,
            "min": -0.9262121748743635,
            "max": 1.7971560139182612,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 218.89139834791422,
            "min": -30.565001770853996,
            "max": 253.39899796247482,
            "count": 100
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.017319782374109964,
            "min": 0.015489275331822792,
            "max": 7.435108531923855,
            "count": 100
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.2342519262601854,
            "min": 1.9973908661704627,
            "max": 126.39684504270554,
            "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": "1692462164",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.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": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1692467259"
    },
    "total": 5095.324234156,
    "count": 1,
    "self": 0.3718634770011704,
    "children": {
        "run_training.setup": {
            "total": 0.0401019319997431,
            "count": 1,
            "self": 0.0401019319997431
        },
        "TrainerController.start_learning": {
            "total": 5094.912268746999,
            "count": 1,
            "self": 3.9007297858315724,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.1704980669996985,
                    "count": 1,
                    "self": 4.1704980669996985
                },
                "TrainerController.advance": {
                    "total": 5086.744691613169,
                    "count": 195066,
                    "self": 3.802885274836626,
                    "children": {
                        "env_step": {
                            "total": 3335.752153585221,
                            "count": 195066,
                            "self": 3038.242674998514,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 295.2548055177199,
                                    "count": 195066,
                                    "self": 12.785866159723355,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 282.46893935799653,
                                            "count": 187567,
                                            "self": 282.46893935799653
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.2546730689873584,
                                    "count": 195066,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 5088.258120456057,
                                            "count": 195066,
                                            "is_parallel": true,
                                            "self": 2316.3693697151625,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0018431530002089858,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005897220007682336,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0012534309994407522,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0012534309994407522
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.0353608410000561,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003550189999259601,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00034493699968152214,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00034493699968152214
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03345642100020996,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03345642100020996
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0012044640002386586,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002618370008349302,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0009426269994037284,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0009426269994037284
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 2771.888750740895,
                                                    "count": 195065,
                                                    "is_parallel": true,
                                                    "self": 64.86174442401352,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 45.15624508510473,
                                                            "count": 195065,
                                                            "is_parallel": true,
                                                            "self": 45.15624508510473
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2467.6241169218174,
                                                            "count": 195065,
                                                            "is_parallel": true,
                                                            "self": 2467.6241169218174
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 194.24664430995927,
                                                            "count": 195065,
                                                            "is_parallel": true,
                                                            "self": 39.582233558300686,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 154.66441075165858,
                                                                    "count": 1560520,
                                                                    "is_parallel": true,
                                                                    "self": 154.66441075165858
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1747.1896527531121,
                            "count": 195066,
                            "self": 7.79327306197365,
                            "children": {
                                "process_trajectory": {
                                    "total": 299.964351471177,
                                    "count": 195066,
                                    "self": 299.32158444917786,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.6427670219991342,
                                            "count": 6,
                                            "self": 0.6427670219991342
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1439.4320282199615,
                                    "count": 1406,
                                    "self": 906.0985546589145,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 533.333473561047,
                                            "count": 68337,
                                            "self": 533.333473561047
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.849991329247132e-07,
                    "count": 1,
                    "self": 9.849991329247132e-07
                },
                "TrainerController._save_models": {
                    "total": 0.09634829599963268,
                    "count": 1,
                    "self": 0.0015519450007559499,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09479635099887673,
                            "count": 1,
                            "self": 0.09479635099887673
                        }
                    }
                }
            }
        }
    }
}