File size: 18,712 Bytes
5f2e3e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.9969829320907593,
            "min": 0.8575412034988403,
            "max": 1.4115686416625977,
            "count": 17
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 29861.6328125,
            "min": 25657.6328125,
            "max": 42821.34765625,
            "count": 17
        },
        "Pyramids.Step.mean": {
            "value": 509933.0,
            "min": 29964.0,
            "max": 509933.0,
            "count": 17
        },
        "Pyramids.Step.sum": {
            "value": 509933.0,
            "min": 29964.0,
            "max": 509933.0,
            "count": 17
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.01830919273197651,
            "min": -0.14974060654640198,
            "max": 0.01830919273197651,
            "count": 17
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 4.5223708152771,
            "min": -35.63826370239258,
            "max": 4.5223708152771,
            "count": 17
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.01709148660302162,
            "min": 0.01709148660302162,
            "max": 0.2620517313480377,
            "count": 17
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 4.221597194671631,
            "min": 4.221597194671631,
            "max": 62.368309020996094,
            "count": 17
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.07082497664225848,
            "min": 0.06500764627202107,
            "max": 0.0723782599125572,
            "count": 17
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0623746496338773,
            "min": 0.5565264592477129,
            "max": 1.0623746496338773,
            "count": 17
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.0048989031742321405,
            "min": 7.02142284882183e-05,
            "max": 0.00601692556009361,
            "count": 17
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.07348354761348211,
            "min": 0.000982999198835056,
            "max": 0.07348354761348211,
            "count": 17
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 0.0001514621095126467,
            "min": 0.0001514621095126467,
            "max": 0.00029484990171670003,
            "count": 17
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0022719316426897005,
            "min": 0.0022504623498461,
            "max": 0.0035096030301324,
            "count": 17
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.15048735333333335,
            "min": 0.15048735333333335,
            "max": 0.19828330000000002,
            "count": 17
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 2.2573103000000003,
            "min": 1.5862664000000002,
            "max": 2.5698676,
            "count": 17
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.005053686598,
            "min": 0.005053686598,
            "max": 0.00982850167,
            "count": 17
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.07580529897,
            "min": 0.07508037460999999,
            "max": 0.11700977324,
            "count": 17
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.015443197451531887,
            "min": 0.015443197451531887,
            "max": 0.39791494607925415,
            "count": 17
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.23164796829223633,
            "min": 0.23164796829223633,
            "max": 3.183319568634033,
            "count": 17
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 835.4722222222222,
            "min": 835.4722222222222,
            "max": 999.0,
            "count": 17
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 30077.0,
            "min": 17274.0,
            "max": 32230.0,
            "count": 17
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": -0.0025000408705737856,
            "min": -0.9999032784854213,
            "max": -0.0025000408705737856,
            "count": 17
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": -0.09000147134065628,
            "min": -30.997001633048058,
            "max": -0.09000147134065628,
            "count": 17
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": -0.0025000408705737856,
            "min": -0.9999032784854213,
            "max": -0.0025000408705737856,
            "count": 17
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": -0.09000147134065628,
            "min": -30.997001633048058,
            "max": -0.09000147134065628,
            "count": 17
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.1358512864260572,
            "min": 0.1358512864260572,
            "max": 7.930082940393024,
            "count": 17
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 4.89064631133806,
            "min": 4.89064631133806,
            "max": 142.74149292707443,
            "count": 17
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 17
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 17
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1684572022",
        "python_version": "3.10.11 (main, Apr  5 2023, 14:15:10) [GCC 9.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 --force",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1684573606"
    },
    "total": 1583.7547838639998,
    "count": 1,
    "self": 0.3995960259999265,
    "children": {
        "run_training.setup": {
            "total": 0.04527794199998425,
            "count": 1,
            "self": 0.04527794199998425
        },
        "TrainerController.start_learning": {
            "total": 1583.309909896,
            "count": 1,
            "self": 1.1388708590611714,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.4065304709999964,
                    "count": 1,
                    "self": 1.4065304709999964
                },
                "TrainerController.advance": {
                    "total": 1580.586937227938,
                    "count": 32505,
                    "self": 1.1662489229649964,
                    "children": {
                        "env_step": {
                            "total": 1000.4899612489755,
                            "count": 32505,
                            "self": 929.3171282380549,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 70.47137749494686,
                                    "count": 32505,
                                    "self": 3.502615686958052,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 66.96876180798881,
                                            "count": 32259,
                                            "self": 66.96876180798881
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.7014555159737483,
                                    "count": 32504,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1579.9955445599949,
                                            "count": 32504,
                                            "is_parallel": true,
                                            "self": 733.8833108599563,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.004127525000058085,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0014296180002020265,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002697906999856059,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.002697906999856059
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.15187964100005047,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000671200000169847,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005465459998958977,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005465459998958977
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.14854791099992326,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.14854791099992326
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.002113984000061464,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004085229998054274,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0017054610002560366,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0017054610002560366
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 846.1122337000386,
                                                    "count": 32503,
                                                    "is_parallel": true,
                                                    "self": 22.929869145039675,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 12.172924000007242,
                                                            "count": 32503,
                                                            "is_parallel": true,
                                                            "self": 12.172924000007242
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 742.8078702920088,
                                                            "count": 32503,
                                                            "is_parallel": true,
                                                            "self": 742.8078702920088
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 68.20157026298284,
                                                            "count": 32503,
                                                            "is_parallel": true,
                                                            "self": 14.265620485946101,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 53.93594977703674,
                                                                    "count": 260024,
                                                                    "is_parallel": true,
                                                                    "self": 53.93594977703674
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 578.9307270559975,
                            "count": 32504,
                            "self": 1.9746685670077113,
                            "children": {
                                "process_trajectory": {
                                    "total": 73.0058876849946,
                                    "count": 32504,
                                    "self": 72.87605443899452,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.12983324600008928,
                                            "count": 1,
                                            "self": 0.12983324600008928
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 503.9501708039952,
                                    "count": 225,
                                    "self": 208.54013743900214,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 295.41003336499307,
                                            "count": 11766,
                                            "self": 295.41003336499307
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.6430003597633913e-06,
                    "count": 1,
                    "self": 1.6430003597633913e-06
                },
                "TrainerController._save_models": {
                    "total": 0.17756969500032938,
                    "count": 1,
                    "self": 0.003223708999939845,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.17434598600038953,
                            "count": 1,
                            "self": 0.17434598600038953
                        }
                    }
                }
            }
        }
    }
}