File size: 18,750 Bytes
45eec8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.5354316830635071,
            "min": 0.5354316830635071,
            "max": 1.4879765510559082,
            "count": 24
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 16071.517578125,
            "min": 16071.517578125,
            "max": 45139.2578125,
            "count": 24
        },
        "Pyramids.Step.mean": {
            "value": 719967.0,
            "min": 29965.0,
            "max": 719967.0,
            "count": 24
        },
        "Pyramids.Step.sum": {
            "value": 719967.0,
            "min": 29965.0,
            "max": 719967.0,
            "count": 24
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.46009257435798645,
            "min": -0.1223444864153862,
            "max": 0.46009257435798645,
            "count": 24
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 124.2249984741211,
            "min": -29.11798858642578,
            "max": 124.2249984741211,
            "count": 24
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.021058104932308197,
            "min": -0.012443069368600845,
            "max": 0.4489564597606659,
            "count": 24
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 5.685688495635986,
            "min": -3.2351980209350586,
            "max": 106.85163879394531,
            "count": 24
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.07148070406540119,
            "min": 0.06517403315713939,
            "max": 0.07585844562453523,
            "count": 24
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 1.0007298569156167,
            "min": 0.5154042914586715,
            "max": 1.0817758405270674,
            "count": 24
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01528131502328463,
            "min": 0.0007489936297205103,
            "max": 0.01528131502328463,
            "count": 24
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.21393841032598482,
            "min": 0.008987923556646123,
            "max": 0.21393841032598482,
            "count": 24
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 0.00022950117349961665,
            "min": 0.00022950117349961665,
            "max": 0.0002984126148148429,
            "count": 24
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.003213016428994633,
            "min": 0.0020888883037039003,
            "max": 0.0038853469048843988,
            "count": 24
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.17650038333333332,
            "min": 0.17650038333333332,
            "max": 0.19947087142857142,
            "count": 24
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 2.4710053666666663,
            "min": 1.3962961,
            "max": 2.7674782000000007,
            "count": 24
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.007652388295,
            "min": 0.007652388295,
            "max": 0.009947140055714286,
            "count": 24
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.10713343613,
            "min": 0.06962998039,
            "max": 0.12952204843999998,
            "count": 24
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.010132000781595707,
            "min": 0.010132000781595707,
            "max": 0.31084755063056946,
            "count": 24
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.14184801280498505,
            "min": 0.14184801280498505,
            "max": 2.1759328842163086,
            "count": 24
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 421.72,
            "min": 421.72,
            "max": 999.0,
            "count": 24
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 31629.0,
            "min": 16636.0,
            "max": 32708.0,
            "count": 24
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.5249386477470397,
            "min": -0.999987552408129,
            "max": 1.5249386477470397,
            "count": 24
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 114.37039858102798,
            "min": -31.999601677060127,
            "max": 114.37039858102798,
            "count": 24
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.5249386477470397,
            "min": -0.999987552408129,
            "max": 1.5249386477470397,
            "count": 24
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 114.37039858102798,
            "min": -31.999601677060127,
            "max": 114.37039858102798,
            "count": 24
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.04477264853582407,
            "min": 0.04477264853582407,
            "max": 5.834203359177884,
            "count": 24
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 3.3579486401868053,
            "min": 3.200345461082179,
            "max": 99.18145710602403,
            "count": 24
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 24
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 24
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1690474902",
        "python_version": "3.8.16 (default, Jun 12 2023, 18:09:05) \n[GCC 11.2.0]",
        "command_line_arguments": "/global/home/users/lizhen/scratch/miniconda3/envs/huggingface/bin/mlagents-learn ../ml-agents/config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.8.1+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1690476910"
    },
    "total": 2007.4402644950023,
    "count": 1,
    "self": 0.019585551985073835,
    "children": {
        "run_training.setup": {
            "total": 0.0628495890123304,
            "count": 1,
            "self": 0.0628495890123304
        },
        "TrainerController.start_learning": {
            "total": 2007.357829354005,
            "count": 1,
            "self": 0.9330457296455279,
            "children": {
                "TrainerController._reset_env": {
                    "total": 17.90129806101322,
                    "count": 1,
                    "self": 17.90129806101322
                },
                "TrainerController.advance": {
                    "total": 1986.292932489363,
                    "count": 47287,
                    "self": 0.8639501665020362,
                    "children": {
                        "env_step": {
                            "total": 1415.4523650843475,
                            "count": 47287,
                            "self": 1341.8168204505346,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 73.07705894342507,
                                    "count": 47287,
                                    "self": 3.1242650105268694,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 69.9527939328982,
                                            "count": 46550,
                                            "self": 69.9527939328982
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.5584856903878972,
                                    "count": 47286,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2001.7802101577108,
                                            "count": 47286,
                                            "is_parallel": true,
                                            "self": 753.0852439897717,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.013564358989242464,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.002854533988283947,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.010709825000958517,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.010709825000958517
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.06518930001766421,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0010782770114019513,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0008892060141079128,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0008892060141079128
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05995043198345229,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05995043198345229
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0032713850087020546,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007223400461953133,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0025490449625067413,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0025490449625067413
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1248.6949661679391,
                                                    "count": 47285,
                                                    "is_parallel": true,
                                                    "self": 44.633973296004115,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 33.083338855649345,
                                                            "count": 47285,
                                                            "is_parallel": true,
                                                            "self": 33.083338855649345
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1047.8523495950503,
                                                            "count": 47285,
                                                            "is_parallel": true,
                                                            "self": 1047.8523495950503
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 123.12530442123534,
                                                            "count": 47285,
                                                            "is_parallel": true,
                                                            "self": 26.948400199238677,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 96.17690422199667,
                                                                    "count": 378280,
                                                                    "is_parallel": true,
                                                                    "self": 96.17690422199667
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 569.9766172385134,
                            "count": 47286,
                            "self": 1.657787573582027,
                            "children": {
                                "process_trajectory": {
                                    "total": 71.81227012249292,
                                    "count": 47286,
                                    "self": 71.64519006150658,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.16708006098633632,
                                            "count": 1,
                                            "self": 0.16708006098633632
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 496.5065595424385,
                                    "count": 330,
                                    "self": 251.4980613142252,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 245.00849822821328,
                                            "count": 16938,
                                            "self": 245.00849822821328
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 3.762979758903384e-06,
                    "count": 1,
                    "self": 3.762979758903384e-06
                },
                "TrainerController._save_models": {
                    "total": 2.230549311003415,
                    "count": 1,
                    "self": 0.017922976025147364,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 2.2126263349782676,
                            "count": 1,
                            "self": 2.2126263349782676
                        }
                    }
                }
            }
        }
    }
}