File size: 19,238 Bytes
9f8687a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
399
400
401
402
403
404
405
{
    "name": "root",
    "gauges": {
        "Pyramids.Policy.Entropy.mean": {
            "value": 0.40762531757354736,
            "min": 0.3326530158519745,
            "max": 1.58945631980896,
            "count": 100
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 4134.951171875,
            "min": 3267.983154296875,
            "max": 16276.0322265625,
            "count": 100
        },
        "Pyramids.Step.mean": {
            "value": 999991.0,
            "min": 9984.0,
            "max": 999991.0,
            "count": 100
        },
        "Pyramids.Step.sum": {
            "value": 999991.0,
            "min": 9984.0,
            "max": 999991.0,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.5587826371192932,
            "min": -0.3401697278022766,
            "max": 0.7835901379585266,
            "count": 100
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 51.40800094604492,
            "min": -26.533239364624023,
            "max": 78.35901641845703,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.019848734140396118,
            "min": -0.02832069806754589,
            "max": 0.30685386061668396,
            "count": 100
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 1.8260835409164429,
            "min": -2.6621456146240234,
            "max": 24.855161666870117,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.07367817766013711,
            "min": 0.059008057058478405,
            "max": 0.0816483677143429,
            "count": 100
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.29471271064054844,
            "min": 0.12658978240890964,
            "max": 0.37343313286934665,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.015939953426520027,
            "min": 0.0001965325012812244,
            "max": 0.020706950046587735,
            "count": 100
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.06375981370608011,
            "min": 0.0006076172915830587,
            "max": 0.10353475023293868,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 1.5350494883499983e-06,
            "min": 1.5350494883499983e-06,
            "max": 0.0002981568006144,
            "count": 100
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 6.140197953399993e-06,
            "min": 6.140197953399993e-06,
            "max": 0.0013131327622890997,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10051165000000001,
            "min": 0.10051165000000001,
            "max": 0.1993856,
            "count": 100
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 0.40204660000000003,
            "min": 0.385152,
            "max": 0.9377109000000001,
            "count": 100
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 6.111383499999997e-05,
            "min": 6.111383499999997e-05,
            "max": 0.00993862144,
            "count": 100
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.00024445533999999986,
            "min": 0.00024445533999999986,
            "max": 0.04377731891000001,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.011335862800478935,
            "min": 0.011335862800478935,
            "max": 0.5757608413696289,
            "count": 100
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.04534345120191574,
            "min": 0.04534345120191574,
            "max": 1.1515216827392578,
            "count": 100
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 100
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 399.3333333333333,
            "min": 236.0487804878049,
            "max": 999.0,
            "count": 97
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 11980.0,
            "min": 471.0,
            "max": 15984.0,
            "count": 97
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.4706689322303081,
            "min": -1.0000000521540642,
            "max": 1.7639512005375653,
            "count": 97
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 42.649399034678936,
            "min": -16.000000834465027,
            "max": 75.09999920427799,
            "count": 97
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.4706689322303081,
            "min": -1.0000000521540642,
            "max": 1.7639512005375653,
            "count": 97
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 42.649399034678936,
            "min": -16.000000834465027,
            "max": 75.09999920427799,
            "count": 97
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.04590241284037394,
            "min": 0.031273852029343976,
            "max": 6.192862309515476,
            "count": 97
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 1.3311699723708443,
            "min": 0.879071524093888,
            "max": 99.08579695224762,
            "count": 97
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1676471432",
        "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]",
        "command_line_arguments": "/home/jamesup/Documents/source/deep-rl-class/env/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./envs/Pyramids/Pyramids --run-id=PyramidsRND --no-graphics --resume",
        "mlagents_version": "0.29.0.dev0",
        "mlagents_envs_version": "0.29.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.13.1+cu116",
        "numpy_version": "1.23.3",
        "end_time_seconds": "1676473864"
    },
    "total": 2432.8907376410207,
    "count": 1,
    "self": 0.42925374303013086,
    "children": {
        "run_training.setup": {
            "total": 0.061697887955233455,
            "count": 1,
            "self": 0.061697887955233455
        },
        "TrainerController.start_learning": {
            "total": 2432.3997860100353,
            "count": 1,
            "self": 1.2320784685434774,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.91117098799441,
                    "count": 1,
                    "self": 2.91117098799441
                },
                "TrainerController.advance": {
                    "total": 2428.1994277925114,
                    "count": 64183,
                    "self": 1.0450610908446833,
                    "children": {
                        "env_step": {
                            "total": 1466.2239785917918,
                            "count": 64183,
                            "self": 1177.333488754637,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 288.13038323266665,
                                    "count": 64183,
                                    "self": 3.2908897219458595,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 284.8394935107208,
                                            "count": 62565,
                                            "self": 203.39305339194834,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 81.44644011877244,
                                                    "count": 62565,
                                                    "self": 81.44644011877244
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.7601066044881009,
                                    "count": 64183,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2430.045870592585,
                                            "count": 64183,
                                            "is_parallel": true,
                                            "self": 1349.298764889536,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0014870360027998686,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00046307407319545746,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0010239619296044111,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0010239619296044111
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03899501799605787,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0004992769681848586,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00037968100514262915,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00037968100514262915
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03674200898967683,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03674200898967683
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0013740510330535471,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003387421602383256,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0010353088728152215,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0010353088728152215
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1080.7471057030489,
                                                    "count": 64182,
                                                    "is_parallel": true,
                                                    "self": 35.62455430190312,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 24.778342747536954,
                                                            "count": 64182,
                                                            "is_parallel": true,
                                                            "self": 24.778342747536954
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 930.2868377896957,
                                                            "count": 64182,
                                                            "is_parallel": true,
                                                            "self": 930.2868377896957
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 90.05737086391309,
                                                            "count": 64182,
                                                            "is_parallel": true,
                                                            "self": 19.627064865257125,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 70.43030599865597,
                                                                    "count": 513456,
                                                                    "is_parallel": true,
                                                                    "self": 70.43030599865597
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 960.9303881098749,
                            "count": 64183,
                            "self": 2.3728120194282383,
                            "children": {
                                "process_trajectory": {
                                    "total": 185.53242368251085,
                                    "count": 64183,
                                    "self": 185.26967672648607,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.2627469560247846,
                                            "count": 2,
                                            "self": 0.2627469560247846
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 773.0251524079358,
                                    "count": 443,
                                    "self": 147.64772564132,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 625.3774267666158,
                                            "count": 22788,
                                            "self": 625.3774267666158
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 7.799826562404633e-07,
                    "count": 1,
                    "self": 7.799826562404633e-07
                },
                "TrainerController._save_models": {
                    "total": 0.057107981003355235,
                    "count": 1,
                    "self": 0.0014307640376500785,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.055677216965705156,
                            "count": 1,
                            "self": 0.055677216965705156
                        }
                    }
                }
            }
        }
    }
}