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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
{
    "name": "root",
    "gauges": {
        "Agent.Policy.Entropy.mean": {
            "value": 1.5063356161117554,
            "min": 1.444886326789856,
            "max": 1.5753788948059082,
            "count": 200
        },
        "Agent.Policy.Entropy.sum": {
            "value": 12870.1318359375,
            "min": 1189.5042724609375,
            "max": 25928.119140625,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.WaterDrop.mean": {
            "value": 48.0,
            "min": 0.9333333333333333,
            "max": 98.33333333333333,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.WaterDrop.sum": {
            "value": 144.0,
            "min": 3.0,
            "max": 295.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.WaterPickup.mean": {
            "value": 47.666666666666664,
            "min": 0.3333333333333333,
            "max": 98.33333333333333,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.WaterPickup.sum": {
            "value": 143.0,
            "min": 1.0,
            "max": 295.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.PreparingTreesReward.mean": {
            "value": 314.6666666666667,
            "min": 2.6666666666666665,
            "max": 1952.3333333333333,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.PreparingTreesReward.sum": {
            "value": 944.0,
            "min": 8.0,
            "max": 7869.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.PreparingTrees.mean": {
            "value": 314.6666666666667,
            "min": 2.6666666666666665,
            "max": 1952.3333333333333,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.PreparingTrees.sum": {
            "value": 944.0,
            "min": 8.0,
            "max": 7869.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.ExtinguishingTreesReward.mean": {
            "value": 45.0,
            "min": 0.0,
            "max": 592.5,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.ExtinguishingTreesReward.sum": {
            "value": 135.0,
            "min": 0.0,
            "max": 3555.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.ExtinguishingTrees.mean": {
            "value": 9.0,
            "min": 0.0,
            "max": 118.5,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.ExtinguishingTrees.sum": {
            "value": 27.0,
            "min": 0.0,
            "max": 711.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.FireOut.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 1.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.FireOut.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 6.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.FiretooClosetoCity.mean": {
            "value": 1.0,
            "min": 0.0,
            "max": 1.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.FiretooClosetoCity.sum": {
            "value": 3.0,
            "min": 0.0,
            "max": 6.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.CrashCount.mean": {
            "value": 0.3333333333333333,
            "min": 0.0,
            "max": 1.0,
            "count": 200
        },
        "Agent.AerialWildfireSuppression.CrashCount.sum": {
            "value": 1.0,
            "min": 0.0,
            "max": 36.0,
            "count": 200
        },
        "Agent.Environment.LessonNumber.difficulty.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 200
        },
        "Agent.Environment.LessonNumber.difficulty.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.Environment.EpisodeLength.mean": {
            "value": 2846.0,
            "min": 170.0,
            "max": 2999.0,
            "count": 200
        },
        "Agent.Environment.EpisodeLength.sum": {
            "value": 8538.0,
            "min": 510.0,
            "max": 16992.0,
            "count": 200
        },
        "Agent.Step.mean": {
            "value": 1798101.0,
            "min": 8919.0,
            "max": 1798101.0,
            "count": 200
        },
        "Agent.Step.sum": {
            "value": 1798101.0,
            "min": 8919.0,
            "max": 1798101.0,
            "count": 200
        },
        "Agent.Policy.ExtrinsicValueEstimate.mean": {
            "value": 24.746231079101562,
            "min": -8.781340599060059,
            "max": 91.1858901977539,
            "count": 200
        },
        "Agent.Policy.ExtrinsicValueEstimate.sum": {
            "value": 74.23869323730469,
            "min": -193.18948364257812,
            "max": 453.51129150390625,
            "count": 200
        },
        "Agent.Environment.CumulativeReward.mean": {
            "value": 225.66666666666666,
            "min": -44.0,
            "max": 2069.3333333333335,
            "count": 200
        },
        "Agent.Environment.CumulativeReward.sum": {
            "value": 677.0,
            "min": -132.0,
            "max": 7683.0,
            "count": 200
        },
        "Agent.Policy.ExtrinsicReward.mean": {
            "value": 225.66666666666666,
            "min": -44.0,
            "max": 2069.3333333333335,
            "count": 200
        },
        "Agent.Policy.ExtrinsicReward.sum": {
            "value": 677.0,
            "min": -132.0,
            "max": 7683.0,
            "count": 200
        },
        "Agent.Losses.PolicyLoss.mean": {
            "value": 0.04740692746958562,
            "min": 0.031873715381758906,
            "max": 0.06039601401425898,
            "count": 191
        },
        "Agent.Losses.PolicyLoss.sum": {
            "value": 0.04740692746958562,
            "min": 0.031873715381758906,
            "max": 0.10932220583910951,
            "count": 191
        },
        "Agent.Losses.ValueLoss.mean": {
            "value": 1222.3649491083054,
            "min": 13.772006629762195,
            "max": 3429.6240494073604,
            "count": 191
        },
        "Agent.Losses.ValueLoss.sum": {
            "value": 1222.3649491083054,
            "min": 13.772006629762195,
            "max": 6859.248098814721,
            "count": 191
        },
        "Agent.Policy.LearningRate.mean": {
            "value": 7.910997363333192e-07,
            "min": 7.910997363333192e-07,
            "max": 0.00029914950028350003,
            "count": 191
        },
        "Agent.Policy.LearningRate.sum": {
            "value": 7.910997363333192e-07,
            "min": 7.910997363333192e-07,
            "max": 0.0005960985013005,
            "count": 191
        },
        "Agent.Policy.Epsilon.mean": {
            "value": 0.10026366666666668,
            "min": 0.10026366666666668,
            "max": 0.19971650000000002,
            "count": 191
        },
        "Agent.Policy.Epsilon.sum": {
            "value": 0.10026366666666668,
            "min": 0.10026366666666668,
            "max": 0.39869950000000004,
            "count": 191
        },
        "Agent.Policy.Beta.mean": {
            "value": 2.315696666666644e-05,
            "min": 2.315696666666644e-05,
            "max": 0.00498585335,
            "count": 191
        },
        "Agent.Policy.Beta.sum": {
            "value": 2.315696666666644e-05,
            "min": 2.315696666666644e-05,
            "max": 0.009935105050000002,
            "count": 191
        },
        "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": "1717622496",
        "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/AerialWildfireSuppression_difficulty_2_task_0_run_id_2_train.yaml --run-id=AerialWildfireSuppression/train/AerialWildfireSuppression_difficulty_2_task_0_run_id_2_train --base-port 5009",
        "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.0",
        "end_time_seconds": "1717627335"
    },
    "total": 4839.0790407,
    "count": 1,
    "self": 0.19973120000031486,
    "children": {
        "run_training.setup": {
            "total": 0.05488470000000001,
            "count": 1,
            "self": 0.05488470000000001
        },
        "TrainerController.start_learning": {
            "total": 4838.8244248,
            "count": 1,
            "self": 10.906491600073423,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.1990738,
                    "count": 1,
                    "self": 2.1990738
                },
                "TrainerController.advance": {
                    "total": 4825.649030099926,
                    "count": 601269,
                    "self": 10.449534800115543,
                    "children": {
                        "env_step": {
                            "total": 4815.19949529981,
                            "count": 601269,
                            "self": 2507.5997504000516,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 2300.4389302998297,
                                    "count": 601269,
                                    "self": 19.46055629979128,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 2280.9783740000385,
                                            "count": 601269,
                                            "self": 2280.9783740000385
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 7.1608145999290755,
                                    "count": 601269,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 4824.608308300067,
                                            "count": 601269,
                                            "is_parallel": true,
                                            "self": 2819.4449805997115,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.007280999999999871,
                                                    "count": 1,
                                                    "is_parallel": true,
                                                    "self": 0.00011659999999991122,
                                                    "children": {
                                                        "_process_maybe_compressed_observation": {
                                                            "total": 0.007078700000000104,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 4.519999999996749e-05,
                                                            "children": {
                                                                "_observation_to_np_array": {
                                                                    "total": 0.007033500000000137,
                                                                    "count": 3,
                                                                    "is_parallel": true,
                                                                    "self": 3.3600000000300057e-05,
                                                                    "children": {
                                                                        "process_pixels": {
                                                                            "total": 0.006999899999999837,
                                                                            "count": 3,
                                                                            "is_parallel": true,
                                                                            "self": 0.0001825999999998107,
                                                                            "children": {
                                                                                "image_decompress": {
                                                                                    "total": 0.006817300000000026,
                                                                                    "count": 3,
                                                                                    "is_parallel": true,
                                                                                    "self": 0.006817300000000026
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        },
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 8.569999999985534e-05,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 8.569999999985534e-05
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 2005.1560467003553,
                                                    "count": 601269,
                                                    "is_parallel": true,
                                                    "self": 34.471848900051555,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 34.83540980006076,
                                                            "count": 601269,
                                                            "is_parallel": true,
                                                            "self": 34.83540980006076
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1655.2168649001978,
                                                            "count": 601269,
                                                            "is_parallel": true,
                                                            "self": 1655.2168649001978
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 280.63192310004524,
                                                            "count": 601269,
                                                            "is_parallel": true,
                                                            "self": 59.28953040032607,
                                                            "children": {
                                                                "_process_maybe_compressed_observation": {
                                                                    "total": 192.63530729951296,
                                                                    "count": 1202538,
                                                                    "is_parallel": true,
                                                                    "self": 18.35347279960294,
                                                                    "children": {
                                                                        "_observation_to_np_array": {
                                                                            "total": 174.28183449991002,
                                                                            "count": 1804857,
                                                                            "is_parallel": true,
                                                                            "self": 15.468749799846364,
                                                                            "children": {
                                                                                "process_pixels": {
                                                                                    "total": 158.81308470006365,
                                                                                    "count": 1804857,
                                                                                    "is_parallel": true,
                                                                                    "self": 57.49916900007004,
                                                                                    "children": {
                                                                                        "image_decompress": {
                                                                                            "total": 101.31391569999361,
                                                                                            "count": 1804857,
                                                                                            "is_parallel": true,
                                                                                            "self": 101.31391569999361
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                },
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 28.707085400206218,
                                                                    "count": 1202538,
                                                                    "is_parallel": true,
                                                                    "self": 28.707085400206218
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.9200000426499173e-05,
                    "count": 1,
                    "self": 2.9200000426499173e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 4834.038537099916,
                                    "count": 252618,
                                    "is_parallel": true,
                                    "self": 11.553948600072545,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 4022.30766049984,
                                            "count": 252618,
                                            "is_parallel": true,
                                            "self": 4022.0236028998397,
                                            "children": {
                                                "RLTrainer._checkpoint": {
                                                    "total": 0.2840576000000965,
                                                    "count": 3,
                                                    "is_parallel": true,
                                                    "self": 0.2840576000000965
                                                }
                                            }
                                        },
                                        "_update_policy": {
                                            "total": 800.1769280000035,
                                            "count": 223,
                                            "is_parallel": true,
                                            "self": 192.83825259999594,
                                            "children": {
                                                "TorchPPOOptimizer.update": {
                                                    "total": 607.3386754000076,
                                                    "count": 20772,
                                                    "is_parallel": true,
                                                    "self": 607.3386754000076
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.06980010000006587,
                    "count": 1,
                    "self": 0.005752600000050734,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.06404750000001513,
                            "count": 1,
                            "self": 0.06404750000001513
                        }
                    }
                }
            }
        }
    }
}