File size: 17,915 Bytes
b032e56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
        "Worm.Policy.Entropy.mean": {
            "value": 0.7784916162490845,
            "min": 0.7784916162490845,
            "max": 1.4219838380813599,
            "count": 233
        },
        "Worm.Policy.Entropy.sum": {
            "value": 23354.748046875,
            "min": 23354.748046875,
            "max": 42659.515625,
            "count": 233
        },
        "Worm.Environment.EpisodeLength.mean": {
            "value": 999.0,
            "min": 999.0,
            "max": 999.0,
            "count": 233
        },
        "Worm.Environment.EpisodeLength.sum": {
            "value": 29970.0,
            "min": 29970.0,
            "max": 29970.0,
            "count": 233
        },
        "Worm.Step.mean": {
            "value": 6989000.0,
            "min": 29000.0,
            "max": 6989000.0,
            "count": 233
        },
        "Worm.Step.sum": {
            "value": 6989000.0,
            "min": 29000.0,
            "max": 6989000.0,
            "count": 233
        },
        "Worm.Policy.ExtrinsicValueEstimate.mean": {
            "value": 202.9247283935547,
            "min": 0.01259304117411375,
            "max": 203.29966735839844,
            "count": 233
        },
        "Worm.Policy.ExtrinsicValueEstimate.sum": {
            "value": 6087.74169921875,
            "min": 0.36519819498062134,
            "max": 6098.990234375,
            "count": 233
        },
        "Worm.Environment.CumulativeReward.mean": {
            "value": 1013.4622904459635,
            "min": 0.3143450379371643,
            "max": 1021.7390157063802,
            "count": 233
        },
        "Worm.Environment.CumulativeReward.sum": {
            "value": 30403.868713378906,
            "min": 9.43035113811493,
            "max": 30652.170471191406,
            "count": 233
        },
        "Worm.Policy.ExtrinsicReward.mean": {
            "value": 1013.4622904459635,
            "min": 0.3143450379371643,
            "max": 1021.7390157063802,
            "count": 233
        },
        "Worm.Policy.ExtrinsicReward.sum": {
            "value": 30403.868713378906,
            "min": 9.43035113811493,
            "max": 30652.170471191406,
            "count": 233
        },
        "Worm.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 233
        },
        "Worm.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 233
        },
        "Worm.Losses.PolicyLoss.mean": {
            "value": 0.018705306258847747,
            "min": 0.011666780612358707,
            "max": 0.022495340845558702,
            "count": 232
        },
        "Worm.Losses.PolicyLoss.sum": {
            "value": 0.018705306258847747,
            "min": 0.011666780612358707,
            "max": 0.022495340845558702,
            "count": 232
        },
        "Worm.Losses.ValueLoss.mean": {
            "value": 9.459565594082786,
            "min": 0.0010827409236558846,
            "max": 10.137754576546806,
            "count": 232
        },
        "Worm.Losses.ValueLoss.sum": {
            "value": 9.459565594082786,
            "min": 0.0010827409236558846,
            "max": 10.137754576546806,
            "count": 232
        },
        "Worm.Policy.LearningRate.mean": {
            "value": 1.7143851428571302e-06,
            "min": 1.7143851428571302e-06,
            "max": 0.00029871428614285713,
            "count": 232
        },
        "Worm.Policy.LearningRate.sum": {
            "value": 1.7143851428571302e-06,
            "min": 1.7143851428571302e-06,
            "max": 0.00029871428614285713,
            "count": 232
        },
        "Worm.Policy.Epsilon.mean": {
            "value": 0.10057142857142858,
            "min": 0.10057142857142858,
            "max": 0.1995714285714285,
            "count": 232
        },
        "Worm.Policy.Epsilon.sum": {
            "value": 0.10057142857142858,
            "min": 0.10057142857142858,
            "max": 0.1995714285714285,
            "count": 232
        },
        "Worm.Policy.Beta.mean": {
            "value": 3.851428571428551e-05,
            "min": 3.851428571428551e-05,
            "max": 0.004978614285714285,
            "count": 232
        },
        "Worm.Policy.Beta.sum": {
            "value": 3.851428571428551e-05,
            "min": 3.851428571428551e-05,
            "max": 0.004978614285714285,
            "count": 232
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1659453516",
        "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/ppo/Worm.yaml --env=./trained-envs-executables/linux/Worm/Worm --run-id=Worm Training --no-graphics --force",
        "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": "1659462512"
    },
    "total": 8995.771561403,
    "count": 1,
    "self": 0.741096113999447,
    "children": {
        "run_training.setup": {
            "total": 0.042183251000039945,
            "count": 1,
            "self": 0.042183251000039945
        },
        "TrainerController.start_learning": {
            "total": 8994.988282038,
            "count": 1,
            "self": 12.892341692166156,
            "children": {
                "TrainerController._reset_env": {
                    "total": 10.740238612000041,
                    "count": 1,
                    "self": 10.740238612000041
                },
                "TrainerController.advance": {
                    "total": 8971.173633062834,
                    "count": 701000,
                    "self": 13.966721705071905,
                    "children": {
                        "env_step": {
                            "total": 7340.45100133714,
                            "count": 701000,
                            "self": 6455.351455167991,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 877.7942747330039,
                                    "count": 701000,
                                    "self": 58.253109475343535,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 819.5411652576604,
                                            "count": 701000,
                                            "self": 200.3035525460997,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 619.2376127115607,
                                                    "count": 701000,
                                                    "self": 619.2376127115607
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 7.3052714361447215,
                                    "count": 701000,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 8971.656140016956,
                                            "count": 701000,
                                            "is_parallel": true,
                                            "self": 3332.551782359117,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0010601939999901333,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003523080000036316,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0007078859999865017,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007078859999865017
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03167921399995066,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00022677499998735584,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00038847399997621324,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00038847399997621324
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.030456693000019186,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.030456693000019186
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0006072719999679066,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023805799997944632,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0003692139999884603,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0003692139999884603
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 5639.104357657839,
                                                    "count": 700999,
                                                    "is_parallel": true,
                                                    "self": 117.12143661106256,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 217.8659228667135,
                                                            "count": 700999,
                                                            "is_parallel": true,
                                                            "self": 217.8659228667135
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 4998.457329542849,
                                                            "count": 700999,
                                                            "is_parallel": true,
                                                            "self": 4998.457329542849
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 305.659668637213,
                                                            "count": 700999,
                                                            "is_parallel": true,
                                                            "self": 121.55736080698006,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 184.10230783023292,
                                                                    "count": 1401998,
                                                                    "is_parallel": true,
                                                                    "self": 184.10230783023292
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1616.7559100206222,
                            "count": 701000,
                            "self": 16.457498541665018,
                            "children": {
                                "process_trajectory": {
                                    "total": 449.07167765495905,
                                    "count": 701000,
                                    "self": 447.31840060795713,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 1.753277047001916,
                                            "count": 14,
                                            "self": 1.753277047001916
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 1151.226733823998,
                                    "count": 233,
                                    "self": 976.0100798929137,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 175.21665393108435,
                                            "count": 9786,
                                            "self": 175.21665393108435
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.5810001059435308e-06,
                    "count": 1,
                    "self": 1.5810001059435308e-06
                },
                "TrainerController._save_models": {
                    "total": 0.18206709000151022,
                    "count": 1,
                    "self": 0.0033652130023256177,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.1787018769991846,
                            "count": 1,
                            "self": 0.1787018769991846
                        }
                    }
                }
            }
        }
    }
}