File size: 12,296 Bytes
ed4cfa3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1676221878",
        "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/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.exe --run-id=poca-SoccerTwos --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": "1676221902"
    },
    "total": 24.036311694000005,
    "count": 1,
    "self": 0.38915876999999455,
    "children": {
        "run_training.setup": {
            "total": 0.09782394400002659,
            "count": 1,
            "self": 0.09782394400002659
        },
        "TrainerController.start_learning": {
            "total": 23.549328979999984,
            "count": 1,
            "self": 0.01804897800030858,
            "children": {
                "TrainerController._reset_env": {
                    "total": 5.360062363999987,
                    "count": 1,
                    "self": 5.360062363999987
                },
                "TrainerController.advance": {
                    "total": 18.061500519999697,
                    "count": 736,
                    "self": 0.01758089299983112,
                    "children": {
                        "env_step": {
                            "total": 17.153780455999822,
                            "count": 736,
                            "self": 13.771951089999732,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 3.37102193700008,
                                    "count": 736,
                                    "self": 0.08976122600222425,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 3.2812607109978558,
                                            "count": 1472,
                                            "self": 0.3578919429990606,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 2.923368767998795,
                                                    "count": 1472,
                                                    "self": 2.923368767998795
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.010807429000010416,
                                    "count": 736,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 22.63356924999954,
                                            "count": 736,
                                            "is_parallel": true,
                                            "self": 11.191107756999713,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.0068168710000691135,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 0.004395590000001448,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0024212810000676654,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.0024212810000676654
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.056200458000034814,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.000828628999954617,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0007256300000335614,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007256300000335614
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.052136867999990955,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.052136867999990955
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.002509331000055681,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.000506541000049765,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0020027900000059162,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0020027900000059162
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 11.442461492999826,
                                                    "count": 735,
                                                    "is_parallel": true,
                                                    "self": 0.7013282300007972,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.39697592099975054,
                                                            "count": 735,
                                                            "is_parallel": true,
                                                            "self": 0.39697592099975054
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 8.220639371999539,
                                                            "count": 735,
                                                            "is_parallel": true,
                                                            "self": 8.220639371999539
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 2.123517969999739,
                                                            "count": 1470,
                                                            "is_parallel": true,
                                                            "self": 0.4442662799997379,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 1.679251690000001,
                                                                    "count": 5880,
                                                                    "is_parallel": true,
                                                                    "self": 1.679251690000001
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.8901391710000439,
                            "count": 736,
                            "self": 0.04961544700086051,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.8405237239991834,
                                    "count": 736,
                                    "self": 0.8405237239991834
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 7.300000106624793e-07,
                    "count": 1,
                    "self": 7.300000106624793e-07
                },
                "TrainerController._save_models": {
                    "total": 0.10971638799998118,
                    "count": 1,
                    "self": 0.0011425199999735014,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.10857386800000768,
                            "count": 1,
                            "self": 0.10857386800000768
                        }
                    }
                }
            }
        }
    }
}