File size: 17,455 Bytes
af5af08
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.4045560359954834,
            "min": 1.4045560359954834,
            "max": 1.425719141960144,
            "count": 32
        },
        "Huggy.Policy.Entropy.sum": {
            "value": 69602.7734375,
            "min": 68251.296875,
            "max": 76696.25,
            "count": 32
        },
        "Huggy.Environment.EpisodeLength.mean": {
            "value": 76.3560371517028,
            "min": 75.96923076923076,
            "max": 397.92857142857144,
            "count": 32
        },
        "Huggy.Environment.EpisodeLength.sum": {
            "value": 49326.0,
            "min": 49302.0,
            "max": 50139.0,
            "count": 32
        },
        "Huggy.Step.mean": {
            "value": 1599963.0,
            "min": 49919.0,
            "max": 1599963.0,
            "count": 32
        },
        "Huggy.Step.sum": {
            "value": 1599963.0,
            "min": 49919.0,
            "max": 1599963.0,
            "count": 32
        },
        "Huggy.Policy.ExtrinsicValueEstimate.mean": {
            "value": 2.451035499572754,
            "min": -0.030836891382932663,
            "max": 2.5037331581115723,
            "count": 32
        },
        "Huggy.Policy.ExtrinsicValueEstimate.sum": {
            "value": 1583.368896484375,
            "min": -3.854611396789551,
            "max": 1585.8370361328125,
            "count": 32
        },
        "Huggy.Environment.CumulativeReward.mean": {
            "value": 3.8952538632202445,
            "min": 1.809530202627182,
            "max": 4.063939113365977,
            "count": 32
        },
        "Huggy.Environment.CumulativeReward.sum": {
            "value": 2516.333995640278,
            "min": 226.19127532839775,
            "max": 2551.130595564842,
            "count": 32
        },
        "Huggy.Policy.ExtrinsicReward.mean": {
            "value": 3.8952538632202445,
            "min": 1.809530202627182,
            "max": 4.063939113365977,
            "count": 32
        },
        "Huggy.Policy.ExtrinsicReward.sum": {
            "value": 2516.333995640278,
            "min": 226.19127532839775,
            "max": 2551.130595564842,
            "count": 32
        },
        "Huggy.Losses.PolicyLoss.mean": {
            "value": 0.014203194167506202,
            "min": 0.013755661541099092,
            "max": 0.02048794745824125,
            "count": 32
        },
        "Huggy.Losses.PolicyLoss.sum": {
            "value": 0.028406388335012404,
            "min": 0.027511323082198183,
            "max": 0.05948689594612612,
            "count": 32
        },
        "Huggy.Losses.ValueLoss.mean": {
            "value": 0.05697564588238796,
            "min": 0.02355757883439461,
            "max": 0.06127499112238487,
            "count": 32
        },
        "Huggy.Losses.ValueLoss.sum": {
            "value": 0.11395129176477592,
            "min": 0.04711515766878922,
            "max": 0.17602411955595015,
            "count": 32
        },
        "Huggy.Policy.LearningRate.mean": {
            "value": 6.381360372882498e-05,
            "min": 6.381360372882498e-05,
            "max": 0.00029533845155385,
            "count": 32
        },
        "Huggy.Policy.LearningRate.sum": {
            "value": 0.00012762720745764997,
            "min": 0.00012762720745764997,
            "max": 0.0008438011687329501,
            "count": 32
        },
        "Huggy.Policy.Epsilon.mean": {
            "value": 0.121271175,
            "min": 0.121271175,
            "max": 0.19844615000000004,
            "count": 32
        },
        "Huggy.Policy.Epsilon.sum": {
            "value": 0.24254235,
            "min": 0.24254235,
            "max": 0.5812670500000001,
            "count": 32
        },
        "Huggy.Policy.Beta.mean": {
            "value": 0.0010714316325000002,
            "min": 0.0010714316325000002,
            "max": 0.004922462885000001,
            "count": 32
        },
        "Huggy.Policy.Beta.sum": {
            "value": 0.0021428632650000003,
            "min": 0.0021428632650000003,
            "max": 0.014065225795,
            "count": 32
        },
        "Huggy.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 32
        },
        "Huggy.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 32
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1741739045",
        "python_version": "3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0]",
        "command_line_arguments": "/root/autodl-tmp/miniconda3/envs/hfrl/bin/mlagents-learn ml-agents/config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy2 --no-graphics",
        "mlagents_version": "1.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.6.0+cu124",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1741741669"
    },
    "total": 2623.398121515289,
    "count": 1,
    "self": 0.3876295741647482,
    "children": {
        "run_training.setup": {
            "total": 0.0327600073069334,
            "count": 1,
            "self": 0.0327600073069334
        },
        "TrainerController.start_learning": {
            "total": 2622.9777319338173,
            "count": 1,
            "self": 3.44746271148324,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.869343815371394,
                    "count": 1,
                    "self": 2.869343815371394
                },
                "TrainerController.advance": {
                    "total": 2616.5745798535645,
                    "count": 189235,
                    "self": 3.2792701479047537,
                    "children": {
                        "env_step": {
                            "total": 2260.752312771976,
                            "count": 189235,
                            "self": 1977.9905481878668,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 280.4348835349083,
                                    "count": 189235,
                                    "self": 11.372258115559816,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 269.0626254193485,
                                            "count": 181239,
                                            "self": 269.0626254193485
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 2.3268810492008924,
                                    "count": 189235,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2613.1423880588263,
                                            "count": 189235,
                                            "is_parallel": true,
                                            "self": 900.9339048750699,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0012963395565748215,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00035632215440273285,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0009400174021720886,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0009400174021720886
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.031056590378284454,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003698933869600296,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00036738812923431396,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00036738812923431396
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.028848940506577492,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.028848940506577492
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001470368355512619,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003799349069595337,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0010904334485530853,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0010904334485530853
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1712.2084831837565,
                                                    "count": 189234,
                                                    "is_parallel": true,
                                                    "self": 52.45978309959173,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 112.28371349535882,
                                                            "count": 189234,
                                                            "is_parallel": true,
                                                            "self": 112.28371349535882
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1427.5770109836012,
                                                            "count": 189234,
                                                            "is_parallel": true,
                                                            "self": 1427.5770109836012
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 119.8879756052047,
                                                            "count": 189234,
                                                            "is_parallel": true,
                                                            "self": 45.31914711929858,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 74.56882848590612,
                                                                    "count": 378468,
                                                                    "is_parallel": true,
                                                                    "self": 74.56882848590612
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 352.54299693368375,
                            "count": 189235,
                            "self": 4.600446682423353,
                            "children": {
                                "process_trajectory": {
                                    "total": 124.12604659982026,
                                    "count": 189235,
                                    "self": 123.48473713174462,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.641309468075633,
                                            "count": 8,
                                            "self": 0.641309468075633
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 223.81650365144014,
                                    "count": 79,
                                    "self": 181.82267162017524,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 41.9938320312649,
                                            "count": 2340,
                                            "self": 41.9938320312649
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.0356307029724121e-06,
                    "count": 1,
                    "self": 1.0356307029724121e-06
                },
                "TrainerController._save_models": {
                    "total": 0.08634451776742935,
                    "count": 1,
                    "self": 0.0009008254855871201,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08544369228184223,
                            "count": 1,
                            "self": 0.08544369228184223
                        }
                    }
                }
            }
        }
    }
}