File size: 12,723 Bytes
4065805
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1674341507",
        "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --resume --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
        "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": "1674341518"
    },
    "total": 10.55432859999928,
    "count": 1,
    "self": 0.44069136299913225,
    "children": {
        "run_training.setup": {
            "total": 0.10862278199965658,
            "count": 1,
            "self": 0.10862278199965658
        },
        "TrainerController.start_learning": {
            "total": 10.005014455000492,
            "count": 1,
            "self": 0.0026183250029134797,
            "children": {
                "TrainerController._reset_env": {
                    "total": 6.329130789999908,
                    "count": 1,
                    "self": 6.329130789999908
                },
                "TrainerController.advance": {
                    "total": 3.583993714997632,
                    "count": 102,
                    "self": 0.002614612987599685,
                    "children": {
                        "env_step": {
                            "total": 3.4451056320140196,
                            "count": 102,
                            "self": 3.2439443430248502,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.1998354140068841,
                                    "count": 102,
                                    "self": 0.007683730013013701,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.1921516839938704,
                                            "count": 102,
                                            "self": 0.06355078899287037,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 0.12860089500100003,
                                                    "count": 102,
                                                    "self": 0.12860089500100003
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0013258749822853133,
                                    "count": 102,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 9.89447939600359,
                                            "count": 102,
                                            "is_parallel": true,
                                            "self": 6.873470094998993,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.001833071999499225,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0006234180000319611,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.001209653999467264,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.001209653999467264
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04751077700166206,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0005080310002085753,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00045709600090049207,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00045709600090049207
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04492372300046554,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04492372300046554
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001621927000087453,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00041640900235506706,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.001205517997732386,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.001205517997732386
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3.0210093010045966,
                                                    "count": 101,
                                                    "is_parallel": true,
                                                    "self": 0.045589646015287144,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.03639535799629812,
                                                            "count": 101,
                                                            "is_parallel": true,
                                                            "self": 0.03639535799629812
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2.7854392389945133,
                                                            "count": 101,
                                                            "is_parallel": true,
                                                            "self": 2.7854392389945133
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.1535850579984981,
                                                            "count": 101,
                                                            "is_parallel": true,
                                                            "self": 0.03697671903501032,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.11660833896348777,
                                                                    "count": 808,
                                                                    "is_parallel": true,
                                                                    "self": 0.11660833896348777
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.13627346999601286,
                            "count": 102,
                            "self": 0.0027444429924798897,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.13352902700353297,
                                    "count": 102,
                                    "self": 0.026220727004329092,
                                    "children": {
                                        "RLTrainer._checkpoint": {
                                            "total": 0.10730829999920388,
                                            "count": 1,
                                            "self": 0.10730829999920388
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.830000635702163e-07,
                    "count": 1,
                    "self": 9.830000635702163e-07
                },
                "TrainerController._save_models": {
                    "total": 0.08927064199997403,
                    "count": 1,
                    "self": 0.0014899750003678491,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.08778066699960618,
                            "count": 1,
                            "self": 0.08778066699960618
                        }
                    }
                }
            }
        }
    }
}