File size: 17,981 Bytes
507a561
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "PushBlock.Policy.Entropy.mean": {
            "value": 0.5864903926849365,
            "min": 0.5801396369934082,
            "max": 1.8831936120986938,
            "count": 33
        },
        "PushBlock.Policy.Entropy.sum": {
            "value": 35283.26171875,
            "min": 34771.25,
            "max": 114257.125,
            "count": 33
        },
        "PushBlock.Environment.EpisodeLength.mean": {
            "value": 36.3203214695752,
            "min": 30.37363834422658,
            "max": 831.9090909090909,
            "count": 33
        },
        "PushBlock.Environment.EpisodeLength.sum": {
            "value": 63270.0,
            "min": 36604.0,
            "max": 67947.0,
            "count": 33
        },
        "PushBlock.Step.mean": {
            "value": 1979987.0,
            "min": 59944.0,
            "max": 1979987.0,
            "count": 33
        },
        "PushBlock.Step.sum": {
            "value": 1979987.0,
            "min": 59944.0,
            "max": 1979987.0,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.mean": {
            "value": 3.8008649349212646,
            "min": 0.05942888930439949,
            "max": 3.9855449199676514,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.sum": {
            "value": 7784.17138671875,
            "min": 56.695159912109375,
            "max": 8676.53125,
            "count": 33
        },
        "PushBlock.Environment.CumulativeReward.mean": {
            "value": 4.902757207516929,
            "min": 0.5308590738780119,
            "max": 4.942098505536983,
            "count": 33
        },
        "PushBlock.Environment.CumulativeReward.sum": {
            "value": 8535.700298286974,
            "min": 23.357799250632524,
            "max": 9530.296687968075,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicReward.mean": {
            "value": 4.902757207516929,
            "min": 0.5308590738780119,
            "max": 4.942098505536983,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicReward.sum": {
            "value": 8535.700298286974,
            "min": 23.357799250632524,
            "max": 9530.296687968075,
            "count": 33
        },
        "PushBlock.Losses.PolicyLoss.mean": {
            "value": 0.01667110461442332,
            "min": 0.014226089290546615,
            "max": 0.02022807457987433,
            "count": 33
        },
        "PushBlock.Losses.PolicyLoss.sum": {
            "value": 0.46679092920385296,
            "min": 0.4125565894258518,
            "max": 0.5866141628163556,
            "count": 33
        },
        "PushBlock.Losses.ValueLoss.mean": {
            "value": 0.24411152844272907,
            "min": 0.044421624923685434,
            "max": 0.42068228356185416,
            "count": 33
        },
        "PushBlock.Losses.ValueLoss.sum": {
            "value": 6.835122796396414,
            "min": 1.0661189981684505,
            "max": 11.846272406478722,
            "count": 33
        },
        "PushBlock.Policy.LearningRate.mean": {
            "value": 7.494681430376785e-06,
            "min": 7.494681430376785e-06,
            "max": 0.00029529772031742705,
            "count": 33
        },
        "PushBlock.Policy.LearningRate.sum": {
            "value": 0.00020985108005054998,
            "min": 0.00020985108005054998,
            "max": 0.008049111966962747,
            "count": 33
        },
        "PushBlock.Policy.Epsilon.mean": {
            "value": 0.10249819464285714,
            "min": 0.10249819464285714,
            "max": 0.19843257291666663,
            "count": 33
        },
        "PushBlock.Policy.Epsilon.sum": {
            "value": 2.86994945,
            "min": 2.86994945,
            "max": 5.58303725,
            "count": 33
        },
        "PushBlock.Policy.Beta.mean": {
            "value": 0.0002595696448214286,
            "min": 0.0002595696448214286,
            "max": 0.009843414034375001,
            "count": 33
        },
        "PushBlock.Policy.Beta.sum": {
            "value": 0.007267950055000001,
            "min": 0.007267950055000001,
            "max": 0.268325421275,
            "count": 33
        },
        "PushBlock.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        },
        "PushBlock.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 33
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1659869658",
        "python_version": "3.7.13 (default, Apr 24 2022, 01:04:09) \n[GCC 7.5.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PushBlock.yaml --env=./trained-envs-executables/linux/PushBlock/PushBlock --run-id=PushBlock Training --no-graphics",
        "mlagents_version": "0.29.0.dev0",
        "mlagents_envs_version": "0.29.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.8.1+cu102",
        "numpy_version": "1.21.6",
        "end_time_seconds": "1659871453"
    },
    "total": 1794.9030301530001,
    "count": 1,
    "self": 0.3835086770000089,
    "children": {
        "run_training.setup": {
            "total": 0.05140996399995856,
            "count": 1,
            "self": 0.05140996399995856
        },
        "TrainerController.start_learning": {
            "total": 1794.4681115120002,
            "count": 1,
            "self": 2.030739208990326,
            "children": {
                "TrainerController._reset_env": {
                    "total": 9.773006445000078,
                    "count": 1,
                    "self": 9.773006445000078
                },
                "TrainerController.advance": {
                    "total": 1782.60274390701,
                    "count": 89722,
                    "self": 2.110499358087054,
                    "children": {
                        "env_step": {
                            "total": 1199.5447667459803,
                            "count": 89722,
                            "self": 1103.1083807310104,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 95.46156858598783,
                                    "count": 89722,
                                    "self": 5.160344101981423,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 90.30122448400641,
                                            "count": 62519,
                                            "self": 30.280955941039906,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 60.020268542966505,
                                                    "count": 62519,
                                                    "self": 60.020268542966505
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.9748174289820781,
                                    "count": 89722,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1790.3039862030225,
                                            "count": 89722,
                                            "is_parallel": true,
                                            "self": 832.3902925840357,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.010899404000042523,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00452843700008998,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.006370966999952543,
                                                                    "count": 4,
                                                                    "is_parallel": true,
                                                                    "self": 0.006370966999952543
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.036228042999937315,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007522309999785648,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0007164979999743082,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007164979999743082
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03239290599992728,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03239290599992728
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.002366408000057163,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00041603300007864163,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0019503749999785214,
                                                                            "count": 4,
                                                                            "is_parallel": true,
                                                                            "self": 0.0019503749999785214
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 957.9136936189868,
                                                    "count": 89721,
                                                    "is_parallel": true,
                                                    "self": 44.8937281159491,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 41.76090327304382,
                                                            "count": 89721,
                                                            "is_parallel": true,
                                                            "self": 41.76090327304382
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 735.1320485239642,
                                                            "count": 89721,
                                                            "is_parallel": true,
                                                            "self": 735.1320485239642
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 136.12701370602974,
                                                            "count": 89721,
                                                            "is_parallel": true,
                                                            "self": 28.151503282091085,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 107.97551042393866,
                                                                    "count": 358884,
                                                                    "is_parallel": true,
                                                                    "self": 107.97551042393866
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 580.9474778029428,
                            "count": 89722,
                            "self": 3.7922236129238627,
                            "children": {
                                "process_trajectory": {
                                    "total": 227.59626702102332,
                                    "count": 89722,
                                    "self": 227.33247702502354,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.2637899959997867,
                                            "count": 4,
                                            "self": 0.2637899959997867
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 349.5589871689956,
                                    "count": 957,
                                    "self": 295.4803823849977,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 54.07860478399789,
                                            "count": 5757,
                                            "self": 54.07860478399789
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.2810000953322742e-06,
                    "count": 1,
                    "self": 1.2810000953322742e-06
                },
                "TrainerController._save_models": {
                    "total": 0.06162066999968374,
                    "count": 1,
                    "self": 0.0007391969998025161,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.060881472999881225,
                            "count": 1,
                            "self": 0.060881472999881225
                        }
                    }
                }
            }
        }
    }
}