File size: 16,438 Bytes
7acfb93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "Agent.Policy.Entropy.mean": {
            "value": 1.0411146879196167,
            "min": 0.8897978663444519,
            "max": 1.0955674648284912,
            "count": 200
        },
        "Agent.Policy.Entropy.sum": {
            "value": 41644.5859375,
            "min": 35591.9140625,
            "max": 43866.5234375,
            "count": 200
        },
        "Agent.Environment.LessonNumber.pattern.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 200
        },
        "Agent.Environment.LessonNumber.pattern.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 200
        },
        "Agent.Environment.LessonNumber.task.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 200
        },
        "Agent.Environment.LessonNumber.task.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 200
        },
        "Agent.Step.mean": {
            "value": 7999096.0,
            "min": 39096.0,
            "max": 7999096.0,
            "count": 200
        },
        "Agent.Step.sum": {
            "value": 7999096.0,
            "min": 39096.0,
            "max": 7999096.0,
            "count": 200
        },
        "Agent.Policy.ExtrinsicValueEstimate.mean": {
            "value": 9.216448783874512,
            "min": 0.3187240660190582,
            "max": 9.533919334411621,
            "count": 200
        },
        "Agent.Policy.ExtrinsicValueEstimate.sum": {
            "value": 221.1947784423828,
            "min": 7.649377822875977,
            "max": 228.81405639648438,
            "count": 200
        },
        "Agent.Losses.PolicyLoss.mean": {
            "value": 0.04835934573987735,
            "min": 0.044899650071913905,
            "max": 0.05528877122479672,
            "count": 200
        },
        "Agent.Losses.PolicyLoss.sum": {
            "value": 0.14507803721963206,
            "min": 0.1028348121617455,
            "max": 0.16586631367439017,
            "count": 200
        },
        "Agent.Losses.ValueLoss.mean": {
            "value": 0.2553932647362152,
            "min": 0.08848272813373202,
            "max": 1.3383621831114094,
            "count": 200
        },
        "Agent.Losses.ValueLoss.sum": {
            "value": 0.7661797942086456,
            "min": 0.26544818440119605,
            "max": 2.676724366222819,
            "count": 200
        },
        "Agent.Policy.LearningRate.mean": {
            "value": 8.856997047999973e-07,
            "min": 8.856997047999973e-07,
            "max": 0.00029907840030719997,
            "count": 200
        },
        "Agent.Policy.LearningRate.sum": {
            "value": 2.657099114399992e-06,
            "min": 2.657099114399992e-06,
            "max": 0.0008936568021144,
            "count": 200
        },
        "Agent.Policy.Epsilon.mean": {
            "value": 0.10029520000000001,
            "min": 0.10029520000000001,
            "max": 0.1996928,
            "count": 200
        },
        "Agent.Policy.Epsilon.sum": {
            "value": 0.30088560000000003,
            "min": 0.30088560000000003,
            "max": 0.5978856,
            "count": 200
        },
        "Agent.Policy.Beta.mean": {
            "value": 2.4730479999999958e-05,
            "min": 2.4730479999999958e-05,
            "max": 0.004984670720000001,
            "count": 200
        },
        "Agent.Policy.Beta.sum": {
            "value": 7.419143999999988e-05,
            "min": 7.419143999999988e-05,
            "max": 0.014894491440000001,
            "count": 200
        },
        "Agent.Environment.EpisodeLength.mean": {
            "value": 4999.0,
            "min": 4999.0,
            "max": 4999.0,
            "count": 200
        },
        "Agent.Environment.EpisodeLength.sum": {
            "value": 39992.0,
            "min": 39992.0,
            "max": 39992.0,
            "count": 200
        },
        "Agent.WindFarmControl.IndividualPerformance.mean": {
            "value": 4560.075744628906,
            "min": 264.98859548568726,
            "max": 4703.660583496094,
            "count": 200
        },
        "Agent.WindFarmControl.IndividualPerformance.sum": {
            "value": 36480.60595703125,
            "min": 2119.908763885498,
            "max": 37629.28466796875,
            "count": 200
        },
        "Agent.Environment.CumulativeReward.mean": {
            "value": 4555.581016540527,
            "min": 270.6974517374753,
            "max": 4678.846115112305,
            "count": 200
        },
        "Agent.Environment.CumulativeReward.sum": {
            "value": 36444.64813232422,
            "min": 2165.5796138998026,
            "max": 37430.76892089844,
            "count": 200
        },
        "Agent.Policy.ExtrinsicReward.mean": {
            "value": 4555.581016540527,
            "min": 270.6974517374753,
            "max": 4678.846115112305,
            "count": 200
        },
        "Agent.Policy.ExtrinsicReward.sum": {
            "value": 36444.64813232422,
            "min": 2165.5796138998026,
            "max": 37430.76892089844,
            "count": 200
        },
        "Agent.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 200
        },
        "Agent.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 200
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1715321159",
        "python_version": "3.9.18 (main, Sep 11 2023, 14:09:26) [MSC v.1916 64 bit (AMD64)]",
        "command_line_arguments": "C:\\Users\\pdsie\\anaconda3\\envs\\mlagents20\\Scripts\\mlagents-learn c:/users/pdsie/documents/hivex/src/hivex/training/baseline/ml_agents/configs/mlagents/tmp/train/WindFarmControl_pattern_4_task_0_run_id_2_train.yaml --run-id=WindFarmControl/train/WindFarmControl_pattern_4_task_0_run_id_2_train",
        "mlagents_version": "0.30.0",
        "mlagents_envs_version": "0.30.0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.7.1+cu110",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1715324775"
    },
    "total": 3615.85765,
    "count": 1,
    "self": 0.14807340000015756,
    "children": {
        "run_training.setup": {
            "total": 0.04615530000000001,
            "count": 1,
            "self": 0.04615530000000001
        },
        "TrainerController.start_learning": {
            "total": 3615.6634212999998,
            "count": 1,
            "self": 10.051278000053571,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.8622021,
                    "count": 1,
                    "self": 2.8622021
                },
                "TrainerController.advance": {
                    "total": 3602.724098799946,
                    "count": 1002050,
                    "self": 9.675212799854762,
                    "children": {
                        "env_step": {
                            "total": 3593.0488860000914,
                            "count": 1002050,
                            "self": 1634.1075297999257,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1953.6686789001872,
                                    "count": 1002050,
                                    "self": 25.19033400019339,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1928.4783448999938,
                                            "count": 1002050,
                                            "self": 1928.4783448999938
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 5.272677299978633,
                                    "count": 1002050,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 3597.401679599778,
                                            "count": 1002050,
                                            "is_parallel": true,
                                            "self": 2629.832989799741,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.00024040000000002948,
                                                    "count": 1,
                                                    "is_parallel": true,
                                                    "self": 0.00011179999999999524,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.00012860000000003424,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 0.00012860000000003424
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 967.5684494000373,
                                                    "count": 1002050,
                                                    "is_parallel": true,
                                                    "self": 45.95579939999277,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 63.92699119974378,
                                                            "count": 1002050,
                                                            "is_parallel": true,
                                                            "self": 63.92699119974378
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 734.384588600184,
                                                            "count": 1002050,
                                                            "is_parallel": true,
                                                            "self": 734.384588600184
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 123.30107020011667,
                                                            "count": 1002050,
                                                            "is_parallel": true,
                                                            "self": 68.05727880013004,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 55.243791399986634,
                                                                    "count": 2004100,
                                                                    "is_parallel": true,
                                                                    "self": 55.243791399986634
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.499999982319423e-05,
                    "count": 1,
                    "self": 2.499999982319423e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 3611.9609419999456,
                                    "count": 117825,
                                    "is_parallel": true,
                                    "self": 4.313278599895966,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 2026.9295145000467,
                                            "count": 117825,
                                            "is_parallel": true,
                                            "self": 2026.5375685000463,
                                            "children": {
                                                "RLTrainer._checkpoint": {
                                                    "total": 0.39194600000041646,
                                                    "count": 16,
                                                    "is_parallel": true,
                                                    "self": 0.39194600000041646
                                                }
                                            }
                                        },
                                        "_update_policy": {
                                            "total": 1580.718148900003,
                                            "count": 600,
                                            "is_parallel": true,
                                            "self": 569.663019399938,
                                            "children": {
                                                "TorchPPOOptimizer.update": {
                                                    "total": 1011.0551295000649,
                                                    "count": 93600,
                                                    "is_parallel": true,
                                                    "self": 1011.0551295000649
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.02581740000005084,
                    "count": 1,
                    "self": 0.005632200000036391,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.020185200000014447,
                            "count": 1,
                            "self": 0.020185200000014447
                        }
                    }
                }
            }
        }
    }
}