File size: 15,523 Bytes
e405c9a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "SoccerTwos.Policy.Entropy.mean": {
            "value": 2.6047139167785645,
            "min": 2.6047139167785645,
            "max": 3.295713424682617,
            "count": 399
        },
        "SoccerTwos.Policy.Entropy.sum": {
            "value": 33090.28515625,
            "min": 8448.662109375,
            "max": 112964.9921875,
            "count": 399
        },
        "SoccerTwos.Environment.EpisodeLength.mean": {
            "value": 999.0,
            "min": 438.8,
            "max": 999.0,
            "count": 399
        },
        "SoccerTwos.Environment.EpisodeLength.sum": {
            "value": 19980.0,
            "min": 15348.0,
            "max": 27820.0,
            "count": 399
        },
        "SoccerTwos.Self-play.ELO.mean": {
            "value": 1195.7787662324947,
            "min": 1195.169598909233,
            "max": 1207.6894166368488,
            "count": 165
        },
        "SoccerTwos.Self-play.ELO.sum": {
            "value": 2391.5575324649894,
            "min": 2390.8669109527063,
            "max": 14353.131131077156,
            "count": 165
        },
        "SoccerTwos.Step.mean": {
            "value": 3989256.0,
            "min": 9926.0,
            "max": 3989256.0,
            "count": 399
        },
        "SoccerTwos.Step.sum": {
            "value": 3989256.0,
            "min": 9926.0,
            "max": 3989256.0,
            "count": 399
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
            "value": 1.2421657629602123e-05,
            "min": -0.017404751852154732,
            "max": 0.027386397123336792,
            "count": 399
        },
        "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
            "value": 0.00012421657447703183,
            "min": -0.19520880281925201,
            "max": 0.33119234442710876,
            "count": 399
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
            "value": 1.5460480426554568e-05,
            "min": -0.01442845817655325,
            "max": 0.03021582029759884,
            "count": 399
        },
        "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
            "value": 0.00015460480062756687,
            "min": -0.18756996095180511,
            "max": 0.356469064950943,
            "count": 399
        },
        "SoccerTwos.Environment.CumulativeReward.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 399
        },
        "SoccerTwos.Environment.CumulativeReward.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 399
        },
        "SoccerTwos.Policy.ExtrinsicReward.mean": {
            "value": 0.0,
            "min": -0.5,
            "max": 0.25540000200271606,
            "count": 399
        },
        "SoccerTwos.Policy.ExtrinsicReward.sum": {
            "value": 0.0,
            "min": -8.0,
            "max": 3.575600028038025,
            "count": 399
        },
        "SoccerTwos.Environment.GroupCumulativeReward.mean": {
            "value": 0.0,
            "min": -0.5,
            "max": 0.25540000200271606,
            "count": 399
        },
        "SoccerTwos.Environment.GroupCumulativeReward.sum": {
            "value": 0.0,
            "min": -8.0,
            "max": 3.575600028038025,
            "count": 399
        },
        "SoccerTwos.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 399
        },
        "SoccerTwos.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 399
        },
        "SoccerTwos.Losses.PolicyLoss.mean": {
            "value": 0.014668615678480516,
            "min": 0.011844604785437696,
            "max": 0.023054146430513355,
            "count": 184
        },
        "SoccerTwos.Losses.PolicyLoss.sum": {
            "value": 0.014668615678480516,
            "min": 0.011844604785437696,
            "max": 0.023054146430513355,
            "count": 184
        },
        "SoccerTwos.Losses.ValueLoss.mean": {
            "value": 5.138135576269557e-09,
            "min": 5.09807039546691e-09,
            "max": 0.004275869624689221,
            "count": 184
        },
        "SoccerTwos.Losses.ValueLoss.sum": {
            "value": 5.138135576269557e-09,
            "min": 5.09807039546691e-09,
            "max": 0.004275869624689221,
            "count": 184
        },
        "SoccerTwos.Losses.BaselineLoss.mean": {
            "value": 8.624157477044036e-09,
            "min": 8.057382405723956e-09,
            "max": 0.00435616773708413,
            "count": 184
        },
        "SoccerTwos.Losses.BaselineLoss.sum": {
            "value": 8.624157477044036e-09,
            "min": 8.057382405723956e-09,
            "max": 0.00435616773708413,
            "count": 184
        },
        "SoccerTwos.Policy.LearningRate.mean": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 184
        },
        "SoccerTwos.Policy.LearningRate.sum": {
            "value": 0.0003,
            "min": 0.0003,
            "max": 0.0003,
            "count": 184
        },
        "SoccerTwos.Policy.Epsilon.mean": {
            "value": 0.20000000000000007,
            "min": 0.20000000000000007,
            "max": 0.20000000000000007,
            "count": 184
        },
        "SoccerTwos.Policy.Epsilon.sum": {
            "value": 0.20000000000000007,
            "min": 0.20000000000000007,
            "max": 0.20000000000000007,
            "count": 184
        },
        "SoccerTwos.Policy.Beta.mean": {
            "value": 0.005000000000000001,
            "min": 0.005000000000000001,
            "max": 0.005000000000000001,
            "count": 184
        },
        "SoccerTwos.Policy.Beta.sum": {
            "value": 0.005000000000000001,
            "min": 0.005000000000000001,
            "max": 0.005000000000000001,
            "count": 184
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1701284033",
        "python_version": "3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]",
        "command_line_arguments": "\\\\?\\D:\\Masters\\Git_repo\\RL_MultiAgent\\.venv_RL\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./SoccerTwos/SoccerTwos/SoccerTwos.exe --run-id=SoccerTwos --no-graphics",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.1+cpu",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1701296644"
    },
    "total": 12611.553825399955,
    "count": 1,
    "self": 1.4602283000131138,
    "children": {
        "run_training.setup": {
            "total": 0.13341069995658472,
            "count": 1,
            "self": 0.13341069995658472
        },
        "TrainerController.start_learning": {
            "total": 12609.960186399985,
            "count": 1,
            "self": 7.191418008878827,
            "children": {
                "TrainerController._reset_env": {
                    "total": 7.366831000079401,
                    "count": 20,
                    "self": 7.366831000079401
                },
                "TrainerController.advance": {
                    "total": 12595.227138291055,
                    "count": 259214,
                    "self": 7.332780057855416,
                    "children": {
                        "env_step": {
                            "total": 6708.723880513397,
                            "count": 259214,
                            "self": 5340.316998616443,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1363.5959701910033,
                                    "count": 259214,
                                    "self": 43.70745589106809,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1319.8885142999352,
                                            "count": 515210,
                                            "self": 1319.8885142999352
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 4.810911705950275,
                                    "count": 259213,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 12593.839778310678,
                                            "count": 259213,
                                            "is_parallel": true,
                                            "self": 8205.552797507844,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.0431424998678267,
                                                    "count": 40,
                                                    "is_parallel": true,
                                                    "self": 0.008815500419586897,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.0343269994482398,
                                                            "count": 160,
                                                            "is_parallel": true,
                                                            "self": 0.0343269994482398
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 4388.243838302966,
                                                    "count": 259213,
                                                    "is_parallel": true,
                                                    "self": 220.74492688645842,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 166.84153231832897,
                                                            "count": 259213,
                                                            "is_parallel": true,
                                                            "self": 166.84153231832897
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 3305.7647341149277,
                                                            "count": 259213,
                                                            "is_parallel": true,
                                                            "self": 3305.7647341149277
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 694.8926449832506,
                                                            "count": 518426,
                                                            "is_parallel": true,
                                                            "self": 129.66116266377503,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 565.2314823194756,
                                                                    "count": 2073704,
                                                                    "is_parallel": true,
                                                                    "self": 565.2314823194756
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 5879.170477719803,
                            "count": 259213,
                            "self": 52.236643325479236,
                            "children": {
                                "process_trajectory": {
                                    "total": 885.5209778941353,
                                    "count": 259213,
                                    "self": 882.8878905941965,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 2.6330872999387793,
                                            "count": 7,
                                            "self": 2.6330872999387793
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 4941.412856500188,
                                    "count": 184,
                                    "self": 620.3567591002211,
                                    "children": {
                                        "TorchPOCAOptimizer.update": {
                                            "total": 4321.056097399967,
                                            "count": 5520,
                                            "self": 4321.056097399967
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.00000761449337e-06,
                    "count": 1,
                    "self": 1.00000761449337e-06
                },
                "TrainerController._save_models": {
                    "total": 0.17479809996439144,
                    "count": 1,
                    "self": 0.010054799960926175,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.16474330000346527,
                            "count": 1,
                            "self": 0.16474330000346527
                        }
                    }
                }
            }
        }
    }
}