File size: 18,730 Bytes
329fc34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
{
    "name": "root",
    "gauges": {
        "Worm.Policy.Entropy.mean": {
            "value": -0.08906658738851547,
            "min": -0.10712047666311264,
            "max": 1.3384947776794434,
            "count": 167
        },
        "Worm.Policy.Entropy.sum": {
            "value": -2671.99755859375,
            "min": -3213.6142578125,
            "max": 40154.84375,
            "count": 167
        },
        "Worm.Environment.EpisodeLength.mean": {
            "value": 999.0,
            "min": 999.0,
            "max": 999.0,
            "count": 167
        },
        "Worm.Environment.EpisodeLength.sum": {
            "value": 29970.0,
            "min": 29970.0,
            "max": 29970.0,
            "count": 167
        },
        "Worm.Step.mean": {
            "value": 5009000.0,
            "min": 29000.0,
            "max": 5009000.0,
            "count": 167
        },
        "Worm.Step.sum": {
            "value": 5009000.0,
            "min": 29000.0,
            "max": 5009000.0,
            "count": 167
        },
        "Worm.Policy.ExtrinsicValue.mean": {
            "value": 203.8448944091797,
            "min": 15.553304672241211,
            "max": 204.15045166015625,
            "count": 167
        },
        "Worm.Policy.ExtrinsicValue.sum": {
            "value": 6115.3466796875,
            "min": 451.04583740234375,
            "max": 6124.513671875,
            "count": 167
        },
        "Worm.Environment.CumulativeReward.mean": {
            "value": 1155.841288248698,
            "min": 0.6933828540922453,
            "max": 1198.7954833984375,
            "count": 167
        },
        "Worm.Environment.CumulativeReward.sum": {
            "value": 34675.23864746094,
            "min": 20.80148562276736,
            "max": 35963.864501953125,
            "count": 167
        },
        "Worm.Policy.ExtrinsicReward.mean": {
            "value": 1155.841288248698,
            "min": 0.6933828540922453,
            "max": 1198.7954833984375,
            "count": 167
        },
        "Worm.Policy.ExtrinsicReward.sum": {
            "value": 34675.23864746094,
            "min": 20.80148562276736,
            "max": 35963.864501953125,
            "count": 167
        },
        "Worm.Losses.PolicyLoss.mean": {
            "value": -204.19466679053937,
            "min": -204.19466679053937,
            "max": -15.437157322180587,
            "count": 167
        },
        "Worm.Losses.PolicyLoss.sum": {
            "value": -306292.00018580904,
            "min": -306292.00018580904,
            "max": -15421.720164858407,
            "count": 167
        },
        "Worm.Losses.ValueLoss.mean": {
            "value": 0.11495992433624896,
            "min": 0.0021663563873678795,
            "max": 0.7470005407847936,
            "count": 167
        },
        "Worm.Losses.ValueLoss.sum": {
            "value": 172.43988650437345,
            "min": 3.2495345810518192,
            "max": 746.2535402440088,
            "count": 167
        },
        "Worm.Losses.Q1Loss.mean": {
            "value": 0.5074038981428377,
            "min": 0.0013980531849474502,
            "max": 0.5937736741668518,
            "count": 167
        },
        "Worm.Losses.Q1Loss.sum": {
            "value": 761.1058472142565,
            "min": 2.0970797774211754,
            "max": 890.6605112502776,
            "count": 167
        },
        "Worm.Losses.Q2Loss.mean": {
            "value": 0.5107935777027294,
            "min": 0.0013852412714052621,
            "max": 0.5926025540254107,
            "count": 167
        },
        "Worm.Losses.Q2Loss.sum": {
            "value": 766.190366554094,
            "min": 2.077861907107893,
            "max": 888.9038310381161,
            "count": 167
        },
        "Worm.Policy.ContinuousEntropyCoeff.mean": {
            "value": 0.026068585608417804,
            "min": 0.00024331948432407128,
            "max": 0.8964839441324285,
            "count": 167
        },
        "Worm.Policy.ContinuousEntropyCoeff.sum": {
            "value": 39.10287841262671,
            "min": 0.3649792264861069,
            "max": 928.5912170983295,
            "count": 167
        },
        "Worm.Policy.LearningRate.mean": {
            "value": 0.0002999999999999999,
            "min": 0.0002999999999999999,
            "max": 0.0003,
            "count": 167
        },
        "Worm.Policy.LearningRate.sum": {
            "value": 0.4499999999999999,
            "min": 0.29969999999999997,
            "max": 0.4499999999999999,
            "count": 167
        },
        "Worm.IsTraining.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 1.0,
            "count": 167
        },
        "Worm.IsTraining.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 1.0,
            "count": 167
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1660328742",
        "python_version": "3.7.13 (default, Apr 24 2022, 01:04:09) \n[GCC 7.5.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/sac/Worm.yaml --env=./trained-envs-executables/linux/Worm/Worm --run-id=Worm_poca Training --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": "1660343370"
    },
    "total": 14627.954255591,
    "count": 1,
    "self": 0.4943431060000876,
    "children": {
        "run_training.setup": {
            "total": 0.09153607400003239,
            "count": 1,
            "self": 0.09153607400003239
        },
        "TrainerController.start_learning": {
            "total": 14627.368376411,
            "count": 1,
            "self": 11.014935614664864,
            "children": {
                "TrainerController._reset_env": {
                    "total": 10.43682567199994,
                    "count": 1,
                    "self": 10.43682567199994
                },
                "TrainerController.advance": {
                    "total": 14605.670906061336,
                    "count": 501000,
                    "self": 12.623936926667739,
                    "children": {
                        "env_step": {
                            "total": 6116.305268104576,
                            "count": 501000,
                            "self": 5118.692720802552,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 991.0842804979899,
                                    "count": 501000,
                                    "self": 42.741980965219796,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 948.3422995327701,
                                            "count": 501000,
                                            "self": 165.86728738346437,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 782.4750121493057,
                                                    "count": 501000,
                                                    "self": 782.4750121493057
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 6.5282668040341605,
                                    "count": 501000,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 14604.288951316006,
                                            "count": 501000,
                                            "is_parallel": true,
                                            "self": 10215.657723722083,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.001495592999958717,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005225599999221231,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0009730330000365939,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0009730330000365939
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03857344699997611,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00028638000003411435,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00035323500003414665,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00035323500003414665
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.037199111999939305,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.037199111999939305
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0007347199999685472,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003037630000335412,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.000430956999935006,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.000430956999935006
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 4388.6312275939235,
                                                    "count": 500999,
                                                    "is_parallel": true,
                                                    "self": 108.56436615572238,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 206.92136541854018,
                                                            "count": 500999,
                                                            "is_parallel": true,
                                                            "self": 206.92136541854018
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 3789.646435978422,
                                                            "count": 500999,
                                                            "is_parallel": true,
                                                            "self": 3789.646435978422
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 283.499060041239,
                                                            "count": 500999,
                                                            "is_parallel": true,
                                                            "self": 123.14932970007453,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 160.34973034116445,
                                                                    "count": 1001998,
                                                                    "is_parallel": true,
                                                                    "self": 160.34973034116445
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 8476.741701030092,
                            "count": 501000,
                            "self": 17.138348568960282,
                            "children": {
                                "process_trajectory": {
                                    "total": 364.7331511191337,
                                    "count": 501000,
                                    "self": 362.4332111081344,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 2.2999400109993076,
                                            "count": 10,
                                            "self": 2.2999400109993076
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 8094.870201341998,
                                    "count": 500000,
                                    "self": 4.228540632383556,
                                    "children": {
                                        "SACTrainer._update_policy": {
                                            "total": 8090.641660709614,
                                            "count": 500000,
                                            "self": 2867.900305122679,
                                            "children": {
                                                "TorchSACOptimizer.update": {
                                                    "total": 5222.741355586935,
                                                    "count": 249999,
                                                    "self": 5222.741355586935
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.2589989637490362e-06,
                    "count": 1,
                    "self": 1.2589989637490362e-06
                },
                "TrainerController._save_models": {
                    "total": 0.24570780399881187,
                    "count": 1,
                    "self": 0.0028128199992352165,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.24289498399957665,
                            "count": 1,
                            "self": 0.24289498399957665
                        }
                    }
                }
            }
        }
    }
}