File size: 17,677 Bytes
811a2a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
        "ShooterBasic.Policy.Entropy.mean": {
            "value": 1.4824821949005127,
            "min": 1.0895097255706787,
            "max": 2.638326644897461,
            "count": 250
        },
        "ShooterBasic.Policy.Entropy.sum": {
            "value": 2963.48193359375,
            "min": 2180.10888671875,
            "max": 5279.29150390625,
            "count": 250
        },
        "ShooterBasic.Step.mean": {
            "value": 499998.0,
            "min": 1998.0,
            "max": 499998.0,
            "count": 250
        },
        "ShooterBasic.Step.sum": {
            "value": 499998.0,
            "min": 1998.0,
            "max": 499998.0,
            "count": 250
        },
        "ShooterBasic.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.006963093765079975,
            "min": -0.21738854050636292,
            "max": 0.023092469200491905,
            "count": 250
        },
        "ShooterBasic.Policy.ExtrinsicValueEstimate.sum": {
            "value": -4.644383430480957,
            "min": -145.86770629882812,
            "max": 15.402676582336426,
            "count": 250
        },
        "ShooterBasic.Losses.PolicyLoss.mean": {
            "value": 0.12747625884852218,
            "min": 0.10908348486797573,
            "max": 0.15455300048051868,
            "count": 250
        },
        "ShooterBasic.Losses.PolicyLoss.sum": {
            "value": 1.0198100707881774,
            "min": 0.786331330309622,
            "max": 1.2364240038441494,
            "count": 250
        },
        "ShooterBasic.Losses.ValueLoss.mean": {
            "value": 9.136862847934173e-07,
            "min": 5.960540469066948e-08,
            "max": 0.02674982081483298,
            "count": 250
        },
        "ShooterBasic.Losses.ValueLoss.sum": {
            "value": 7.309490278347338e-06,
            "min": 4.768432375253558e-07,
            "max": 0.21399856651866384,
            "count": 250
        },
        "ShooterBasic.Policy.LearningRate.mean": {
            "value": 5.972498009499977e-07,
            "min": 5.972498009499977e-07,
            "max": 0.00029938080020639997,
            "count": 250
        },
        "ShooterBasic.Policy.LearningRate.sum": {
            "value": 4.777998407599982e-06,
            "min": 4.777998407599982e-06,
            "max": 0.0023857572047476,
            "count": 250
        },
        "ShooterBasic.Policy.Epsilon.mean": {
            "value": 0.10019905000000001,
            "min": 0.10019905000000001,
            "max": 0.19979360000000002,
            "count": 250
        },
        "ShooterBasic.Policy.Epsilon.sum": {
            "value": 0.8015924000000001,
            "min": 0.7069943999999999,
            "max": 1.5952524000000001,
            "count": 250
        },
        "ShooterBasic.Policy.Beta.mean": {
            "value": 1.9932594999999962e-05,
            "min": 1.9932594999999962e-05,
            "max": 0.00498970064,
            "count": 250
        },
        "ShooterBasic.Policy.Beta.sum": {
            "value": 0.0001594607599999997,
            "min": 0.0001594607599999997,
            "max": 0.039763094760000006,
            "count": 250
        },
        "ShooterBasic.Environment.EpisodeLength.mean": {
            "value": 2499.0,
            "min": 31.161290322580644,
            "max": 2499.0,
            "count": 205
        },
        "ShooterBasic.Environment.EpisodeLength.sum": {
            "value": 2499.0,
            "min": 146.0,
            "max": 4250.0,
            "count": 205
        },
        "ShooterBasic.Environment.CumulativeReward.mean": {
            "value": -0.9995999505044892,
            "min": -2.879599778330885,
            "max": 1.8279999308288097,
            "count": 205
        },
        "ShooterBasic.Environment.CumulativeReward.sum": {
            "value": -0.9995999505044892,
            "min": -63.19960029050708,
            "max": 2.3895999547094107,
            "count": 205
        },
        "ShooterBasic.Policy.ExtrinsicReward.mean": {
            "value": -0.9995999505044892,
            "min": -2.879599778330885,
            "max": 1.8279999308288097,
            "count": 205
        },
        "ShooterBasic.Policy.ExtrinsicReward.sum": {
            "value": -0.9995999505044892,
            "min": -63.19960029050708,
            "max": 2.3895999547094107,
            "count": 205
        },
        "ShooterBasic.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 250
        },
        "ShooterBasic.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 250
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1692209791",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/ShooterOrange.yaml --env=./training-envs-executables/linux/Shooter_00/Shooter_00 --run-id=Shooter01 --no-graphics",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1692212778"
    },
    "total": 2987.562962117,
    "count": 1,
    "self": 0.5939823600001546,
    "children": {
        "run_training.setup": {
            "total": 0.0525785629999973,
            "count": 1,
            "self": 0.0525785629999973
        },
        "TrainerController.start_learning": {
            "total": 2986.916401194,
            "count": 1,
            "self": 11.806434428058765,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.626698766000004,
                    "count": 1,
                    "self": 1.626698766000004
                },
                "TrainerController.advance": {
                    "total": 2973.3964364819412,
                    "count": 500309,
                    "self": 10.706079446877084,
                    "children": {
                        "env_step": {
                            "total": 2362.8686963399596,
                            "count": 500309,
                            "self": 1719.2106472249543,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 636.6136659698503,
                                    "count": 500309,
                                    "self": 33.50798116086196,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 603.1056848089884,
                                            "count": 500001,
                                            "self": 603.1056848089884
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 7.044383145154939,
                                    "count": 500309,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 2965.624904697787,
                                            "count": 500309,
                                            "is_parallel": true,
                                            "self": 1816.9000337049486,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.005608940999991319,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0048137390000420055,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0007952019999493132,
                                                                    "count": 4,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007952019999493132
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.026568327000006775,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0001840620000166382,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00024291500000117594,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00024291500000117594
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.025493911000012304,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.025493911000012304
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0006474389999766572,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003238440000359333,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.00032359499994072394,
                                                                            "count": 4,
                                                                            "is_parallel": true,
                                                                            "self": 0.00032359499994072394
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1148.7248709928383,
                                                    "count": 500308,
                                                    "is_parallel": true,
                                                    "self": 53.21501695778875,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 42.855336293951666,
                                                            "count": 500308,
                                                            "is_parallel": true,
                                                            "self": 42.855336293951666
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 823.2242927070469,
                                                            "count": 500308,
                                                            "is_parallel": true,
                                                            "self": 823.2242927070469
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 229.43022503405103,
                                                            "count": 500308,
                                                            "is_parallel": true,
                                                            "self": 126.35356219302241,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 103.07666284102862,
                                                                    "count": 2001232,
                                                                    "is_parallel": true,
                                                                    "self": 103.07666284102862
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 599.8216606951044,
                            "count": 500309,
                            "self": 12.822596677169713,
                            "children": {
                                "process_trajectory": {
                                    "total": 259.8214377189371,
                                    "count": 500309,
                                    "self": 259.6711001989371,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.15033751999999367,
                                            "count": 1,
                                            "self": 0.15033751999999367
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 327.1776262989976,
                                    "count": 1937,
                                    "self": 126.58520726297724,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 200.59241903602037,
                                            "count": 46488,
                                            "self": 200.59241903602037
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.1980000635958277e-06,
                    "count": 1,
                    "self": 1.1980000635958277e-06
                },
                "TrainerController._save_models": {
                    "total": 0.08683031999999002,
                    "count": 1,
                    "self": 0.0005780699998467753,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08625225000014325,
                            "count": 1,
                            "self": 0.08625225000014325
                        }
                    }
                }
            }
        }
    }
}