File size: 13,721 Bytes
2f3dd1a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "gauges": {
        "SnowballTarget.Policy.Entropy.mean": {
            "value": 2.890345811843872,
            "min": 2.890345811843872,
            "max": 2.890345811843872,
            "count": 1
        },
        "SnowballTarget.Policy.Entropy.sum": {
            "value": 2034.803466796875,
            "min": 2034.803466796875,
            "max": 2034.803466796875,
            "count": 1
        },
        "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.06075315549969673,
            "min": 0.029233485460281372,
            "max": 0.09586164355278015,
            "count": 10
        },
        "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
            "value": 0.06075315549969673,
            "min": 0.029233485460281372,
            "max": 0.09586164355278015,
            "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": "1748335835",
        "python_version": "3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget2 --no-graphics",
        "mlagents_version": "1.2.0.dev0",
        "mlagents_envs_version": "1.2.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.7.0+cu126",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1748335842"
    },
    "total": 6.604087875999994,
    "count": 1,
    "self": 0.8934843050000154,
    "children": {
        "run_training.setup": {
            "total": 0.026355891999969572,
            "count": 1,
            "self": 0.026355891999969572
        },
        "TrainerController.start_learning": {
            "total": 5.684247679000009,
            "count": 1,
            "self": 0.0025511359999654815,
            "children": {
                "TrainerController._reset_env": {
                    "total": 2.5828637460000436,
                    "count": 1,
                    "self": 2.5828637460000436
                },
                "TrainerController.advance": {
                    "total": 2.9954741970000214,
                    "count": 64,
                    "self": 0.002782516999559448,
                    "children": {
                        "env_step": {
                            "total": 1.6173358239998379,
                            "count": 64,
                            "self": 1.3854585400006272,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.23063234399955945,
                                    "count": 64,
                                    "self": 0.009179391999396103,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.22145295200016335,
                                            "count": 64,
                                            "self": 0.22145295200016335
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0012449399996512511,
                                    "count": 64,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 4.22658058100069,
                                            "count": 64,
                                            "is_parallel": true,
                                            "self": 3.0751492850009754,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0024861320000582054,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007724820000021282,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0017136500000560773,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.0017136500000560773
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.05039784299992789,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007630309999058227,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0005784469999525754,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005784469999525754
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04651123500002541,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04651123500002541
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0025451300000440824,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000549618999912127,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0019955110001319554,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0019955110001319554
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 1.1514312959997142,
                                                    "count": 63,
                                                    "is_parallel": true,
                                                    "self": 0.04567657599875474,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.02557076900041011,
                                                            "count": 63,
                                                            "is_parallel": true,
                                                            "self": 0.02557076900041011
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 0.9402865920001204,
                                                            "count": 63,
                                                            "is_parallel": true,
                                                            "self": 0.9402865920001204
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.13989735900042888,
                                                            "count": 63,
                                                            "is_parallel": true,
                                                            "self": 0.028313885000784467,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.11158347399964441,
                                                                    "count": 630,
                                                                    "is_parallel": true,
                                                                    "self": 0.11158347399964441
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1.375355856000624,
                            "count": 64,
                            "self": 0.0024454140008174363,
                            "children": {
                                "process_trajectory": {
                                    "total": 1.3729104419998066,
                                    "count": 64,
                                    "self": 0.13718104099984885,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 1.2357294009999578,
                                            "count": 10,
                                            "self": 1.2357294009999578
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.4120000741968397e-06,
                    "count": 1,
                    "self": 1.4120000741968397e-06
                },
                "TrainerController._save_models": {
                    "total": 0.10335718799990445,
                    "count": 1,
                    "self": 0.0011734619998833296,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10218372600002112,
                            "count": 1,
                            "self": 0.10218372600002112
                        }
                    }
                }
            }
        }
    }
}