File size: 18,092 Bytes
c759287
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.24421432614326477,
            "min": 0.24421432614326477,
            "max": 1.8863502740859985,
            "count": 33
        },
        "PushBlock.Policy.Entropy.sum": {
            "value": 14652.859375,
            "min": 14652.859375,
            "max": 114448.640625,
            "count": 33
        },
        "PushBlock.Environment.EpisodeLength.mean": {
            "value": 20.067553377668883,
            "min": 20.067553377668883,
            "max": 969.0,
            "count": 33
        },
        "PushBlock.Environment.EpisodeLength.sum": {
            "value": 57333.0,
            "min": 31977.0,
            "max": 74698.0,
            "count": 33
        },
        "PushBlock.Step.mean": {
            "value": 1979988.0,
            "min": 59978.0,
            "max": 1979988.0,
            "count": 33
        },
        "PushBlock.Step.sum": {
            "value": 1979988.0,
            "min": 59978.0,
            "max": 1979988.0,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.mean": {
            "value": 4.43574857711792,
            "min": -0.08287250995635986,
            "max": 4.43574857711792,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.sum": {
            "value": 13045.537109375,
            "min": -78.7288818359375,
            "max": 13045.537109375,
            "count": 33
        },
        "PushBlock.Environment.CumulativeReward.mean": {
            "value": 4.974078939050843,
            "min": -0.8184606399048459,
            "max": 4.974078939050843,
            "count": 33
        },
        "PushBlock.Environment.CumulativeReward.sum": {
            "value": 14210.943528868258,
            "min": -27.009201116859913,
            "max": 14210.943528868258,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicReward.mean": {
            "value": 4.974078939050843,
            "min": -0.8184606399048459,
            "max": 4.974078939050843,
            "count": 33
        },
        "PushBlock.Policy.ExtrinsicReward.sum": {
            "value": 14210.943528868258,
            "min": -27.009201116859913,
            "max": 14210.943528868258,
            "count": 33
        },
        "PushBlock.Losses.PolicyLoss.mean": {
            "value": 0.06914282932538998,
            "min": 0.06581221147167399,
            "max": 0.0724467805867726,
            "count": 33
        },
        "PushBlock.Losses.PolicyLoss.sum": {
            "value": 2.0051420504363096,
            "min": 1.3764888311486796,
            "max": 2.062408553950566,
            "count": 33
        },
        "PushBlock.Losses.ValueLoss.mean": {
            "value": 0.08825529210306918,
            "min": 0.004315959238690934,
            "max": 0.34610461603317944,
            "count": 33
        },
        "PushBlock.Losses.ValueLoss.sum": {
            "value": 2.559403470989006,
            "min": 0.08200322553512773,
            "max": 9.765468163835797,
            "count": 33
        },
        "PushBlock.Policy.LearningRate.mean": {
            "value": 7.647381933663791e-06,
            "min": 7.647381933663791e-06,
            "max": 0.0002954501225692579,
            "count": 33
        },
        "PushBlock.Policy.LearningRate.sum": {
            "value": 0.00022177407607624995,
            "min": 0.00022177407607624995,
            "max": 0.0080454926181692,
            "count": 33
        },
        "PushBlock.Policy.Epsilon.mean": {
            "value": 0.10254909482758622,
            "min": 0.10254909482758622,
            "max": 0.19848337368421054,
            "count": 33
        },
        "PushBlock.Policy.Epsilon.sum": {
            "value": 2.9739237500000004,
            "min": 2.9739237500000004,
            "max": 5.5818308000000005,
            "count": 33
        },
        "PushBlock.Policy.Beta.mean": {
            "value": 0.0002646545732758621,
            "min": 0.0002646545732758621,
            "max": 0.009848489031052631,
            "count": 33
        },
        "PushBlock.Policy.Beta.sum": {
            "value": 0.007674982625000001,
            "min": 0.007674982625000001,
            "max": 0.26820489692000005,
            "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": "1657522736",
        "python_version": "3.9.5 (default, Nov 23 2021, 15:27:38) \n[GCC 9.3.0]",
        "command_line_arguments": "/local_disk0/.ephemeral_nfs/envs/pythonEnv-ee56e90a-0315-4a40-b96e-22edf928bfe1/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.20.3",
        "end_time_seconds": "1657524340"
    },
    "total": 1603.738202311,
    "count": 1,
    "self": 0.22505834000003233,
    "children": {
        "run_training.setup": {
            "total": 0.08131532400011565,
            "count": 1,
            "self": 0.08131532400011565
        },
        "TrainerController.start_learning": {
            "total": 1603.4318286469997,
            "count": 1,
            "self": 1.9964657010145856,
            "children": {
                "TrainerController._reset_env": {
                    "total": 12.816405771000063,
                    "count": 1,
                    "self": 12.816405771000063
                },
                "TrainerController.advance": {
                    "total": 1588.5727853319854,
                    "count": 104777,
                    "self": 1.8357637480544327,
                    "children": {
                        "env_step": {
                            "total": 863.3501310339134,
                            "count": 104777,
                            "self": 767.3870687080384,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 94.82335125994405,
                                    "count": 104777,
                                    "self": 3.8164133998823218,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 91.00693786006173,
                                            "count": 62513,
                                            "self": 28.058251052059404,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 62.94868680800232,
                                                    "count": 62513,
                                                    "self": 62.94868680800232
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 1.1397110659308964,
                                    "count": 104777,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1600.3352156909912,
                                            "count": 104777,
                                            "is_parallel": true,
                                            "self": 959.7376939719265,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0022880589999658696,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0009811929999159474,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0013068660000499221,
                                                                    "count": 4,
                                                                    "is_parallel": true,
                                                                    "self": 0.0013068660000499221
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.021547336999901745,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005465269998694566,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004563540001072397,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004563540001072397
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.01921374099993045,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.01921374099993045
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0013307149999945977,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023626999995940423,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0010944450000351935,
                                                                            "count": 4,
                                                                            "is_parallel": true,
                                                                            "self": 0.0010944450000351935
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 640.5975217190646,
                                                    "count": 104776,
                                                    "is_parallel": true,
                                                    "self": 35.60832911709758,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 25.686976524978945,
                                                            "count": 104776,
                                                            "is_parallel": true,
                                                            "self": 25.686976524978945
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 492.7609767309564,
                                                            "count": 104776,
                                                            "is_parallel": true,
                                                            "self": 492.7609767309564
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 86.54123934603172,
                                                            "count": 104776,
                                                            "is_parallel": true,
                                                            "self": 17.24731187121074,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 69.29392747482098,
                                                                    "count": 419104,
                                                                    "is_parallel": true,
                                                                    "self": 69.29392747482098
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 723.3868905500176,
                            "count": 104777,
                            "self": 2.906158070032234,
                            "children": {
                                "process_trajectory": {
                                    "total": 209.45736746998523,
                                    "count": 104777,
                                    "self": 209.25968244098408,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.19768502900114981,
                                            "count": 4,
                                            "self": 0.19768502900114981
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 511.02336501000013,
                                    "count": 953,
                                    "self": 275.9814385969696,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 235.04192641303052,
                                            "count": 46284,
                                            "self": 235.04192641303052
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 7.61999672249658e-07,
                    "count": 1,
                    "self": 7.61999672249658e-07
                },
                "TrainerController._save_models": {
                    "total": 0.04617108100001133,
                    "count": 1,
                    "self": 0.0004729920001409482,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.04569808899987038,
                            "count": 1,
                            "self": 0.04569808899987038
                        }
                    }
                }
            }
        }
    }
}