File size: 17,904 Bytes
ea2548d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.401413917541504,
            "min": 1.401413917541504,
            "max": 1.4267528057098389,
            "count": 40
        },
        "Huggy.Policy.Entropy.sum": {
            "value": 71957.0,
            "min": 68400.125,
            "max": 77161.5234375,
            "count": 40
        },
        "Huggy.Environment.EpisodeLength.mean": {
            "value": 74.66868381240545,
            "min": 74.4434250764526,
            "max": 402.73387096774195,
            "count": 40
        },
        "Huggy.Environment.EpisodeLength.sum": {
            "value": 49356.0,
            "min": 48686.0,
            "max": 49990.0,
            "count": 40
        },
        "Huggy.Step.mean": {
            "value": 1999997.0,
            "min": 49650.0,
            "max": 1999997.0,
            "count": 40
        },
        "Huggy.Step.sum": {
            "value": 1999997.0,
            "min": 49650.0,
            "max": 1999997.0,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicValueEstimate.mean": {
            "value": 2.492232084274292,
            "min": 0.21966251730918884,
            "max": 2.5303807258605957,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicValueEstimate.sum": {
            "value": 1647.365478515625,
            "min": 27.018489837646484,
            "max": 1647.365478515625,
            "count": 40
        },
        "Huggy.Environment.CumulativeReward.mean": {
            "value": 3.907749623646354,
            "min": 1.7168242907136437,
            "max": 3.972880187368548,
            "count": 40
        },
        "Huggy.Environment.CumulativeReward.sum": {
            "value": 2583.02250123024,
            "min": 211.16938775777817,
            "max": 2583.02250123024,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicReward.mean": {
            "value": 3.907749623646354,
            "min": 1.7168242907136437,
            "max": 3.972880187368548,
            "count": 40
        },
        "Huggy.Policy.ExtrinsicReward.sum": {
            "value": 2583.02250123024,
            "min": 211.16938775777817,
            "max": 2583.02250123024,
            "count": 40
        },
        "Huggy.Losses.PolicyLoss.mean": {
            "value": 0.015930659174692764,
            "min": 0.013345793463668088,
            "max": 0.020638795191674334,
            "count": 40
        },
        "Huggy.Losses.PolicyLoss.sum": {
            "value": 0.047791977524078294,
            "min": 0.026691586927336176,
            "max": 0.061916385575023006,
            "count": 40
        },
        "Huggy.Losses.ValueLoss.mean": {
            "value": 0.06527987892429034,
            "min": 0.02048669494688511,
            "max": 0.06527987892429034,
            "count": 40
        },
        "Huggy.Losses.ValueLoss.sum": {
            "value": 0.19583963677287103,
            "min": 0.04097338989377022,
            "max": 0.19583963677287103,
            "count": 40
        },
        "Huggy.Policy.LearningRate.mean": {
            "value": 3.5557488147833318e-06,
            "min": 3.5557488147833318e-06,
            "max": 0.00029534145155285,
            "count": 40
        },
        "Huggy.Policy.LearningRate.sum": {
            "value": 1.0667246444349995e-05,
            "min": 1.0667246444349995e-05,
            "max": 0.0008441271186242999,
            "count": 40
        },
        "Huggy.Policy.Epsilon.mean": {
            "value": 0.10118521666666669,
            "min": 0.10118521666666669,
            "max": 0.19844715000000007,
            "count": 40
        },
        "Huggy.Policy.Epsilon.sum": {
            "value": 0.30355565000000007,
            "min": 0.20751079999999994,
            "max": 0.5813756999999999,
            "count": 40
        },
        "Huggy.Policy.Beta.mean": {
            "value": 6.914231166666665e-05,
            "min": 6.914231166666665e-05,
            "max": 0.004922512785000001,
            "count": 40
        },
        "Huggy.Policy.Beta.sum": {
            "value": 0.00020742693499999993,
            "min": 0.00020742693499999993,
            "max": 0.01407064743,
            "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": "1672932637",
        "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/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": "1672934807"
    },
    "total": 2169.859613924,
    "count": 1,
    "self": 0.3895191800002067,
    "children": {
        "run_training.setup": {
            "total": 0.10708111899998585,
            "count": 1,
            "self": 0.10708111899998585
        },
        "TrainerController.start_learning": {
            "total": 2169.363013625,
            "count": 1,
            "self": 3.7989682019710926,
            "children": {
                "TrainerController._reset_env": {
                    "total": 7.738017861999992,
                    "count": 1,
                    "self": 7.738017861999992
                },
                "TrainerController.advance": {
                    "total": 2157.710162829029,
                    "count": 233204,
                    "self": 3.7102494791720346,
                    "children": {
                        "env_step": {
                            "total": 1685.5543330289067,
                            "count": 233204,
                            "self": 1418.4414054849399,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 264.6053199779427,
                                    "count": 233204,
                                    "self": 14.067012820907507,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 250.5383071570352,
                                            "count": 223006,
                                            "self": 64.1346565668556,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 186.4036505901796,
                                                    "count": 223006,
                                                    "self": 186.4036505901796
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.5076075660242623,
                                    "count": 233204,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2161.5782700909645,
                                            "count": 233204,
                                            "is_parallel": true,
                                            "self": 994.491597204019,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.002235662999964916,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003170989999716767,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0019185639999932391,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0019185639999932391
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03316976499991142,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0002820710000150939,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00017215899993061612,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00017215899993061612
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.031900521000011395,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.031900521000011395
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0008150139999543171,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002786339999829579,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0005363799999713592,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0005363799999713592
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1167.0866728869455,
                                                    "count": 233203,
                                                    "is_parallel": true,
                                                    "self": 34.04428369999914,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 75.28219440496127,
                                                            "count": 233203,
                                                            "is_parallel": true,
                                                            "self": 75.28219440496127
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 966.6863554770346,
                                                            "count": 233203,
                                                            "is_parallel": true,
                                                            "self": 966.6863554770346
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 91.07383930495064,
                                                            "count": 233203,
                                                            "is_parallel": true,
                                                            "self": 37.32101380489837,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 53.75282550005227,
                                                                    "count": 466406,
                                                                    "is_parallel": true,
                                                                    "self": 53.75282550005227
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 468.44558032094983,
                            "count": 233204,
                            "self": 5.722726787901706,
                            "children": {
                                "process_trajectory": {
                                    "total": 147.2929468090473,
                                    "count": 233204,
                                    "self": 146.0096226120471,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 1.2833241970001836,
                                            "count": 10,
                                            "self": 1.2833241970001836
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 315.42990672400083,
                                    "count": 97,
                                    "self": 262.98446572699027,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 52.445440997010564,
                                            "count": 2910,
                                            "self": 52.445440997010564
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.389997674385086e-07,
                    "count": 1,
                    "self": 8.389997674385086e-07
                },
                "TrainerController._save_models": {
                    "total": 0.11586389300009614,
                    "count": 1,
                    "self": 0.001868934999947669,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.11399495800014847,
                            "count": 1,
                            "self": 0.11399495800014847
                        }
                    }
                }
            }
        }
    }
}