File size: 18,909 Bytes
bbddfe4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3282677233219147,
            "min": 0.3282677233219147,
            "max": 1.5298337936401367,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 9884.7978515625,
            "min": 9884.7978515625,
            "max": 46409.0390625,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989873.0,
            "min": 29952.0,
            "max": 989873.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989873.0,
            "min": 29952.0,
            "max": 989873.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.49077802896499634,
            "min": -0.1645049750804901,
            "max": 0.5313803553581238,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 135.9455108642578,
            "min": -38.98767852783203,
            "max": 145.06683349609375,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": 0.0041662417352199554,
            "min": -0.01399082038551569,
            "max": 0.23556913435459137,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": 1.1540489196777344,
            "min": -3.8055031299591064,
            "max": 56.536590576171875,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06515796582245677,
            "min": 0.06515796582245677,
            "max": 0.07401015033724247,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9122115215143947,
            "min": 0.48571376743707706,
            "max": 1.070701109644741,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01587761918056583,
            "min": 0.00010372456172027294,
            "max": 0.016178980768710882,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.2222866685279216,
            "min": 0.0013484193023635483,
            "max": 0.22650573076195235,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.744511704242857e-06,
            "min": 7.744511704242857e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.0001084231638594,
            "min": 0.0001084231638594,
            "max": 0.0033779230740256993,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10258147142857144,
            "min": 0.10258147142857144,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4361406,
            "min": 1.3691136000000002,
            "max": 2.4259743,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.00026788899571428574,
            "min": 0.00026788899571428574,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0037504459400000004,
            "min": 0.0037504459400000004,
            "max": 0.11261483257,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.011198773048818111,
            "min": 0.011198773048818111,
            "max": 0.3309316635131836,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.1567828208208084,
            "min": 0.1567828208208084,
            "max": 2.316521644592285,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 372.6470588235294,
            "min": 352.7307692307692,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 31675.0,
            "min": 15984.0,
            "max": 33237.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.4861293850576176,
            "min": -1.0000000521540642,
            "max": 1.5960885910670968,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 126.3209977298975,
            "min": -32.000001668930054,
            "max": 126.3209977298975,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.4861293850576176,
            "min": -1.0000000521540642,
            "max": 1.5960885910670968,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 126.3209977298975,
            "min": -32.000001668930054,
            "max": 126.3209977298975,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.044290796753279314,
            "min": 0.042360757157807766,
            "max": 6.730462064966559,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 3.764717724028742,
            "min": 3.3464998154668137,
            "max": 107.68739303946495,
            "count": 33
        },
        "Pyramids.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        },
        "Pyramids.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1795745016",
        "python_version": "3.10.12 (main, Jul 26 2023, 13:20:36) [Clang 16.0.3 ]",
        "command_line_arguments": "/blue/joel.harley/zhihui.tian/DRL/mlagents/.venv/bin/mlagents-learn /blue/joel.harley/zhihui.tian/DRL/mlagents/configs/PyramidsRND.yaml --env=/blue/joel.harley/zhihui.tian/DRL/mlagents/envs-bin/Pyramids/Pyramids --run-id=Pyramids1 --results-dir=/blue/joel.harley/zhihui.tian/DRL/mlagents/results --no-graphics --base-port=16645 --num-envs=1",
        "mlagents_version": "1.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.8.0+cpu",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1795747301"
    },
    "total": 2285.9207415750716,
    "count": 1,
    "self": 0.8414836032316089,
    "children": {
        "run_training.setup": {
            "total": 0.1627390398643911,
            "count": 1,
            "self": 0.1627390398643911
        },
        "TrainerController.start_learning": {
            "total": 2284.9165189319756,
            "count": 1,
            "self": 1.4779819431714714,
            "children": {
                "TrainerController._reset_env": {
                    "total": 9.011846881126985,
                    "count": 1,
                    "self": 9.011846881126985
                },
                "TrainerController.advance": {
                    "total": 2274.3197840447538,
                    "count": 63646,
                    "self": 1.1769647866021842,
                    "children": {
                        "env_step": {
                            "total": 1515.3469352575485,
                            "count": 63646,
                            "self": 1254.7372937258333,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 259.68745264341123,
                                    "count": 63646,
                                    "self": 3.527671008836478,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 256.15978163457476,
                                            "count": 62573,
                                            "self": 256.15978163457476
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9221888883039355,
                                    "count": 63646,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2282.9538835485,
                                            "count": 63646,
                                            "is_parallel": true,
                                            "self": 1119.3964936006814,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0020049428567290306,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005988057237118483,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0014061371330171824,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0014061371330171824
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03613513405434787,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00040127034299075603,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00040882290340960026,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00040882290340960026
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.034048507921397686,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.034048507921397686
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0012765328865498304,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00040832324884831905,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0008682096377015114,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0008682096377015114
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1163.5573899478186,
                                                    "count": 63645,
                                                    "is_parallel": true,
                                                    "self": 23.02039162791334,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 16.36420416366309,
                                                            "count": 63645,
                                                            "is_parallel": true,
                                                            "self": 16.36420416366309
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1064.4707250907086,
                                                            "count": 63645,
                                                            "is_parallel": true,
                                                            "self": 1064.4707250907086
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 59.70206906553358,
                                                            "count": 63645,
                                                            "is_parallel": true,
                                                            "self": 12.655119627946988,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 47.04694943758659,
                                                                    "count": 509160,
                                                                    "is_parallel": true,
                                                                    "self": 47.04694943758659
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 757.7958840006031,
                            "count": 63646,
                            "self": 2.5666338314767927,
                            "children": {
                                "process_trajectory": {
                                    "total": 161.12619163328782,
                                    "count": 63646,
                                    "self": 160.3022814344149,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.823910198872909,
                                            "count": 2,
                                            "self": 0.823910198872909
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 594.1030585358385,
                                    "count": 443,
                                    "self": 302.36383017967455,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 291.73922835616395,
                                            "count": 22821,
                                            "self": 291.73922835616395
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.420327842235565e-07,
                    "count": 1,
                    "self": 9.420327842235565e-07
                },
                "TrainerController._save_models": {
                    "total": 0.10690512089058757,
                    "count": 1,
                    "self": 0.023249799851328135,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08365532103925943,
                            "count": 1,
                            "self": 0.08365532103925943
                        }
                    }
                }
            }
        }
    }
}