File size: 12,287 Bytes
926aa6f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1675574155",
        "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.x86_64 --run-id=SoccerTwos2 --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": "1675574170"
    },
    "total": 14.629904416000045,
    "count": 1,
    "self": 0.1587039940000068,
    "children": {
        "run_training.setup": {
            "total": 0.15927164000004268,
            "count": 1,
            "self": 0.15927164000004268
        },
        "TrainerController.start_learning": {
            "total": 14.311928781999995,
            "count": 1,
            "self": 0.007082740999976522,
            "children": {
                "TrainerController._reset_env": {
                    "total": 6.645393048000187,
                    "count": 1,
                    "self": 6.645393048000187
                },
                "TrainerController.advance": {
                    "total": 7.197132101999614,
                    "count": 297,
                    "self": 0.006511662998946122,
                    "children": {
                        "env_step": {
                            "total": 7.102336438998009,
                            "count": 297,
                            "self": 5.589524616994822,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.5095444140060863,
                                    "count": 297,
                                    "self": 0.0422966210053346,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.4672477930007517,
                                            "count": 590,
                                            "self": 0.28756131600130175,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 1.17968647699945,
                                                    "count": 590,
                                                    "self": 1.17968647699945
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0032674079971002357,
                                    "count": 296,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 13.954692735002027,
                                            "count": 296,
                                            "is_parallel": true,
                                            "self": 9.35096317100124,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.004463091000161512,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 0.001449594000405341,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.003013496999756171,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.003013496999756171
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03500041500001316,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0009082709998438077,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0007890150000093854,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007890150000093854
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03027948799990554,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03027948799990554
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.003023641000254429,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.000649398999485129,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0023742420007693,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0023742420007693
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 4.603729564000787,
                                                    "count": 295,
                                                    "is_parallel": true,
                                                    "self": 0.25029945800679343,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.1958997769970665,
                                                            "count": 295,
                                                            "is_parallel": true,
                                                            "self": 0.1958997769970665
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 3.2314737389970105,
                                                            "count": 295,
                                                            "is_parallel": true,
                                                            "self": 3.2314737389970105
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.9260565899999165,
                                                            "count": 590,
                                                            "is_parallel": true,
                                                            "self": 0.18700395700898298,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.7390526329909335,
                                                                    "count": 2360,
                                                                    "is_parallel": true,
                                                                    "self": 0.7390526329909335
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.08828400000265901,
                            "count": 296,
                            "self": 0.01409962199977599,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.07418437800288302,
                                    "count": 296,
                                    "self": 0.07418437800288302
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.6250000953732524e-06,
                    "count": 1,
                    "self": 1.6250000953732524e-06
                },
                "TrainerController._save_models": {
                    "total": 0.4623192660001223,
                    "count": 1,
                    "self": 0.0026023230002465425,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.45971694299987576,
                            "count": 1,
                            "self": 0.45971694299987576
                        }
                    }
                }
            }
        }
    }
}