File size: 14,807 Bytes
149ecdd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.3878195285797119,
            "min": 0.3855995237827301,
            "max": 0.4187244474887848,
            "count": 7
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 11603.560546875,
            "min": 8532.943359375,
            "max": 12642.12890625,
            "count": 7
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 321.2087912087912,
            "min": 264.78125,
            "max": 351.15294117647056,
            "count": 7
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 29230.0,
            "min": 16946.0,
            "max": 32099.0,
            "count": 7
        },
        "Pyramids.Step.mean": {
            "value": 1199961.0,
            "min": 1019965.0,
            "max": 1199961.0,
            "count": 7
        },
        "Pyramids.Step.sum": {
            "value": 1199961.0,
            "min": 1019965.0,
            "max": 1199961.0,
            "count": 7
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.594951868057251,
            "min": 0.563068151473999,
            "max": 0.6747236847877502,
            "count": 7
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 167.77642822265625,
            "min": 117.49083709716797,
            "max": 192.97097778320312,
            "count": 7
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.020892998203635216,
            "min": -0.020892998203635216,
            "max": 0.1663450300693512,
            "count": 7
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -5.8918256759643555,
            "min": -5.8918256759643555,
            "max": 31.106521606445312,
            "count": 7
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.6592217233517896,
            "min": 1.590455893226849,
            "max": 1.735218738205731,
            "count": 7
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 152.64839854836464,
            "min": 111.05399924516678,
            "max": 168.34579879045486,
            "count": 7
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.6592217233517896,
            "min": 1.590455893226849,
            "max": 1.735218738205731,
            "count": 7
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 152.64839854836464,
            "min": 111.05399924516678,
            "max": 168.34579879045486,
            "count": 7
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.027534870463964384,
            "min": 0.02347926075117357,
            "max": 0.030307473896148924,
            "count": 7
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 2.533208082684723,
            "min": 1.5026726880751085,
            "max": 2.721572883456247,
            "count": 7
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06903699719890331,
            "min": 0.06500396157415318,
            "max": 0.07014347480227505,
            "count": 7
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0355549579835497,
            "min": 0.6154614066666303,
            "max": 1.0355549579835497,
            "count": 7
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01606998879578896,
            "min": 0.012300257131304716,
            "max": 0.016534775501765707,
            "count": 7
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.24104983193683438,
            "min": 0.1303693948769554,
            "max": 0.24104983193683438,
            "count": 7
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 3.725732091455558e-06,
            "min": 3.725732091455558e-06,
            "max": 4.737477865287963e-05,
            "count": 7
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 5.588598137183337e-05,
            "min": 5.588598137183337e-05,
            "max": 0.0005783179572277499,
            "count": 7
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10124187777777777,
            "min": 0.10124187777777777,
            "max": 0.11579156481481483,
            "count": 7
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.5186281666666666,
            "min": 1.0421240833333334,
            "max": 1.631316166666667,
            "count": 7
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0001340635900000001,
            "min": 0.0001340635900000001,
            "max": 0.0015875773250000002,
            "count": 7
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0020109538500000016,
            "min": 0.0020109538500000016,
            "max": 0.019397947775,
            "count": 7
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.008361710235476494,
            "min": 0.008012756705284119,
            "max": 0.008607222698628902,
            "count": 7
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.12542565166950226,
            "min": 0.0763489156961441,
            "max": 0.12542565166950226,
            "count": 7
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 7
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 7
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1678766396",
        "python_version": "3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]",
        "command_line_arguments": "D:\\Documents\\Tesis\\thesis_env\\Scripts\\mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics --resume",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.13.1+cu117",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1678766663"
    },
    "total": 267.3865055,
    "count": 1,
    "self": 0.21886089999998148,
    "children": {
        "run_training.setup": {
            "total": 0.08111299999999999,
            "count": 1,
            "self": 0.08111299999999999
        },
        "TrainerController.start_learning": {
            "total": 267.0865316,
            "count": 1,
            "self": 0.22487059999775738,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.0322518,
                    "count": 1,
                    "self": 4.0322518
                },
                "TrainerController.advance": {
                    "total": 262.7266952000022,
                    "count": 13063,
                    "self": 0.18488890000031688,
                    "children": {
                        "env_step": {
                            "total": 139.6591986000016,
                            "count": 13063,
                            "self": 104.98798670000139,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 34.54033080000055,
                                    "count": 13063,
                                    "self": 0.5879332999996407,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 33.952397500000906,
                                            "count": 12563,
                                            "self": 33.952397500000906
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.13088109999966413,
                                    "count": 13063,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 263.49024339999903,
                                            "count": 13063,
                                            "is_parallel": true,
                                            "self": 171.8897700999985,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.0007260000000002265,
                                                    "count": 1,
                                                    "is_parallel": true,
                                                    "self": 0.00017640000000040956,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.0005495999999998169,
                                                            "count": 8,
                                                            "is_parallel": true,
                                                            "self": 0.0005495999999998169
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 91.59974730000053,
                                                    "count": 13063,
                                                    "is_parallel": true,
                                                    "self": 2.975661800000111,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 2.0260214000000465,
                                                            "count": 13063,
                                                            "is_parallel": true,
                                                            "self": 2.0260214000000465
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 78.60042420000096,
                                                            "count": 13063,
                                                            "is_parallel": true,
                                                            "self": 78.60042420000096
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 7.997639899999415,
                                                            "count": 13063,
                                                            "is_parallel": true,
                                                            "self": 1.8950215000030557,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 6.102618399996359,
                                                                    "count": 104504,
                                                                    "is_parallel": true,
                                                                    "self": 6.102618399996359
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 122.88260770000034,
                            "count": 13063,
                            "self": 0.44139130000050386,
                            "children": {
                                "process_trajectory": {
                                    "total": 20.549448899999906,
                                    "count": 13063,
                                    "self": 20.549448899999906
                                },
                                "_update_policy": {
                                    "total": 101.89176749999993,
                                    "count": 95,
                                    "self": 48.98610009999946,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 52.90566740000047,
                                            "count": 4566,
                                            "self": 52.90566740000047
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 4.000000330961484e-07,
                    "count": 1,
                    "self": 4.000000330961484e-07
                },
                "TrainerController._save_models": {
                    "total": 0.1027136000000155,
                    "count": 1,
                    "self": 0.006911699999989196,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09580190000002631,
                            "count": 1,
                            "self": 0.09580190000002631
                        }
                    }
                }
            }
        }
    }
}