File size: 14,472 Bytes
1f091b8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "Crawler.Policy.Entropy.mean": {
            "value": 1.2496061325073242,
            "min": 1.2496057748794556,
            "max": 1.4187427759170532,
            "count": 333
        },
        "Crawler.Policy.Entropy.sum": {
            "value": 37488.18359375,
            "min": 35124.23828125,
            "max": 44984.64453125,
            "count": 333
        },
        "Crawler.Environment.EpisodeLength.mean": {
            "value": 999.0,
            "min": 6.280029119145838,
            "max": 999.0,
            "count": 333
        },
        "Crawler.Environment.EpisodeLength.sum": {
            "value": 29970.0,
            "min": 25880.0,
            "max": 30867.0,
            "count": 333
        },
        "Crawler.Step.mean": {
            "value": 9989355.0,
            "min": 29994.0,
            "max": 9989355.0,
            "count": 333
        },
        "Crawler.Step.sum": {
            "value": 9989355.0,
            "min": 29994.0,
            "max": 9989355.0,
            "count": 333
        },
        "Crawler.Policy.ExtrinsicValueEstimate.mean": {
            "value": 543.0842895507812,
            "min": -0.9754056930541992,
            "max": 644.7567138671875,
            "count": 333
        },
        "Crawler.Policy.ExtrinsicValueEstimate.sum": {
            "value": 16292.529296875,
            "min": -3863.58203125,
            "max": 19817.427734375,
            "count": 333
        },
        "Crawler.Environment.CumulativeReward.mean": {
            "value": 2699.875163777669,
            "min": -0.9966317880211525,
            "max": 3193.4734334309896,
            "count": 333
        },
        "Crawler.Environment.CumulativeReward.sum": {
            "value": 80996.25491333008,
            "min": -4106.122966647148,
            "max": 95804.20300292969,
            "count": 333
        },
        "Crawler.Policy.ExtrinsicReward.mean": {
            "value": 2699.875163777669,
            "min": -0.9966317880211525,
            "max": 3193.4734334309896,
            "count": 333
        },
        "Crawler.Policy.ExtrinsicReward.sum": {
            "value": 80996.25491333008,
            "min": -4106.122966647148,
            "max": 95804.20300292969,
            "count": 333
        },
        "Crawler.Losses.PolicyLoss.mean": {
            "value": 0.01621496935331379,
            "min": 0.011323035595705733,
            "max": 0.02383574066722455,
            "count": 333
        },
        "Crawler.Losses.PolicyLoss.sum": {
            "value": 0.03242993870662758,
            "min": 0.011323035595705733,
            "max": 0.04382150264379258,
            "count": 333
        },
        "Crawler.Losses.ValueLoss.mean": {
            "value": 315.69726842244467,
            "min": 0.008139611947505425,
            "max": 739.1517125447591,
            "count": 333
        },
        "Crawler.Losses.ValueLoss.sum": {
            "value": 631.3945368448893,
            "min": 0.0153298440699776,
            "max": 1478.3034250895182,
            "count": 333
        },
        "Crawler.Policy.LearningRate.mean": {
            "value": 8.144497285499859e-07,
            "min": 8.144497285499859e-07,
            "max": 0.0002993854802048401,
            "count": 333
        },
        "Crawler.Policy.LearningRate.sum": {
            "value": 1.6288994570999717e-06,
            "min": 1.6288994570999717e-06,
            "max": 0.0005956972514342499,
            "count": 333
        },
        "Crawler.Policy.Epsilon.mean": {
            "value": 0.10027145000000004,
            "min": 0.10027145000000004,
            "max": 0.19979515999999997,
            "count": 333
        },
        "Crawler.Policy.Epsilon.sum": {
            "value": 0.20054290000000008,
            "min": 0.10058348000000002,
            "max": 0.39856574999999994,
            "count": 333
        },
        "Crawler.Policy.Beta.mean": {
            "value": 2.3545354999999763e-05,
            "min": 2.3545354999999763e-05,
            "max": 0.004989778484000002,
            "count": 333
        },
        "Crawler.Policy.Beta.sum": {
            "value": 4.7090709999999526e-05,
            "min": 3.911565200000015e-05,
            "max": 0.009928430924999999,
            "count": 333
        },
        "Crawler.IsTraining.mean": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 333
        },
        "Crawler.IsTraining.sum": {
            "value": 1.0,
            "min": 1.0,
            "max": 1.0,
            "count": 333
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1657940144",
        "python_version": "3.8.13 (default, Mar 28 2022, 06:16:26) \n[Clang 12.0.0 ]",
        "command_line_arguments": "/usr/local/Caskroom/miniconda/base/envs/ml-agents/bin/mlagents-learn ./config/ppo/Crawler.yaml --run-id=firstCrawlerRun2 --env=./trained-envs-executables/macos/crawler/crawler --no-graphics",
        "mlagents_version": "0.29.0.dev0",
        "mlagents_envs_version": "0.29.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.8.1",
        "numpy_version": "1.22.3",
        "end_time_seconds": "1657953290"
    },
    "total": 13145.160775676999,
    "count": 1,
    "self": 2.665349953000259,
    "children": {
        "run_training.setup": {
            "total": 0.12322844799999988,
            "count": 1,
            "self": 0.12322844799999988
        },
        "TrainerController.start_learning": {
            "total": 13142.372197276,
            "count": 1,
            "self": 17.56792155043513,
            "children": {
                "TrainerController._reset_env": {
                    "total": 6.074063103,
                    "count": 1,
                    "self": 6.074063103
                },
                "TrainerController.advance": {
                    "total": 13118.568145658564,
                    "count": 1027807,
                    "self": 18.8558634413057,
                    "children": {
                        "env_step": {
                            "total": 7102.594597130537,
                            "count": 1027807,
                            "self": 6080.985495180506,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1009.4610152328596,
                                    "count": 1027807,
                                    "self": 69.22106638543596,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 940.2399488474236,
                                            "count": 1000489,
                                            "self": 107.81764790640273,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 832.4223009410209,
                                                    "count": 1000489,
                                                    "self": 832.4223009410209
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 12.148086717170772,
                                    "count": 1027807,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 13108.635062904732,
                                            "count": 1027807,
                                            "is_parallel": true,
                                            "self": 8061.124921998285,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.0022136159999996963,
                                                    "count": 1,
                                                    "is_parallel": true,
                                                    "self": 0.00018154299999917356,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.0020320730000005227,
                                                            "count": 4,
                                                            "is_parallel": true,
                                                            "self": 0.0020320730000005227
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 5047.507927290448,
                                                    "count": 1027807,
                                                    "is_parallel": true,
                                                    "self": 206.75659516771339,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 236.23360212033583,
                                                            "count": 1027807,
                                                            "is_parallel": true,
                                                            "self": 236.23360212033583
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 4144.918075543047,
                                                            "count": 1027807,
                                                            "is_parallel": true,
                                                            "self": 4144.918075543047
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 459.5996544593521,
                                                            "count": 1027807,
                                                            "is_parallel": true,
                                                            "self": 122.03838465066355,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 337.56126980868856,
                                                                    "count": 4111228,
                                                                    "is_parallel": true,
                                                                    "self": 337.56126980868856
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 5997.117685086721,
                            "count": 1027807,
                            "self": 27.776913906312075,
                            "children": {
                                "process_trajectory": {
                                    "total": 878.6955440304173,
                                    "count": 1027807,
                                    "self": 875.6686419584186,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 3.026902071998734,
                                            "count": 20,
                                            "self": 3.026902071998734
                                        }
                                    }
                                },
                                "_update_policy": {
                                    "total": 5090.645227149992,
                                    "count": 476,
                                    "self": 1459.8512494169468,
                                    "children": {
                                        "TorchPPOOptimizer.update": {
                                            "total": 3630.7939777330453,
                                            "count": 14280,
                                            "self": 3630.7939777330453
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.094000253942795e-06,
                    "count": 1,
                    "self": 1.094000253942795e-06
                },
                "TrainerController._save_models": {
                    "total": 0.16206586999942374,
                    "count": 1,
                    "self": 0.0024772550004854565,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.15958861499893828,
                            "count": 1,
                            "self": 0.15958861499893828
                        }
                    }
                }
            }
        }
    }
}