File size: 14,435 Bytes
8615a25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "SnowballTarget.Policy.Entropy.mean": {
            "value": 2.890322685241699,
            "min": 2.8903214931488037,
            "max": 2.890322685241699,
            "count": 2
        },
        "SnowballTarget.Policy.Entropy.sum": {
            "value": 31.793548583984375,
            "min": 31.793548583984375,
            "max": 2034.786376953125,
            "count": 2
        },
        "SnowballTarget.Step.mean": {
            "value": 640.0,
            "min": 64.0,
            "max": 640.0,
            "count": 10
        },
        "SnowballTarget.Step.sum": {
            "value": 640.0,
            "min": 64.0,
            "max": 640.0,
            "count": 10
        },
        "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
            "value": -0.058175768703222275,
            "min": -0.058175768703222275,
            "max": 0.03860002011060715,
            "count": 10
        },
        "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
            "value": -0.058175768703222275,
            "min": -0.058175768703222275,
            "max": 0.03860002011060715,
            "count": 10
        },
        "SnowballTarget.IsTraining.mean": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 10
        },
        "SnowballTarget.IsTraining.sum": {
            "value": 0.0,
            "min": 0.0,
            "max": 0.0,
            "count": 10
        }
    },
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1686816200",
        "python_version": "3.10.12 (main, Jun  7 2023, 12:45:35) [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": "1686816208"
    },
    "total": 7.414016539000045,
    "count": 1,
    "self": 0.4354435899999771,
    "children": {
        "run_training.setup": {
            "total": 0.060514620000049035,
            "count": 1,
            "self": 0.060514620000049035
        },
        "TrainerController.start_learning": {
            "total": 6.918058329000019,
            "count": 1,
            "self": 1.0066440679999005,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.51609001099996,
                    "count": 1,
                    "self": 4.51609001099996
                },
                "TrainerController.advance": {
                    "total": 1.2485730680001552,
                    "count": 65,
                    "self": 0.0008935420000852901,
                    "children": {
                        "env_step": {
                            "total": 1.24767952600007,
                            "count": 65,
                            "self": 0.9935896369999,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.2532510429997501,
                                    "count": 65,
                                    "self": 0.004982574999985445,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.24826846799976465,
                                            "count": 65,
                                            "self": 0.24826846799976465
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.000838846000419835,
                                    "count": 65,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 5.821889502999625,
                                            "count": 65,
                                            "is_parallel": true,
                                            "self": 4.976669057999629,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0032829560000209312,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0008524230000830357,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0024305329999378955,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0024305329999378955
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03473393399997349,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00061461799987228,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00030723999998372165,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00030723999998372165
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.031789583000090715,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.031789583000090715
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0020224930000267705,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003534100001161278,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0016690829999106427,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0016690829999106427
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 0.8452204449999954,
                                                    "count": 64,
                                                    "is_parallel": true,
                                                    "self": 0.03537322400040921,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.018773846999465604,
                                                            "count": 64,
                                                            "is_parallel": true,
                                                            "self": 0.018773846999465604
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 0.6735996849999992,
                                                            "count": 64,
                                                            "is_parallel": true,
                                                            "self": 0.6735996849999992
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.11747368900012134,
                                                            "count": 64,
                                                            "is_parallel": true,
                                                            "self": 0.0233777850005481,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.09409590399957324,
                                                                    "count": 640,
                                                                    "is_parallel": true,
                                                                    "self": 0.09409590399957324
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 3.289899996161694e-05,
                    "count": 1,
                    "self": 3.289899996161694e-05,
                    "children": {
                        "thread_root": {
                            "total": 0.0,
                            "count": 0,
                            "is_parallel": true,
                            "self": 0.0,
                            "children": {
                                "trainer_advance": {
                                    "total": 1.206244350997963,
                                    "count": 2318,
                                    "is_parallel": true,
                                    "self": 0.03521565699270468,
                                    "children": {
                                        "process_trajectory": {
                                            "total": 1.1710286940052583,
                                            "count": 2318,
                                            "is_parallel": true,
                                            "self": 0.31678417900525346,
                                            "children": {
                                                "RLTrainer._checkpoint": {
                                                    "total": 0.8542445150000049,
                                                    "count": 7,
                                                    "is_parallel": true,
                                                    "self": 0.8542445150000049
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.14671828300004108,
                    "count": 1,
                    "self": 0.0003227630000992576,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.14639551999994183,
                            "count": 1,
                            "self": 0.14639551999994183
                        }
                    }
                }
            }
        }
    }
}