File size: 17,496 Bytes
0820fc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "PushBlock.Policy.Entropy.mean": {
            "value": 0.5057125091552734,
            "min": 0.5057125091552734,
            "max": 1.8453508615493774,
            "count": 16
        },
        "PushBlock.Policy.Entropy.sum": {
            "value": 30342.751953125,
            "min": 30342.751953125,
            "max": 111961.125,
            "count": 16
        },
        "PushBlock.Step.mean": {
            "value": 959987.0,
            "min": 59968.0,
            "max": 959987.0,
            "count": 16
        },
        "PushBlock.Step.sum": {
            "value": 959987.0,
            "min": 59968.0,
            "max": 959987.0,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.mean": {
            "value": 3.3463761806488037,
            "min": -0.10228154063224792,
            "max": 3.5732831954956055,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicValueEstimate.sum": {
            "value": 5263.849609375,
            "min": -97.065185546875,
            "max": 5828.02490234375,
            "count": 16
        },
        "PushBlock.Losses.PolicyLoss.mean": {
            "value": 0.07074756970315979,
            "min": 0.06713354328430483,
            "max": 0.07087487300647818,
            "count": 16
        },
        "PushBlock.Losses.PolicyLoss.sum": {
            "value": 2.051679521391634,
            "min": 0.96914859500248,
            "max": 2.055371317187867,
            "count": 16
        },
        "PushBlock.Losses.ValueLoss.mean": {
            "value": 0.30664365344156314,
            "min": 0.0007856689771078925,
            "max": 0.3977642041461654,
            "count": 16
        },
        "PushBlock.Losses.ValueLoss.sum": {
            "value": 8.89266594980533,
            "min": 0.010999365679510495,
            "max": 11.535161920238798,
            "count": 16
        },
        "PushBlock.Policy.LearningRate.mean": {
            "value": 2.0788634449796547e-05,
            "min": 2.0788634449796547e-05,
            "max": 0.00029089920303360003,
            "count": 16
        },
        "PushBlock.Policy.LearningRate.sum": {
            "value": 0.0006028703990440999,
            "min": 0.0006028703990440999,
            "max": 0.0071437558187481985,
            "count": 16
        },
        "PushBlock.Policy.Epsilon.mean": {
            "value": 0.10692951379310346,
            "min": 0.10692951379310346,
            "max": 0.19696639999999999,
            "count": 16
        },
        "PushBlock.Policy.Epsilon.sum": {
            "value": 3.1009559,
            "min": 2.7575296,
            "max": 5.1917718000000015,
            "count": 16
        },
        "PushBlock.Policy.Beta.mean": {
            "value": 0.0007022584279310345,
            "min": 0.0007022584279310345,
            "max": 0.00969694336,
            "count": 16
        },
        "PushBlock.Policy.Beta.sum": {
            "value": 0.02036549441,
            "min": 0.02036549441,
            "max": 0.23816705482,
            "count": 16
        },
        "PushBlock.Environment.EpisodeLength.mean": {
            "value": 52.71301247771836,
            "min": 49.440097799511,
            "max": 999.0,
            "count": 16
        },
        "PushBlock.Environment.EpisodeLength.sum": {
            "value": 59144.0,
            "min": 31968.0,
            "max": 71018.0,
            "count": 16
        },
        "PushBlock.Environment.CumulativeReward.mean": {
            "value": 4.857366297034813,
            "min": -1.0000000447034836,
            "max": 4.892981806867043,
            "count": 16
        },
        "PushBlock.Environment.CumulativeReward.sum": {
            "value": 5440.25025267899,
            "min": -32.000001430511475,
            "max": 6008.581658832729,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicReward.mean": {
            "value": 4.857366297034813,
            "min": -1.0000000447034836,
            "max": 4.892981806867043,
            "count": 16
        },
        "PushBlock.Policy.ExtrinsicReward.sum": {
            "value": 5440.25025267899,
            "min": -32.000001430511475,
            "max": 6008.581658832729,
            "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": "1723125498",
        "python_version": "3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.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",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.3.1+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1723126584"
    },
    "total": 1086.102436561,
    "count": 1,
    "self": 0.44057384799998545,
    "children": {
        "run_training.setup": {
            "total": 0.05948779099992407,
            "count": 1,
            "self": 0.05948779099992407
        },
        "TrainerController.start_learning": {
            "total": 1085.602374922,
            "count": 1,
            "self": 0.8571807120065387,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.146449375999964,
                    "count": 1,
                    "self": 3.146449375999964
                },
                "TrainerController.advance": {
                    "total": 1081.5469878759936,
                    "count": 39374,
                    "self": 0.9223190180264282,
                    "children": {
                        "env_step": {
                            "total": 651.7303850059682,
                            "count": 39374,
                            "self": 588.8443498189744,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 62.403319629999146,
                                    "count": 39374,
                                    "self": 2.721327139013283,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 59.68199249098586,
                                            "count": 31275,
                                            "self": 59.68199249098586
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.4827155569946626,
                                    "count": 39374,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 1083.5189153969945,
                                            "count": 39374,
                                            "is_parallel": true,
                                            "self": 573.9133127020157,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.008095230999970227,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.006371104999971067,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0017241259999991598,
                                                                    "count": 4,
                                                                    "is_parallel": true,
                                                                    "self": 0.0017241259999991598
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.035432894999985365,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000876696000091215,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0007195549999323703,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007195549999323703
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.031510185999991336,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.031510185999991336
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0023264579999704438,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003776250000555592,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0019488329999148846,
                                                                            "count": 4,
                                                                            "is_parallel": true,
                                                                            "self": 0.0019488329999148846
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 509.60560269497887,
                                                    "count": 39373,
                                                    "is_parallel": true,
                                                    "self": 25.173398205975104,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 19.87260991800565,
                                                            "count": 39373,
                                                            "is_parallel": true,
                                                            "self": 19.87260991800565
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 393.24340439598996,
                                                            "count": 39373,
                                                            "is_parallel": true,
                                                            "self": 393.24340439598996
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 71.31619017500816,
                                                            "count": 39373,
                                                            "is_parallel": true,
                                                            "self": 11.643081277982674,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 59.673108897025486,
                                                                    "count": 157492,
                                                                    "is_parallel": true,
                                                                    "self": 59.673108897025486
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 428.89428385199915,
                            "count": 39374,
                            "self": 1.8710544049820328,
                            "children": {
                                "process_trajectory": {
                                    "total": 102.43821347601931,
                                    "count": 39374,
                                    "self": 102.22136047201946,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.21685300399985863,
                                            "count": 2,
                                            "self": 0.21685300399985863
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 324.5850159709978,
                                    "count": 457,
                                    "self": 146.49035086501215,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 178.09466510598565,
                                            "count": 23061,
                                            "self": 178.09466510598565
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.670000054029515e-07,
                    "count": 1,
                    "self": 9.670000054029515e-07
                },
                "TrainerController._save_models": {
                    "total": 0.05175599099993633,
                    "count": 1,
                    "self": 0.0007589500000904081,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.05099704099984592,
                            "count": 1,
                            "self": 0.05099704099984592
                        }
                    }
                }
            }
        }
    }
}