File size: 18,730 Bytes
903bd68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.5390892624855042,
            "min": 0.5390892624855042,
            "max": 1.5593442916870117,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 16241.681640625,
            "min": 16241.681640625,
            "max": 47304.26953125,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989961.0,
            "min": 29952.0,
            "max": 989961.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989961.0,
            "min": 29952.0,
            "max": 989961.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.3679182529449463,
            "min": -0.2248402237892151,
            "max": 0.40893039107322693,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 97.49833679199219,
            "min": -53.287132263183594,
            "max": 107.54869079589844,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.3092624843120575,
            "min": -0.3092624843120575,
            "max": 0.15915042161941528,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -81.95455932617188,
            "min": -81.95455932617188,
            "max": 37.718650817871094,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.0663803664124711,
            "min": 0.06521619034166214,
            "max": 0.07437726868137172,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9293251297745954,
            "min": 0.47215893594651814,
            "max": 1.0587588445838156,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.02464498167960084,
            "min": 7.168061418446273e-05,
            "max": 0.02464498167960084,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.3450297435144118,
            "min": 0.0008601673702135527,
            "max": 0.3450297435144118,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.675511727242859e-06,
            "min": 7.675511727242859e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010745716418140003,
            "min": 0.00010745716418140003,
            "max": 0.0031381799539400997,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10255847142857144,
            "min": 0.10255847142857144,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4358186000000002,
            "min": 1.3691136000000002,
            "max": 2.3460599,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00026559129571428577,
            "min": 0.00026559129571428577,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0037182781400000005,
            "min": 0.0037182781400000005,
            "max": 0.10463138401000001,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.005210391245782375,
            "min": 0.005210391245782375,
            "max": 0.21293902397155762,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.0729454755783081,
            "min": 0.0729454755783081,
            "max": 1.4905731678009033,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 484.57142857142856,
            "min": 475.41269841269843,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30528.0,
            "min": 15984.0,
            "max": 33288.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.2843491780379461,
            "min": -1.0000000521540642,
            "max": 1.4055841003382017,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 80.91399821639061,
            "min": -32.000001668930054,
            "max": 88.5517983213067,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.2843491780379461,
            "min": -1.0000000521540642,
            "max": 1.4055841003382017,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 80.91399821639061,
            "min": -32.000001668930054,
            "max": 88.5517983213067,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.026754732689744466,
            "min": 0.02612496932528706,
            "max": 4.479016438592225,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 1.6855481594539015,
            "min": 1.6458730674930848,
            "max": 71.6642630174756,
            "count": 33
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1703602748",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [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": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.2+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1703604907"
    },
    "total": 2158.59164945,
    "count": 1,
    "self": 0.4766006190002372,
    "children": {
        "run_training.setup": {
            "total": 0.06884812099997362,
            "count": 1,
            "self": 0.06884812099997362
        },
        "TrainerController.start_learning": {
            "total": 2158.04620071,
            "count": 1,
            "self": 1.5453916851010945,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.1010409140003503,
                    "count": 1,
                    "self": 2.1010409140003503
                },
                "TrainerController.advance": {
                    "total": 2154.3108202428984,
                    "count": 63461,
                    "self": 1.5989859000410434,
                    "children": {
                        "env_step": {
                            "total": 1525.7365561059319,
                            "count": 63461,
                            "self": 1385.7640349640114,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 139.0374795229368,
                                    "count": 63461,
                                    "self": 5.088378932812702,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 133.9491005901241,
                                            "count": 62572,
                                            "self": 133.9491005901241
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9350416189836324,
                                    "count": 63461,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2152.544307878044,
                                            "count": 63461,
                                            "is_parallel": true,
                                            "self": 895.5127977370353,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0018347079999330163,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005834559997310862,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.00125125200020193,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.00125125200020193
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.051021830000081536,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006035650003468618,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005106270000396762,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005106270000396762
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04820219099974565,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04820219099974565
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001705446999949345,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003689579998535919,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001336489000095753,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001336489000095753
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1257.0315101410088,
                                                    "count": 63460,
                                                    "is_parallel": true,
                                                    "self": 35.89969953806394,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 25.958572241024285,
                                                            "count": 63460,
                                                            "is_parallel": true,
                                                            "self": 25.958572241024285
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1089.9492681559586,
                                                            "count": 63460,
                                                            "is_parallel": true,
                                                            "self": 1089.9492681559586
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 105.2239702059619,
                                                            "count": 63460,
                                                            "is_parallel": true,
                                                            "self": 21.632838686037758,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 83.59113151992415,
                                                                    "count": 507680,
                                                                    "is_parallel": true,
                                                                    "self": 83.59113151992415
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 626.9752782369255,
                            "count": 63461,
                            "self": 2.757885666922448,
                            "children": {
                                "process_trajectory": {
                                    "total": 127.07920654500049,
                                    "count": 63461,
                                    "self": 126.89430934300026,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.1848972020002293,
                                            "count": 2,
                                            "self": 0.1848972020002293
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 497.1381860250026,
                                    "count": 434,
                                    "self": 293.10731915304996,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 204.03086687195264,
                                            "count": 22848,
                                            "self": 204.03086687195264
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.4090001059230417e-06,
                    "count": 1,
                    "self": 1.4090001059230417e-06
                },
                "TrainerController._save_models": {
                    "total": 0.08894645899999887,
                    "count": 1,
                    "self": 0.001974519000214059,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08697193999978481,
                            "count": 1,
                            "self": 0.08697193999978481
                        }
                    }
                }
            }
        }
    }
}