File size: 17,996 Bytes
a699850
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.5013278126716614,
            "min": 0.4978146553039551,
            "max": 1.8884873390197754,
            "count": 16
        },
        "PushBlock.Policy.Entropy.sum": {
            "value": 30111.751953125,
            "min": 29868.87890625,
            "max": 114578.3046875,
            "count": 16
        },
        "PushBlock.Environment.EpisodeLength.mean": {
            "value": 29.096056622851364,
            "min": 26.901285583103764,
            "max": 800.2045454545455,
            "count": 16
        },
        "PushBlock.Environment.EpisodeLength.sum": {
            "value": 57552.0,
            "min": 35209.0,
            "max": 70410.0,
            "count": 16
        },
        "PushBlock.Step.mean": {
            "value": 959979.0,
            "min": 59957.0,
            "max": 959979.0,
            "count": 16
        },
        "PushBlock.Step.sum": {
            "value": 959979.0,
            "min": 59957.0,
            "max": 959979.0,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.mean": {
            "value": 3.929089069366455,
            "min": 0.05562363937497139,
            "max": 4.115839004516602,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.sum": {
            "value": 9029.046875,
            "min": 53.120574951171875,
            "max": 9943.8671875,
            "count": 16
        },
        "PushBlock.Environment.CumulativeReward.mean": {
            "value": 4.924831472431366,
            "min": 0.7898636480624025,
            "max": 4.94725110939951,
            "count": 16
        },
        "PushBlock.Environment.CumulativeReward.sum": {
            "value": 9746.241483941674,
            "min": 34.75400051474571,
            "max": 10775.112916272134,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicReward.mean": {
            "value": 4.924831472431366,
            "min": 0.7898636480624025,
            "max": 4.94725110939951,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicReward.sum": {
            "value": 9746.241483941674,
            "min": 34.75400051474571,
            "max": 10775.112916272134,
            "count": 16
        },
        "PushBlock.Losses.PolicyLoss.mean": {
            "value": 0.06821112005821504,
            "min": 0.06610743193746672,
            "max": 0.07124047085971115,
            "count": 16
        },
        "PushBlock.Losses.PolicyLoss.sum": {
            "value": 1.9781224816882361,
            "min": 1.7810117714927787,
            "max": 2.0536290933281034,
            "count": 16
        },
        "PushBlock.Losses.ValueLoss.mean": {
            "value": 0.2008959916848475,
            "min": 0.04920394663841351,
            "max": 0.3776434305198919,
            "count": 16
        },
        "PushBlock.Losses.ValueLoss.sum": {
            "value": 5.825983758860578,
            "min": 1.2300986659603377,
            "max": 10.951659485076865,
            "count": 16
        },
        "PushBlock.Policy.LearningRate.mean": {
            "value": 2.1059534359496555e-05,
            "min": 2.1059534359496555e-05,
            "max": 0.00029034048321984,
            "count": 16
        },
        "PushBlock.Policy.LearningRate.sum": {
            "value": 0.0006107264964254,
            "min": 0.0006107264964254,
            "max": 0.0076451291516236985,
            "count": 16
        },
        "PushBlock.Policy.Epsilon.mean": {
            "value": 0.10701981379310346,
            "min": 0.10701981379310346,
            "max": 0.19678016000000004,
            "count": 16
        },
        "PushBlock.Policy.Epsilon.sum": {
            "value": 3.1035746000000004,
            "min": 3.1035746000000004,
            "max": 5.366889400000001,
            "count": 16
        },
        "PushBlock.Policy.Beta.mean": {
            "value": 0.0007112793979310347,
            "min": 0.0007112793979310347,
            "max": 0.009678337984000002,
            "count": 16
        },
        "PushBlock.Policy.Beta.sum": {
            "value": 0.020627102540000004,
            "min": 0.020627102540000004,
            "max": 0.25486279237000004,
            "count": 16
        },
        "PushBlock.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 16
        },
        "PushBlock.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 16
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1673609870",
        "python_version": "3.8.16 (default, Dec  7 2022, 01:12:13) \n[GCC 7.5.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PushBlock.yaml --env=./training-envs-executables/linux/PushBlock/PushBlock --run-id=PushBlock Training --no-graphics --force",
        "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": "1673610885"
    },
    "total": 1015.428120179,
    "count": 1,
    "self": 0.3739461669999855,
    "children": {
        "run_training.setup": {
            "total": 0.10166472699995666,
            "count": 1,
            "self": 0.10166472699995666
        },
        "TrainerController.start_learning": {
            "total": 1014.952509285,
            "count": 1,
            "self": 0.965871988962931,
            "children": {
                "TrainerController._reset_env": {
                    "total": 6.276484015000051,
                    "count": 1,
                    "self": 6.276484015000051
                },
                "TrainerController.advance": {
                    "total": 1007.6487054310369,
                    "count": 47718,
                    "self": 0.9406912270151224,
                    "children": {
                        "env_step": {
                            "total": 616.8289498020071,
                            "count": 47718,
                            "self": 565.7502571090608,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 50.54634361095816,
                                    "count": 47718,
                                    "self": 2.435593314966013,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 48.11075029599215,
                                            "count": 31270,
                                            "self": 15.39985357400235,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 32.7108967219898,
                                                    "count": 31270,
                                                    "self": 32.7108967219898
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.532349081988059,
                                    "count": 47718,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1012.4502011970051,
                                            "count": 47718,
                                            "is_parallel": true,
                                            "self": 519.1761926560424,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0022522739999430996,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000777586999788582,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0014746870001545176,
                                                                    "count": 4,
                                                                    "is_parallel": true,
                                                                    "self": 0.0014746870001545176
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03303778199995122,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007162829998605957,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.000720770000043558,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000720770000043558
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.029238625000061802,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.029238625000061802
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0023621039999852655,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005520999999362175,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001810004000049048,
                                                                            "count": 4,
                                                                            "is_parallel": true,
                                                                            "self": 0.001810004000049048
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 493.27400854096265,
                                                    "count": 47717,
                                                    "is_parallel": true,
                                                    "self": 23.452266761988426,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 20.47216375398841,
                                                            "count": 47717,
                                                            "is_parallel": true,
                                                            "self": 20.47216375398841
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 374.7922909120025,
                                                            "count": 47717,
                                                            "is_parallel": true,
                                                            "self": 374.7922909120025
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 74.55728711298332,
                                                            "count": 47717,
                                                            "is_parallel": true,
                                                            "self": 14.021818385979827,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 60.53546872700349,
                                                                    "count": 190868,
                                                                    "is_parallel": true,
                                                                    "self": 60.53546872700349
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 389.8790644020147,
                            "count": 47718,
                            "self": 1.7906268160321588,
                            "children": {
                                "process_trajectory": {
                                    "total": 108.9426736099831,
                                    "count": 47718,
                                    "self": 108.80744560898302,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.1352280010000868,
                                            "count": 2,
                                            "self": 0.1352280010000868
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 279.14576397599944,
                                    "count": 477,
                                    "self": 143.75034034898988,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 135.39542362700956,
                                            "count": 23076,
                                            "self": 135.39542362700956
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 7.640001058462076e-07,
                    "count": 1,
                    "self": 7.640001058462076e-07
                },
                "TrainerController._save_models": {
                    "total": 0.06144708600004378,
                    "count": 1,
                    "self": 0.0009176949999982753,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.06052939100004551,
                            "count": 1,
                            "self": 0.06052939100004551
                        }
                    }
                }
            }
        }
    }
}