File size: 12,723 Bytes
f6b8a3b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1666899808",
        "python_version": "3.7.15 (default, Oct 12 2022, 19:14:55) \n[GCC 7.5.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./trained-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics --resume",
        "mlagents_version": "0.29.0.dev0",
        "mlagents_envs_version": "0.29.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.8.1+cu102",
        "numpy_version": "1.21.6",
        "end_time_seconds": "1666899819"
    },
    "total": 10.950030746000039,
    "count": 1,
    "self": 0.44057445499993264,
    "children": {
        "run_training.setup": {
            "total": 0.04293166000002202,
            "count": 1,
            "self": 0.04293166000002202
        },
        "TrainerController.start_learning": {
            "total": 10.466524631000084,
            "count": 1,
            "self": 0.0029076290020384477,
            "children": {
                "TrainerController._reset_env": {
                    "total": 6.404040589000033,
                    "count": 1,
                    "self": 6.404040589000033
                },
                "TrainerController.advance": {
                    "total": 3.9621768579979744,
                    "count": 128,
                    "self": 0.0030635749963039416,
                    "children": {
                        "env_step": {
                            "total": 3.555033332001358,
                            "count": 128,
                            "self": 3.330507966000596,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.2231065120004132,
                                    "count": 128,
                                    "self": 0.009202973000355996,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.2139035390000572,
                                            "count": 128,
                                            "self": 0.07461807000026965,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 0.13928546899978755,
                                                    "count": 128,
                                                    "self": 0.13928546899978755
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0014188540003488015,
                                    "count": 128,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 10.002390408999645,
                                            "count": 128,
                                            "is_parallel": true,
                                            "self": 6.919984635997935,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0019604900001013448,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0007709550004619814,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0011895349996393634,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0011895349996393634
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04605286199989678,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005188899999666319,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00047042999995028367,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00047042999995028367
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04333716299993284,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04333716299993284
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001726379000047018,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.000443459000052826,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001282919999994192,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001282919999994192
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3.0824057730017103,
                                                    "count": 127,
                                                    "is_parallel": true,
                                                    "self": 0.05596578100085026,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.04774490400018294,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.04774490400018294
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2.787025163999715,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 2.787025163999715
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.19166992400096206,
                                                            "count": 127,
                                                            "is_parallel": true,
                                                            "self": 0.05033539700025358,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.14133452700070848,
                                                                    "count": 1016,
                                                                    "is_parallel": true,
                                                                    "self": 0.14133452700070848
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.4040799510003126,
                            "count": 128,
                            "self": 0.002789636999295908,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.40129031400101667,
                                    "count": 128,
                                    "self": 0.2790187280011196,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.12227158599989707,
                                            "count": 1,
                                            "self": 0.12227158599989707
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.2709999737126054e-06,
                    "count": 1,
                    "self": 1.2709999737126054e-06
                },
                "TrainerController._save_models": {
                    "total": 0.09739828400006445,
                    "count": 1,
                    "self": 0.0015746530000342318,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09582363100003022,
                            "count": 1,
                            "self": 0.09582363100003022
                        }
                    }
                }
            }
        }
    }
}