File size: 17,460 Bytes
f6b2e7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
        "Huggy.Policy.Entropy.mean": {
            "value": 1.4073069095611572,
            "min": 1.4073069095611572,
            "max": 1.428281545639038,
            "count": 40
        },
        "Huggy.Policy.Entropy.sum": {
            "value": 70583.4765625,
            "min": 69390.671875,
            "max": 77131.5078125,
            "count": 40
        },
        "Huggy.Environment.EpisodeLength.mean": {
            "value": 75.97692307692307,
            "min": 75.97692307692307,
            "max": 390.828125,
            "count": 40
        },
        "Huggy.Environment.EpisodeLength.sum": {
            "value": 49385.0,
            "min": 49296.0,
            "max": 50026.0,
            "count": 40
        },
        "Huggy.Step.mean": {
            "value": 1999998.0,
            "min": 49830.0,
            "max": 1999998.0,
            "count": 40
        },
        "Huggy.Step.sum": {
            "value": 1999998.0,
            "min": 49830.0,
            "max": 1999998.0,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicValueEstimate.mean": {
            "value": 2.512145757675171,
            "min": 0.10395200550556183,
            "max": 2.512145757675171,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicValueEstimate.sum": {
            "value": 1632.894775390625,
            "min": 13.201904296875,
            "max": 1632.894775390625,
            "count": 40
        },
        "Huggy.Environment.CumulativeReward.mean": {
            "value": 3.8963359208290393,
            "min": 1.7165676425761125,
            "max": 3.970260310966473,
            "count": 40
        },
        "Huggy.Environment.CumulativeReward.sum": {
            "value": 2532.6183485388756,
            "min": 218.0040906071663,
            "max": 2532.6183485388756,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicReward.mean": {
            "value": 3.8963359208290393,
            "min": 1.7165676425761125,
            "max": 3.970260310966473,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicReward.sum": {
            "value": 2532.6183485388756,
            "min": 218.0040906071663,
            "max": 2532.6183485388756,
            "count": 40
        },
        "Huggy.Losses.PolicyLoss.mean": {
            "value": 0.016821318129303917,
            "min": 0.013112786445223415,
            "max": 0.020587722197200894,
            "count": 40
        },
        "Huggy.Losses.PolicyLoss.sum": {
            "value": 0.05046395438791175,
            "min": 0.02622557289044683,
            "max": 0.061763166591602685,
            "count": 40
        },
        "Huggy.Losses.ValueLoss.mean": {
            "value": 0.06068949219253328,
            "min": 0.022155783946315448,
            "max": 0.06423533815476629,
            "count": 40
        },
        "Huggy.Losses.ValueLoss.sum": {
            "value": 0.18206847657759984,
            "min": 0.044311567892630896,
            "max": 0.19270601446429886,
            "count": 40
        },
        "Huggy.Policy.LearningRate.mean": {
            "value": 3.592198802633332e-06,
            "min": 3.592198802633332e-06,
            "max": 0.00029526937657687496,
            "count": 40
        },
        "Huggy.Policy.LearningRate.sum": {
            "value": 1.0776596407899995e-05,
            "min": 1.0776596407899995e-05,
            "max": 0.0008436387187870999,
            "count": 40
        },
        "Huggy.Policy.Epsilon.mean": {
            "value": 0.10119736666666668,
            "min": 0.10119736666666668,
            "max": 0.19842312499999992,
            "count": 40
        },
        "Huggy.Policy.Epsilon.sum": {
            "value": 0.30359210000000003,
            "min": 0.20752684999999998,
            "max": 0.5812129000000001,
            "count": 40
        },
        "Huggy.Policy.Beta.mean": {
            "value": 6.974859666666665e-05,
            "min": 6.974859666666665e-05,
            "max": 0.0049213139375000005,
            "count": 40
        },
        "Huggy.Policy.Beta.sum": {
            "value": 0.00020924578999999995,
            "min": 0.00020924578999999995,
            "max": 0.014062523709999998,
            "count": 40
        },
        "Huggy.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 40
        },
        "Huggy.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 40
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1702720762",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy --no-graphics",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.2+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1702723239"
    },
    "total": 2476.201828948,
    "count": 1,
    "self": 0.4417752150002343,
    "children": {
        "run_training.setup": {
            "total": 0.05061434700007794,
            "count": 1,
            "self": 0.05061434700007794
        },
        "TrainerController.start_learning": {
            "total": 2475.7094393859998,
            "count": 1,
            "self": 4.553790060042502,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.2739571820000037,
                    "count": 1,
                    "self": 3.2739571820000037
                },
                "TrainerController.advance": {
                    "total": 2467.705952751957,
                    "count": 233001,
                    "self": 4.927155483703245,
                    "children": {
                        "env_step": {
                            "total": 1958.1033691390032,
                            "count": 233001,
                            "self": 1626.1554597489858,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 329.0493029450437,
                                    "count": 233001,
                                    "self": 17.396710727084837,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 311.65259221795884,
                                            "count": 222956,
                                            "self": 311.65259221795884
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.898606444973666,
                                    "count": 233001,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2468.086202078029,
                                            "count": 233001,
                                            "is_parallel": true,
                                            "self": 1149.4960895511358,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0006997110000384055,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0002273259999583388,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0004723850000800667,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004723850000800667
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.055380621000040264,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00040060399999219953,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00020897400008834666,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00020897400008834666
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.05386280999994142,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.05386280999994142
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0009082330000182992,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023491400008879282,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0006733189999295064,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0006733189999295064
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1318.5901125268933,
                                                    "count": 233000,
                                                    "is_parallel": true,
                                                    "self": 41.33176255705757,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 84.82659755187751,
                                                            "count": 233000,
                                                            "is_parallel": true,
                                                            "self": 84.82659755187751
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1099.6355863939261,
                                                            "count": 233000,
                                                            "is_parallel": true,
                                                            "self": 1099.6355863939261
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 92.79616602403212,
                                                            "count": 233000,
                                                            "is_parallel": true,
                                                            "self": 34.30118595709166,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 58.49498006694046,
                                                                    "count": 466000,
                                                                    "is_parallel": true,
                                                                    "self": 58.49498006694046
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 504.6754281292501,
                            "count": 233001,
                            "self": 6.779768315292699,
                            "children": {
                                "process_trajectory": {
                                    "total": 160.5960491639554,
                                    "count": 233001,
                                    "self": 159.31503823695527,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 1.2810109270001249,
                                            "count": 10,
                                            "self": 1.2810109270001249
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 337.299610650002,
                                    "count": 97,
                                    "self": 272.31071101399004,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 64.98889963601198,
                                            "count": 2910,
                                            "self": 64.98889963601198
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.5670002539991401e-06,
                    "count": 1,
                    "self": 1.5670002539991401e-06
                },
                "TrainerController._save_models": {
                    "total": 0.17573782499994195,
                    "count": 1,
                    "self": 0.002182052000080148,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.1735557729998618,
                            "count": 1,
                            "self": 0.1735557729998618
                        }
                    }
                }
            }
        }
    }
}