File size: 14,782 Bytes
c7a3126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "SnowballTarget.Policy.Entropy.mean": {
            "value": 2.8903303146362305,
            "min": 2.8903257846832275,
            "max": 2.8903398513793945,
            "count": 18
        },
        "SnowballTarget.Policy.Entropy.sum": {
            "value": 572.285400390625,
            "min": 31.7935848236084,
            "max": 2034.79541015625,
            "count": 18
        },
        "SnowballTarget.Step.mean": {
            "value": 2048.0,
            "min": 64.0,
            "max": 2048.0,
            "count": 21
        },
        "SnowballTarget.Step.sum": {
            "value": 2048.0,
            "min": 64.0,
            "max": 2048.0,
            "count": 21
        },
        "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
            "value": 0.17725849151611328,
            "min": 0.16201618313789368,
            "max": 0.19955861568450928,
            "count": 21
        },
        "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
            "value": 0.17725849151611328,
            "min": 0.1640913188457489,
            "max": 0.39911723136901855,
            "count": 21
        },
        "SnowballTarget.IsTraining.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 1.0,
            "count": 21
        },
        "SnowballTarget.IsTraining.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 1.0,
            "count": 21
        },
        "SnowballTarget.Environment.EpisodeLength.mean": {
            "value": 199.0,
            "min": 199.0,
            "max": 199.0,
            "count": 1
        },
        "SnowballTarget.Environment.EpisodeLength.sum": {
            "value": 2189.0,
            "min": 2189.0,
            "max": 2189.0,
            "count": 1
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1680188148",
        "python_version": "3.9.16 (main, Dec  7 2022, 01:11:51) \n[GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --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": "1680188165"
    },
    "total": 16.343321413000012,
    "count": 1,
    "self": 0.7786106020000716,
    "children": {
        "run_training.setup": {
            "total": 0.1703329899999062,
            "count": 1,
            "self": 0.1703329899999062
        },
        "TrainerController.start_learning": {
            "total": 15.394377821000035,
            "count": 1,
            "self": 0.02089877799835449,
            "children": {
                "TrainerController._reset_env": {
                    "total": 9.873335077999855,
                    "count": 1,
                    "self": 9.873335077999855
                },
                "TrainerController.advance": {
                    "total": 5.303575334002062,
                    "count": 219,
                    "self": 0.0032625150031435624,
                    "children": {
                        "env_step": {
                            "total": 5.300312818998918,
                            "count": 219,
                            "self": 3.8287595439987854,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.4684257820001676,
                                    "count": 219,
                                    "self": 0.020218084998759878,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.4482076970014077,
                                            "count": 219,
                                            "self": 1.4482076970014077
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0031274929999653978,
                                    "count": 219,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 15.332161992002284,
                                            "count": 219,
                                            "is_parallel": true,
                                            "self": 12.30237460300259,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.006971909000185406,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0046559849993172975,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002315924000868108,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.002315924000868108
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04391021400010686,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00046358199983842496,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003364270000929537,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003364270000929537
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04112767100014025,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04112767100014025
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.00198253400003523,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00040248600043923943,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015800479995959904,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015800479995959904
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3.0297873889996936,
                                                    "count": 218,
                                                    "is_parallel": true,
                                                    "self": 0.1198495789988101,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.06388871500098503,
                                                            "count": 218,
                                                            "is_parallel": true,
                                                            "self": 0.06388871500098503
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2.4201914949987895,
                                                            "count": 218,
                                                            "is_parallel": true,
                                                            "self": 2.4201914949987895
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.42585760000110895,
                                                            "count": 218,
                                                            "is_parallel": true,
                                                            "self": 0.11011109200035207,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.3157465080007569,
                                                                    "count": 2180,
                                                                    "is_parallel": true,
                                                                    "self": 0.3157465080007569
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.7031999934479245e-05,
                    "count": 1,
                    "self": 2.7031999934479245e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 5.251576643993985,
                                    "count": 8252,
                                    "is_parallel": true,
                                    "self": 0.16009846800079686,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 5.091478175993188,
                                            "count": 8252,
                                            "is_parallel": true,
                                            "self": 3.979763603993206,
                                            "children": {
                                                "RLTrainer._checkpoint": {
                                                    "total": 1.1117145719999826,
                                                    "count": 4,
                                                    "is_parallel": true,
                                                    "self": 1.1117145719999826
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.19654159899982915,
                    "count": 1,
                    "self": 0.001134507999950074,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.19540709099987907,
                            "count": 1,
                            "self": 0.19540709099987907
                        }
                    }
                }
            }
        }
    }
}