File size: 18,795 Bytes
13e76c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.486691951751709,
            "min": 0.45491981506347656,
            "max": 1.4656832218170166,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 14577.3974609375,
            "min": 13676.708984375,
            "max": 44462.96484375,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989923.0,
            "min": 29952.0,
            "max": 989923.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989923.0,
            "min": 29952.0,
            "max": 989923.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.4779071807861328,
            "min": -0.08047345280647278,
            "max": 0.5435807108879089,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 129.99075317382812,
            "min": -19.394102096557617,
            "max": 151.35604858398438,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.008904339745640755,
            "min": -0.016002794727683067,
            "max": 0.3366658091545105,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 2.421980381011963,
            "min": -4.144723892211914,
            "max": 79.789794921875,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.0695441907377071,
            "min": 0.06276676603438854,
            "max": 0.07262257475078861,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9736186703278994,
            "min": 0.4931156157272407,
            "max": 1.0678179527361256,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01299270672357774,
            "min": 0.0006000278432520842,
            "max": 0.014579348827671246,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.18189789413008836,
            "min": 0.006048870790651228,
            "max": 0.20198167596633232,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.476676079235714e-06,
            "min": 7.476676079235714e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0001046734651093,
            "min": 0.0001046734651093,
            "max": 0.0032556560147814,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10249219285714287,
            "min": 0.10249219285714287,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4348907000000002,
            "min": 1.3691136000000002,
            "max": 2.4434631,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0002589700664285714,
            "min": 0.0002589700664285714,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0036255809299999995,
            "min": 0.0036255809299999995,
            "max": 0.10854333813999999,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.00594465434551239,
            "min": 0.005903410725295544,
            "max": 0.5019513368606567,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.08322516083717346,
            "min": 0.08264774829149246,
            "max": 3.5136592388153076,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 440.27142857142854,
            "min": 356.56962025316454,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30819.0,
            "min": 15984.0,
            "max": 32764.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.4990173579342123,
            "min": -1.0000000521540642,
            "max": 1.6155538205534985,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 103.43219769746065,
            "min": -32.000001668930054,
            "max": 136.71519854664803,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.4990173579342123,
            "min": -1.0000000521540642,
            "max": 1.6155538205534985,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 103.43219769746065,
            "min": -32.000001668930054,
            "max": 136.71519854664803,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.027220264729913797,
            "min": 0.02202136175205501,
            "max": 12.183438105508685,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 1.878198266364052,
            "min": 1.717666216660291,
            "max": 194.93500968813896,
            "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": "1701065334",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
        "command_line_arguments": "/home/dfotland/projects/wsl-reinforce/ml-agents/venv-agents/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.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1701067300"
    },
    "total": 1965.304671260994,
    "count": 1,
    "self": 0.2677480579877738,
    "children": {
        "run_training.setup": {
            "total": 0.009749623015522957,
            "count": 1,
            "self": 0.009749623015522957
        },
        "TrainerController.start_learning": {
            "total": 1965.0271735799906,
            "count": 1,
            "self": 0.663557604275411,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.5269510479993187,
                    "count": 1,
                    "self": 3.5269510479993187
                },
                "TrainerController.advance": {
                    "total": 1960.7854194667307,
                    "count": 63746,
                    "self": 0.5966975034098141,
                    "children": {
                        "env_step": {
                            "total": 932.9096375313529,
                            "count": 63746,
                            "self": 578.2640396325733,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 354.20039880264085,
                                    "count": 63746,
                                    "self": 2.264477482822258,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 351.9359213198186,
                                            "count": 62572,
                                            "self": 351.9359213198186
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.4451990961388219,
                                    "count": 63746,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1963.3190328038181,
                                            "count": 63746,
                                            "is_parallel": true,
                                            "self": 1429.6696582139703,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0012706799898296595,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0004720049910247326,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0007986749988049269,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007986749988049269
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.01873781898757443,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00014780499623157084,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00017723199562169611,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00017723199562169611
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.018010127008892596,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.018010127008892596
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0004026549868285656,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00010492297587916255,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.00029773201094940305,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.00029773201094940305
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 533.6493745898479,
                                                    "count": 63745,
                                                    "is_parallel": true,
                                                    "self": 8.528648701729253,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 5.793877485208213,
                                                            "count": 63745,
                                                            "is_parallel": true,
                                                            "self": 5.793877485208213
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 496.89784187753685,
                                                            "count": 63745,
                                                            "is_parallel": true,
                                                            "self": 496.89784187753685
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 22.429006525373552,
                                                            "count": 63745,
                                                            "is_parallel": true,
                                                            "self": 5.222279333422193,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 17.20672719195136,
                                                                    "count": 509960,
                                                                    "is_parallel": true,
                                                                    "self": 17.20672719195136
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1027.279084431968,
                            "count": 63746,
                            "self": 1.2593565461575054,
                            "children": {
                                "process_trajectory": {
                                    "total": 129.66172403102973,
                                    "count": 63746,
                                    "self": 129.53123492203304,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.13048910899669863,
                                            "count": 2,
                                            "self": 0.13048910899669863
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 896.3580038547807,
                                    "count": 443,
                                    "self": 268.65442817352596,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 627.7035756812547,
                                            "count": 22830,
                                            "self": 627.7035756812547
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 4.859757609665394e-07,
                    "count": 1,
                    "self": 4.859757609665394e-07
                },
                "TrainerController._save_models": {
                    "total": 0.05124497500946745,
                    "count": 1,
                    "self": 0.000507761025801301,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.05073721398366615,
                            "count": 1,
                            "self": 0.05073721398366615
                        }
                    }
                }
            }
        }
    }
}