File size: 17,931 Bytes
47e9989
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
        "Huggy.Policy.Entropy.mean": {
            "value": 1.4027098417282104,
            "min": 1.4027098417282104,
            "max": 1.4272503852844238,
            "count": 38
        },
        "Huggy.Policy.Entropy.sum": {
            "value": 69933.5,
            "min": 56408.9453125,
            "max": 72006.1171875,
            "count": 38
        },
        "Huggy.Environment.EpisodeLength.mean": {
            "value": 76.77449455676516,
            "min": 75.50995405819296,
            "max": 284.2480620155039,
            "count": 38
        },
        "Huggy.Environment.EpisodeLength.sum": {
            "value": 49366.0,
            "min": 36668.0,
            "max": 49668.0,
            "count": 38
        },
        "Huggy.Step.mean": {
            "value": 1999915.0,
            "min": 149837.0,
            "max": 1999915.0,
            "count": 38
        },
        "Huggy.Step.sum": {
            "value": 1999915.0,
            "min": 149837.0,
            "max": 1999915.0,
            "count": 38
        },
        "Huggy.Policy.ExtrinsicValueEstimate.mean": {
            "value": 2.4969820976257324,
            "min": 0.6142274141311646,
            "max": 2.5275051593780518,
            "count": 38
        },
        "Huggy.Policy.ExtrinsicValueEstimate.sum": {
            "value": 1605.5594482421875,
            "min": 78.62110900878906,
            "max": 1605.5594482421875,
            "count": 38
        },
        "Huggy.Environment.CumulativeReward.mean": {
            "value": 3.798717265551791,
            "min": 2.9495590571314096,
            "max": 4.001001757807717,
            "count": 38
        },
        "Huggy.Environment.CumulativeReward.sum": {
            "value": 2442.5752017498016,
            "min": 377.54355931282043,
            "max": 2499.637472629547,
            "count": 38
        },
        "Huggy.Policy.ExtrinsicReward.mean": {
            "value": 3.798717265551791,
            "min": 2.9495590571314096,
            "max": 4.001001757807717,
            "count": 38
        },
        "Huggy.Policy.ExtrinsicReward.sum": {
            "value": 2442.5752017498016,
            "min": 377.54355931282043,
            "max": 2499.637472629547,
            "count": 38
        },
        "Huggy.Losses.PolicyLoss.mean": {
            "value": 0.01808087213624579,
            "min": 0.012528159525148415,
            "max": 0.020715488920298716,
            "count": 38
        },
        "Huggy.Losses.PolicyLoss.sum": {
            "value": 0.03616174427249158,
            "min": 0.018980470420016597,
            "max": 0.06098752787026267,
            "count": 38
        },
        "Huggy.Losses.ValueLoss.mean": {
            "value": 0.06257759500294924,
            "min": 0.021718453615903854,
            "max": 0.06257759500294924,
            "count": 38
        },
        "Huggy.Losses.ValueLoss.sum": {
            "value": 0.12515519000589848,
            "min": 0.021718453615903854,
            "max": 0.1841054182499647,
            "count": 38
        },
        "Huggy.Policy.LearningRate.mean": {
            "value": 3.850073716674988e-06,
            "min": 3.850073716674988e-06,
            "max": 0.00027985230671589994,
            "count": 38
        },
        "Huggy.Policy.LearningRate.sum": {
            "value": 7.700147433349975e-06,
            "min": 7.700147433349975e-06,
            "max": 0.0008210698763100501,
            "count": 38
        },
        "Huggy.Policy.Epsilon.mean": {
            "value": 0.10128332500000001,
            "min": 0.10128332500000001,
            "max": 0.19328409999999993,
            "count": 38
        },
        "Huggy.Policy.Epsilon.sum": {
            "value": 0.20256665000000001,
            "min": 0.19328409999999993,
            "max": 0.5736899499999999,
            "count": 38
        },
        "Huggy.Policy.Beta.mean": {
            "value": 7.403791749999983e-05,
            "min": 7.403791749999983e-05,
            "max": 0.004664876590000001,
            "count": 38
        },
        "Huggy.Policy.Beta.sum": {
            "value": 0.00014807583499999965,
            "min": 0.00014807583499999965,
            "max": 0.013687128505,
            "count": 38
        },
        "Huggy.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 38
        },
        "Huggy.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 38
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1675384406",
        "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn --resume ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy --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.21.6",
        "end_time_seconds": "1675386548"
    },
    "total": 2141.902958832,
    "count": 1,
    "self": 0.43451878399991983,
    "children": {
        "run_training.setup": {
            "total": 0.10099393900003406,
            "count": 1,
            "self": 0.10099393900003406
        },
        "TrainerController.start_learning": {
            "total": 2141.367446109,
            "count": 1,
            "self": 3.931397098968773,
            "children": {
                "TrainerController._reset_env": {
                    "total": 5.8351429239999675,
                    "count": 1,
                    "self": 5.8351429239999675
                },
                "TrainerController.advance": {
                    "total": 2131.490610933031,
                    "count": 220370,
                    "self": 4.170159091981077,
                    "children": {
                        "env_step": {
                            "total": 1690.9400327430474,
                            "count": 220370,
                            "self": 1421.8756554991332,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 266.53078453299133,
                                    "count": 220370,
                                    "self": 13.89158923398952,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 252.6391952990018,
                                            "count": 210309,
                                            "self": 62.26420008105629,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 190.37499521794552,
                                                    "count": 210309,
                                                    "self": 190.37499521794552
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.5335927109229033,
                                    "count": 220370,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2133.4522089779316,
                                            "count": 220370,
                                            "is_parallel": true,
                                            "self": 960.2063948889408,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0008028959999819563,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003002929999524895,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0005026030000294668,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005026030000294668
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.027544895000005454,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00029913000014403224,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00018594699997720454,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00018594699997720454
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.026118452999980946,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.026118452999980946
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0009413649999032714,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002550019999034703,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0006863629999998011,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0006863629999998011
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1173.2458140889908,
                                                    "count": 220369,
                                                    "is_parallel": true,
                                                    "self": 33.08206983395803,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 74.16290157603316,
                                                            "count": 220369,
                                                            "is_parallel": true,
                                                            "self": 74.16290157603316
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 973.6695953199352,
                                                            "count": 220369,
                                                            "is_parallel": true,
                                                            "self": 973.6695953199352
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 92.33124735906438,
                                                            "count": 220369,
                                                            "is_parallel": true,
                                                            "self": 38.697783664988265,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 53.63346369407611,
                                                                    "count": 440738,
                                                                    "is_parallel": true,
                                                                    "self": 53.63346369407611
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 436.38041909800256,
                            "count": 220370,
                            "self": 5.844339883985185,
                            "children": {
                                "process_trajectory": {
                                    "total": 147.5605605180166,
                                    "count": 220370,
                                    "self": 146.47950046801577,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 1.081060050000815,
                                            "count": 10,
                                            "self": 1.081060050000815
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 282.9755186960008,
                                    "count": 91,
                                    "self": 233.61468696299585,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 49.36083173300494,
                                            "count": 2730,
                                            "self": 49.36083173300494
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.330001375928987e-07,
                    "count": 1,
                    "self": 9.330001375928987e-07
                },
                "TrainerController._save_models": {
                    "total": 0.11029422000001432,
                    "count": 1,
                    "self": 0.002647132999754831,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10764708700025949,
                            "count": 1,
                            "self": 0.10764708700025949
                        }
                    }
                }
            }
        }
    }
}