File size: 17,447 Bytes
35aa63b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3960790634155273,
            "min": 1.3960790634155273,
            "max": 1.4228882789611816,
            "count": 40
        },
        "Huggy.Policy.Entropy.sum": {
            "value": 69299.96875,
            "min": 68327.421875,
            "max": 78425.953125,
            "count": 40
        },
        "Huggy.Environment.EpisodeLength.mean": {
            "value": 105.49040511727078,
            "min": 82.33166666666666,
            "max": 400.23809523809524,
            "count": 40
        },
        "Huggy.Environment.EpisodeLength.sum": {
            "value": 49475.0,
            "min": 49069.0,
            "max": 50430.0,
            "count": 40
        },
        "Huggy.Step.mean": {
            "value": 1999976.0,
            "min": 49806.0,
            "max": 1999976.0,
            "count": 40
        },
        "Huggy.Step.sum": {
            "value": 1999976.0,
            "min": 49806.0,
            "max": 1999976.0,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicValueEstimate.mean": {
            "value": 2.332348346710205,
            "min": -0.02482997439801693,
            "max": 2.45263934135437,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicValueEstimate.sum": {
            "value": 1093.871337890625,
            "min": -3.1037468910217285,
            "max": 1401.760009765625,
            "count": 40
        },
        "Huggy.Environment.CumulativeReward.mean": {
            "value": 3.4832045424467464,
            "min": 1.9119500403404235,
            "max": 3.9235784834231473,
            "count": 40
        },
        "Huggy.Environment.CumulativeReward.sum": {
            "value": 1633.622930407524,
            "min": 238.99375504255295,
            "max": 2267.828363418579,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicReward.mean": {
            "value": 3.4832045424467464,
            "min": 1.9119500403404235,
            "max": 3.9235784834231473,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicReward.sum": {
            "value": 1633.622930407524,
            "min": 238.99375504255295,
            "max": 2267.828363418579,
            "count": 40
        },
        "Huggy.Losses.PolicyLoss.mean": {
            "value": 0.015039324720985153,
            "min": 0.012809203745564445,
            "max": 0.021040869372599344,
            "count": 40
        },
        "Huggy.Losses.PolicyLoss.sum": {
            "value": 0.04511797416295546,
            "min": 0.02561840749112889,
            "max": 0.06312260811779803,
            "count": 40
        },
        "Huggy.Losses.ValueLoss.mean": {
            "value": 0.047835016912884186,
            "min": 0.022919661737978457,
            "max": 0.1534860470642646,
            "count": 40
        },
        "Huggy.Losses.ValueLoss.sum": {
            "value": 0.14350505073865255,
            "min": 0.045839323475956914,
            "max": 0.3069720941285292,
            "count": 40
        },
        "Huggy.Policy.LearningRate.mean": {
            "value": 3.5279988240333395e-06,
            "min": 3.5279988240333395e-06,
            "max": 0.00029532502655832497,
            "count": 40
        },
        "Huggy.Policy.LearningRate.sum": {
            "value": 1.0583996472100018e-05,
            "min": 1.0583996472100018e-05,
            "max": 0.0008443338185554,
            "count": 40
        },
        "Huggy.Policy.Epsilon.mean": {
            "value": 0.10117596666666669,
            "min": 0.10117596666666669,
            "max": 0.19844167499999996,
            "count": 40
        },
        "Huggy.Policy.Epsilon.sum": {
            "value": 0.3035279000000001,
            "min": 0.2074935,
            "max": 0.5814445999999999,
            "count": 40
        },
        "Huggy.Policy.Beta.mean": {
            "value": 6.868073666666678e-05,
            "min": 6.868073666666678e-05,
            "max": 0.0049222395825,
            "count": 40
        },
        "Huggy.Policy.Beta.sum": {
            "value": 0.00020604221000000036,
            "min": 0.00020604221000000036,
            "max": 0.014074085540000001,
            "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": "1682476049",
        "python_version": "3.9.16 (main, Dec  7 2022, 01:11:51) \n[GCC 9.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": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1682478465"
    },
    "total": 2416.442502388,
    "count": 1,
    "self": 0.759403311999904,
    "children": {
        "run_training.setup": {
            "total": 0.19771993699998802,
            "count": 1,
            "self": 0.19771993699998802
        },
        "TrainerController.start_learning": {
            "total": 2415.485379139,
            "count": 1,
            "self": 4.423246079998989,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.686489497000025,
                    "count": 1,
                    "self": 4.686489497000025
                },
                "TrainerController.advance": {
                    "total": 2406.251209567001,
                    "count": 231893,
                    "self": 5.018179593027071,
                    "children": {
                        "env_step": {
                            "total": 1880.3876431369872,
                            "count": 231893,
                            "self": 1592.07582907095,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 285.3538245529714,
                                    "count": 231893,
                                    "self": 17.408280314920376,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 267.945544238051,
                                            "count": 222943,
                                            "self": 267.945544238051
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.9579895130657974,
                                    "count": 231893,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2407.3772240460303,
                                            "count": 231893,
                                            "is_parallel": true,
                                            "self": 1105.4579545099955,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.001099018999980217,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00036172699992675916,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0007372920000534577,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007372920000534577
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.030142233999981727,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003001829999789152,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0002510219999862784,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002510219999862784
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.028853115999993406,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.028853115999993406
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0007379130000231271,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023319800004628632,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0005047149999768408,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0005047149999768408
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1301.9192695360348,
                                                    "count": 231892,
                                                    "is_parallel": true,
                                                    "self": 38.68974188197194,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 81.64802933709075,
                                                            "count": 231892,
                                                            "is_parallel": true,
                                                            "self": 81.64802933709075
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1091.7474967920093,
                                                            "count": 231892,
                                                            "is_parallel": true,
                                                            "self": 1091.7474967920093
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 89.83400152496273,
                                                            "count": 231892,
                                                            "is_parallel": true,
                                                            "self": 33.74604899587905,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 56.08795252908368,
                                                                    "count": 463784,
                                                                    "is_parallel": true,
                                                                    "self": 56.08795252908368
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 520.8453868369866,
                            "count": 231893,
                            "self": 6.745547907071341,
                            "children": {
                                "process_trajectory": {
                                    "total": 134.66724047691565,
                                    "count": 231893,
                                    "self": 133.2273397719154,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 1.439900705000241,
                                            "count": 10,
                                            "self": 1.439900705000241
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 379.43259845299957,
                                    "count": 97,
                                    "self": 319.37727546699455,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 60.055322986005024,
                                            "count": 2910,
                                            "self": 60.055322986005024
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.0650001058820635e-06,
                    "count": 1,
                    "self": 1.0650001058820635e-06
                },
                "TrainerController._save_models": {
                    "total": 0.12443293000023914,
                    "count": 1,
                    "self": 0.0021581150003839866,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.12227481499985515,
                            "count": 1,
                            "self": 0.12227481499985515
                        }
                    }
                }
            }
        }
    }
}