File size: 18,764 Bytes
0bcb1be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3062904477119446,
            "min": 0.3062904477119446,
            "max": 1.483149528503418,
            "count": 33
        },
        "Pyramids.Policy.Entropy.sum": {
            "value": 9110.302734375,
            "min": 9110.302734375,
            "max": 44992.82421875,
            "count": 33
        },
        "Pyramids.Step.mean": {
            "value": 989957.0,
            "min": 29952.0,
            "max": 989957.0,
            "count": 33
        },
        "Pyramids.Step.sum": {
            "value": 989957.0,
            "min": 29952.0,
            "max": 989957.0,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.5400733947753906,
            "min": -0.07550475746393204,
            "max": 0.5400733947753906,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
            "value": 147.98011779785156,
            "min": -18.272151947021484,
            "max": 147.98011779785156,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.mean": {
            "value": -0.003848339430987835,
            "min": -0.019627228379249573,
            "max": 0.3964598476886749,
            "count": 33
        },
        "Pyramids.Policy.RndValueEstimate.sum": {
            "value": -1.0544450283050537,
            "min": -5.358233451843262,
            "max": 95.15036010742188,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.mean": {
            "value": 0.06650966816925487,
            "min": 0.06394306989105422,
            "max": 0.07305806230388605,
            "count": 33
        },
        "Pyramids.Losses.PolicyLoss.sum": {
            "value": 0.9311353543695682,
            "min": 0.49908176488336714,
            "max": 1.0958709345582907,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.mean": {
            "value": 0.01450072873696973,
            "min": 0.0018719753073118072,
            "max": 0.01450072873696973,
            "count": 33
        },
        "Pyramids.Losses.ValueLoss.sum": {
            "value": 0.20301020231757622,
            "min": 0.024335678995053494,
            "max": 0.20301020231757622,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.mean": {
            "value": 7.435876092835712e-06,
            "min": 7.435876092835712e-06,
            "max": 0.00029515063018788575,
            "count": 33
        },
        "Pyramids.Policy.LearningRate.sum": {
            "value": 0.00010410226529969996,
            "min": 0.00010410226529969996,
            "max": 0.0036328669890444,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.mean": {
            "value": 0.10247859285714286,
            "min": 0.10247859285714286,
            "max": 0.19838354285714285,
            "count": 33
        },
        "Pyramids.Policy.Epsilon.sum": {
            "value": 1.4347003,
            "min": 1.3886848,
            "max": 2.6109556,
            "count": 33
        },
        "Pyramids.Policy.Beta.mean": {
            "value": 0.0002576114264285715,
            "min": 0.0002576114264285715,
            "max": 0.00983851593142857,
            "count": 33
        },
        "Pyramids.Policy.Beta.sum": {
            "value": 0.0036065599700000005,
            "min": 0.0036065599700000005,
            "max": 0.12111446444,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.mean": {
            "value": 0.014619313180446625,
            "min": 0.014619313180446625,
            "max": 0.6013157963752747,
            "count": 33
        },
        "Pyramids.Losses.RNDLoss.sum": {
            "value": 0.20467038452625275,
            "min": 0.20467038452625275,
            "max": 4.209210395812988,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.mean": {
            "value": 345.65432098765433,
            "min": 345.65432098765433,
            "max": 999.0,
            "count": 33
        },
        "Pyramids.Environment.EpisodeLength.sum": {
            "value": 27998.0,
            "min": 15984.0,
            "max": 33745.0,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.mean": {
            "value": 1.6296518288644743,
            "min": -1.0000000521540642,
            "max": 1.6296518288644743,
            "count": 33
        },
        "Pyramids.Environment.CumulativeReward.sum": {
            "value": 132.00179813802242,
            "min": -28.369001679122448,
            "max": 132.00179813802242,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.mean": {
            "value": 1.6296518288644743,
            "min": -1.0000000521540642,
            "max": 1.6296518288644743,
            "count": 33
        },
        "Pyramids.Policy.ExtrinsicReward.sum": {
            "value": 132.00179813802242,
            "min": -28.369001679122448,
            "max": 132.00179813802242,
            "count": 33
        },
        "Pyramids.Policy.RndReward.mean": {
            "value": 0.05194051695551384,
            "min": 0.05194051695551384,
            "max": 12.863659173250198,
            "count": 33
        },
        "Pyramids.Policy.RndReward.sum": {
            "value": 4.207181873396621,
            "min": 4.207181873396621,
            "max": 205.81854677200317,
            "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": "1684567819",
        "python_version": "3.8.16 (default, Mar  2 2023, 03:21:46) \n[GCC 11.2.0]",
        "command_line_arguments": "/home/falguni/anaconda3/envs/huggingface_rl/bin/mlagents-learn ./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": "1684569519"
    },
    "total": 1699.718100375998,
    "count": 1,
    "self": 0.3733704749975004,
    "children": {
        "run_training.setup": {
            "total": 0.014375915001437534,
            "count": 1,
            "self": 0.014375915001437534
        },
        "TrainerController.start_learning": {
            "total": 1699.330353985999,
            "count": 1,
            "self": 1.390591524388583,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.222480217998964,
                    "count": 1,
                    "self": 3.222480217998964
                },
                "TrainerController.advance": {
                    "total": 1694.6153367436127,
                    "count": 63774,
                    "self": 1.4377805909862218,
                    "children": {
                        "env_step": {
                            "total": 1124.6649653008608,
                            "count": 63774,
                            "self": 1012.4232031156898,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 111.30734430408484,
                                    "count": 63774,
                                    "self": 4.44337560128406,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 106.86396870280078,
                                            "count": 62547,
                                            "self": 106.86396870280078
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9344178810861195,
                                    "count": 63774,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1696.9714827026946,
                                            "count": 63774,
                                            "is_parallel": true,
                                            "self": 785.5506452693044,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0015219889974105172,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00043795098827104084,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0010840380091394763,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0010840380091394763
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.037847105999389896,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003049079969059676,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00045532100193668157,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00045532100193668157
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03617012600079761,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03617012600079761
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0009167509997496381,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00020246100393706,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0007142899958125781,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0007142899958125781
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 911.4208374333903,
                                                    "count": 63773,
                                                    "is_parallel": true,
                                                    "self": 27.920685563411098,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 17.162768520389363,
                                                            "count": 63773,
                                                            "is_parallel": true,
                                                            "self": 17.162768520389363
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 788.635541220272,
                                                            "count": 63773,
                                                            "is_parallel": true,
                                                            "self": 788.635541220272
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 77.70184212931781,
                                                            "count": 63773,
                                                            "is_parallel": true,
                                                            "self": 15.308654534077505,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 62.393187595240306,
                                                                    "count": 510184,
                                                                    "is_parallel": true,
                                                                    "self": 62.393187595240306
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 568.5125908517657,
                            "count": 63774,
                            "self": 2.4510593224331387,
                            "children": {
                                "process_trajectory": {
                                    "total": 99.36645908633727,
                                    "count": 63774,
                                    "self": 99.13517773434069,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.23128135199658573,
                                            "count": 2,
                                            "self": 0.23128135199658573
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 466.6950724429953,
                                    "count": 455,
                                    "self": 292.2432705252504,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 174.4518019177449,
                                            "count": 22803,
                                            "self": 174.4518019177449
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.0139992809854448e-06,
                    "count": 1,
                    "self": 1.0139992809854448e-06
                },
                "TrainerController._save_models": {
                    "total": 0.10194448599941097,
                    "count": 1,
                    "self": 0.0017707339975459035,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10017375200186507,
                            "count": 1,
                            "self": 0.10017375200186507
                        }
                    }
                }
            }
        }
    }
}