File size: 14,795 Bytes
235a51b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.890343427658081,
            "min": 2.8903257846832275,
            "max": 2.890343427658081,
            "count": 18
        },
        "SnowballTarget.Policy.Entropy.sum": {
            "value": 63.587554931640625,
            "min": 31.793582916259766,
            "max": 2066.587890625,
            "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.0019870884716510773,
            "min": -0.031035790219902992,
            "max": 0.06756686419248581,
            "count": 21
        },
        "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
            "value": 0.0019870884716510773,
            "min": -0.031035790219902992,
            "max": 0.07608698308467865,
            "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": "1703694363",
        "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.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": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.1.2+cu121",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1703694370"
    },
    "total": 6.9084455330000765,
    "count": 1,
    "self": 0.39060676000008243,
    "children": {
        "run_training.setup": {
            "total": 0.04556907300002422,
            "count": 1,
            "self": 0.04556907300002422
        },
        "TrainerController.start_learning": {
            "total": 6.47226969999997,
            "count": 1,
            "self": 0.011490261999938411,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.8972869210000454,
                    "count": 1,
                    "self": 1.8972869210000454
                },
                "TrainerController.advance": {
                    "total": 4.485325062000015,
                    "count": 202,
                    "self": 0.0028096530003267617,
                    "children": {
                        "env_step": {
                            "total": 4.482515408999689,
                            "count": 202,
                            "self": 2.7423177529997247,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.737261458001285,
                                    "count": 202,
                                    "self": 0.015252927000688032,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.722008531000597,
                                            "count": 202,
                                            "self": 1.722008531000597
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0029361979986788356,
                                    "count": 202,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 6.423038162999887,
                                            "count": 202,
                                            "is_parallel": true,
                                            "self": 4.132939097000303,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0018083200000091892,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005563770000662771,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0012519429999429121,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0012519429999429121
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04413624500000424,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007221119999485381,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0004127500000095097,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004127500000095097
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.041068128000006254,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.041068128000006254
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0019332550000399351,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00035895499979687884,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015743000002430563,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015743000002430563
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 2.290099065999584,
                                                    "count": 201,
                                                    "is_parallel": true,
                                                    "self": 0.11444555699802095,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.05741317000035906,
                                                            "count": 201,
                                                            "is_parallel": true,
                                                            "self": 0.05741317000035906
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1.7622595750004848,
                                                            "count": 201,
                                                            "is_parallel": true,
                                                            "self": 1.7622595750004848
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.3559807640007193,
                                                            "count": 201,
                                                            "is_parallel": true,
                                                            "self": 0.06511008300185495,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.2908706809988644,
                                                                    "count": 2010,
                                                                    "is_parallel": true,
                                                                    "self": 0.2908706809988644
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 3.349700000399025e-05,
                    "count": 1,
                    "self": 3.349700000399025e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 4.386281340006121,
                                    "count": 12442,
                                    "is_parallel": true,
                                    "self": 0.22369417501022326,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 4.162587164995898,
                                            "count": 12442,
                                            "is_parallel": true,
                                            "self": 3.715064052995899,
                                            "children": {
                                                "RLTrainer._checkpoint": {
                                                    "total": 0.44752311199999895,
                                                    "count": 4,
                                                    "is_parallel": true,
                                                    "self": 0.44752311199999895
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.0781339579999667,
                    "count": 1,
                    "self": 0.0009537280000131432,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.07718022999995355,
                            "count": 1,
                            "self": 0.07718022999995355
                        }
                    }
                }
            }
        }
    }
}