File size: 18,341 Bytes
2424227
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.9409822821617126,
            "min": 0.8106604218482971,
            "max": 1.4315940141677856,
            "count": 11
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 28199.357421875,
            "min": 24293.87109375,
            "max": 43428.8359375,
            "count": 11
        },
        "Pyramids.Step.mean": {
            "value": 329926.0,
            "min": 29964.0,
            "max": 329926.0,
            "count": 11
        },
        "Pyramids.Step.sum": {
            "value": 329926.0,
            "min": 29964.0,
            "max": 329926.0,
            "count": 11
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.0634525865316391,
            "min": -0.10931471735239029,
            "max": 0.1417982578277588,
            "count": 11
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": -15.292074203491211,
            "min": -26.5634765625,
            "max": 33.74798583984375,
            "count": 11
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.016926150768995285,
            "min": 0.009418807923793793,
            "max": 0.2643304169178009,
            "count": 11
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 4.079202175140381,
            "min": 2.2793514728546143,
            "max": 62.910640716552734,
            "count": 11
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06600042445598502,
            "min": 0.06600042445598502,
            "max": 0.0743068092511399,
            "count": 11
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9240059423837902,
            "min": 0.5201476647579794,
            "max": 1.029499423779449,
            "count": 11
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.000861378460589898,
            "min": 0.0006144177248290402,
            "max": 0.008378806599306973,
            "count": 11
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.012059298448258572,
            "min": 0.008601848147606563,
            "max": 0.058651646195148815,
            "count": 11
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 0.0002052285744476286,
            "min": 0.0002052285744476286,
            "max": 0.0002952378873016572,
            "count": 11
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0028732000422668005,
            "min": 0.0020666652111116,
            "max": 0.0036344857885047994,
            "count": 11
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.16840951428571427,
            "min": 0.16840951428571427,
            "max": 0.19841262857142855,
            "count": 11
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 2.3577331999999998,
            "min": 1.3888884,
            "max": 2.6114952000000002,
            "count": 11
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.006844110477142855,
            "min": 0.006844110477142855,
            "max": 0.009841421594285712,
            "count": 11
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.09581754667999998,
            "min": 0.06888995115999999,
            "max": 0.12116837048000001,
            "count": 11
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.020384496077895164,
            "min": 0.020384496077895164,
            "max": 0.40739360451698303,
            "count": 11
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.2853829562664032,
            "min": 0.2853829562664032,
            "max": 2.851755142211914,
            "count": 11
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 987.0,
            "min": 928.8,
            "max": 994.7666666666667,
            "count": 11
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29610.0,
            "min": 16635.0,
            "max": 32727.0,
            "count": 11
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": -0.8542933826645215,
            "min": -0.9320909629265467,
            "max": -0.5865429045898574,
            "count": 11
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": -25.628801479935646,
            "min": -30.759001776576042,
            "max": -14.651000902056694,
            "count": 11
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": -0.8542933826645215,
            "min": -0.9320909629265467,
            "max": -0.5865429045898574,
            "count": 11
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": -25.628801479935646,
            "min": -30.759001776576042,
            "max": -14.651000902056694,
            "count": 11
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.21178404157205175,
            "min": 0.21178404157205175,
            "max": 7.58075419418952,
            "count": 11
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 6.353521247161552,
            "min": 6.353521247161552,
            "max": 128.87282130122185,
            "count": 11
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 11
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 11
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1790770172",
        "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]",
        "command_line_arguments": "/home/aestoquera/rl_unit5/.venv/bin/mlagents-learn config/ppo/PyramidsRND.yaml --env=training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids1 --no-graphics --torch-device=cpu",
        "mlagents_version": "1.1.0",
        "mlagents_envs_version": "1.1.0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.2.2+cpu",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1790770778"
    },
    "total": 605.9252981919999,
    "count": 1,
    "self": 0.25963323000178207,
    "children": {
        "run_training.setup": {
            "total": 0.011977090998698259,
            "count": 1,
            "self": 0.011977090998698259
        },
        "TrainerController.start_learning": {
            "total": 605.6536878709994,
            "count": 1,
            "self": 0.46789993205675273,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.238007990999904,
                    "count": 1,
                    "self": 1.238007990999904
                },
                "TrainerController.advance": {
                    "total": 603.8866585379437,
                    "count": 20863,
                    "self": 0.4164906542864628,
                    "children": {
                        "env_step": {
                            "total": 446.9271373440606,
                            "count": 20863,
                            "self": 416.3892488279962,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 30.228820854801597,
                                    "count": 20863,
                                    "self": 1.244849374088517,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 28.98397148071308,
                                            "count": 20735,
                                            "self": 28.98397148071308
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.3090676612628158,
                                    "count": 20862,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 604.4669691879244,
                                            "count": 20862,
                                            "is_parallel": true,
                                            "self": 220.13910292412038,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0020890800005872734,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0009838019977905788,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0011052780027966946,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0011052780027966946
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03427367400217918,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00025513300352031365,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0002513659965188708,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002513659965188708
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.0327860800025519,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0327860800025519
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0009810949995880947,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023931499526952393,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0007417800043185707,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0007417800043185707
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 384.327866263804,
                                                    "count": 20861,
                                                    "is_parallel": true,
                                                    "self": 5.795743266084173,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 5.116714509214944,
                                                            "count": 20861,
                                                            "is_parallel": true,
                                                            "self": 5.116714509214944
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 356.6689165476164,
                                                            "count": 20861,
                                                            "is_parallel": true,
                                                            "self": 356.6689165476164
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 16.746491940888518,
                                                            "count": 20861,
                                                            "is_parallel": true,
                                                            "self": 4.3194765375810675,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 12.42701540330745,
                                                                    "count": 166888,
                                                                    "is_parallel": true,
                                                                    "self": 12.42701540330745
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 156.54303053959666,
                            "count": 20862,
                            "self": 0.816496380866738,
                            "children": {
                                "process_trajectory": {
                                    "total": 23.857649031731853,
                                    "count": 20862,
                                    "self": 23.857649031731853
                                },
                                "_update_policy": {
                                    "total": 131.86888512699807,
                                    "count": 140,
                                    "self": 54.68489155684438,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 77.18399357015369,
                                            "count": 7563,
                                            "self": 77.18399357015369
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.359966159332544e-07,
                    "count": 1,
                    "self": 8.359966159332544e-07
                },
                "TrainerController._save_models": {
                    "total": 0.061120574002416106,
                    "count": 1,
                    "self": 0.0009862810002232436,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.06013429300219286,
                            "count": 1,
                            "self": 0.06013429300219286
                        }
                    }
                }
            }
        }
    }
}