File size: 18,701 Bytes
a6fd9f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.5245121717453003,
            "min": 0.5245121717453003,
            "max": 1.4683809280395508,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 15676.619140625,
            "min": 15676.619140625,
            "max": 44544.8046875,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989974.0,
            "min": 29952.0,
            "max": 989974.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989974.0,
            "min": 29952.0,
            "max": 989974.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.5462453961372375,
            "min": -0.0893813818693161,
            "max": 0.5539007186889648,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 151.85621643066406,
            "min": -21.540912628173828,
            "max": 152.32269287109375,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.030090928077697754,
            "min": 0.0053176903165876865,
            "max": 0.5040374398231506,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 8.365278244018555,
            "min": 1.3134695291519165,
            "max": 119.45687866210938,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06962561037895891,
            "min": 0.06543960634890308,
            "max": 0.07392101677038451,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9747585453054248,
            "min": 0.4752439427639133,
            "max": 1.0514126868391245,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.014130477420708517,
            "min": 0.0006469925694302089,
            "max": 0.015236421878498047,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.19782668388991925,
            "min": 0.007763910833162507,
            "max": 0.21330990629897265,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.446461803592854e-06,
            "min": 7.446461803592854e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010425046525029996,
            "min": 0.00010425046525029996,
            "max": 0.0035076809307730992,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10248212142857142,
            "min": 0.10248212142857142,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4347497,
            "min": 1.3886848,
            "max": 2.6176047000000002,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00025796393071428564,
            "min": 0.00025796393071428564,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0036114950299999987,
            "min": 0.0036114950299999987,
            "max": 0.11694576731,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.010309159755706787,
            "min": 0.010206242091953754,
            "max": 0.5324414372444153,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.14432823657989502,
            "min": 0.14288738369941711,
            "max": 3.7270898818969727,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 346.775,
            "min": 346.775,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 27742.0,
            "min": 15984.0,
            "max": 32633.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.6282224778085947,
            "min": -1.0000000521540642,
            "max": 1.6282224778085947,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 130.25779822468758,
            "min": -30.665001675486565,
            "max": 142.41539785265923,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.6282224778085947,
            "min": -1.0000000521540642,
            "max": 1.6282224778085947,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 130.25779822468758,
            "min": -30.665001675486565,
            "max": 142.41539785265923,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.03690245527232037,
            "min": 0.03690245527232037,
            "max": 11.691608242690563,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.9521964217856294,
            "min": 2.9521964217856294,
            "max": 187.065731883049,
            "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": "1717183678",
        "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.3.0+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1717185954"
    },
    "total": 2275.489956409,
    "count": 1,
    "self": 0.5888061000000562,
    "children": {
        "run_training.setup": {
            "total": 0.08367152700020597,
            "count": 1,
            "self": 0.08367152700020597
        },
        "TrainerController.start_learning": {
            "total": 2274.817478782,
            "count": 1,
            "self": 1.538024738981676,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.7331542339998123,
                    "count": 1,
                    "self": 2.7331542339998123
                },
                "TrainerController.advance": {
                    "total": 2270.450689360018,
                    "count": 63913,
                    "self": 1.5674759250487114,
                    "children": {
                        "env_step": {
                            "total": 1620.7483550599673,
                            "count": 63913,
                            "self": 1481.048849954071,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 138.7712550989204,
                                    "count": 63913,
                                    "self": 4.944066397851657,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 133.82718870106874,
                                            "count": 62548,
                                            "self": 133.82718870106874
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9282500069757589,
                                    "count": 63913,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2269.5709389880076,
                                            "count": 63913,
                                            "is_parallel": true,
                                            "self": 920.9424124769994,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.002737472999797319,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00073389799990764,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002003574999889679,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.002003574999889679
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04954141400003209,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006079439999666647,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004395400001158123,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004395400001158123
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04684194399987973,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04684194399987973
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0016519860000698827,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003357330010658188,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001316252999004064,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001316252999004064
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1348.6285265110082,
                                                    "count": 63912,
                                                    "is_parallel": true,
                                                    "self": 34.89706483396503,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 24.33059817400681,
                                                            "count": 63912,
                                                            "is_parallel": true,
                                                            "self": 24.33059817400681
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1185.3089984420017,
                                                            "count": 63912,
                                                            "is_parallel": true,
                                                            "self": 1185.3089984420017
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 104.0918650610347,
                                                            "count": 63912,
                                                            "is_parallel": true,
                                                            "self": 21.837636461088096,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 82.2542285999466,
                                                                    "count": 511296,
                                                                    "is_parallel": true,
                                                                    "self": 82.2542285999466
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 648.1348583750018,
                            "count": 63913,
                            "self": 2.8002164059676034,
                            "children": {
                                "process_trajectory": {
                                    "total": 134.42033066303338,
                                    "count": 63913,
                                    "self": 134.16502085903312,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.2553098040002624,
                                            "count": 2,
                                            "self": 0.2553098040002624
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 510.91431130600085,
                                    "count": 451,
                                    "self": 304.887499234972,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 206.02681207102887,
                                            "count": 22785,
                                            "self": 206.02681207102887
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.4060005923965946e-06,
                    "count": 1,
                    "self": 1.4060005923965946e-06
                },
                "TrainerController._save_models": {
                    "total": 0.09560904299996764,
                    "count": 1,
                    "self": 0.0014479080000455724,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09416113499992207,
                            "count": 1,
                            "self": 0.09416113499992207
                        }
                    }
                }
            }
        }
    }
}