File size: 11,828 Bytes
d1508cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1684142378",
        "python_version": "3.9.16 (main, Dec  7 2022, 01:11:51) \n[GCC 9.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/linux/SoccerTwos.x86_64 --force --run-id=SoccerTwos --no-graphics",
        "mlagents_version": "0.31.0.dev0",
        "mlagents_envs_version": "0.31.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "1.11.0+cu102",
        "numpy_version": "1.21.2",
        "end_time_seconds": "1684142385"
    },
    "total": 7.500060018000113,
    "count": 1,
    "self": 0.541820559998996,
    "children": {
        "run_training.setup": {
            "total": 0.03508654600045702,
            "count": 1,
            "self": 0.03508654600045702
        },
        "TrainerController.start_learning": {
            "total": 6.92315291200066,
            "count": 1,
            "self": 0.006305848997726571,
            "children": {
                "TrainerController._reset_env": {
                    "total": 1.2398360189999948,
                    "count": 1,
                    "self": 1.2398360189999948
                },
                "TrainerController.advance": {
                    "total": 5.4437107320036375,
                    "count": 165,
                    "self": 0.006727467004566279,
                    "children": {
                        "env_step": {
                            "total": 5.26383855799304,
                            "count": 165,
                            "self": 4.361072145995422,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.8994022939969,
                                    "count": 165,
                                    "self": 0.036597260991584335,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.8628050330053156,
                                            "count": 330,
                                            "self": 0.8628050330053156
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0033641180007180083,
                                    "count": 165,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 6.552128479998828,
                                            "count": 165,
                                            "is_parallel": true,
                                            "self": 2.8517611790020965,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.008122170000206097,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 0.004886141000497446,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.003236028999708651,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.003236028999708651
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.0486798310002996,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.001378205000946764,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0009889889997793944,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0009889889997793944
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04193616700013081,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04193616700013081
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.004376469999442634,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0007933919987408444,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0035830780007017893,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0035830780007017893
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3.7003673009967315,
                                                    "count": 164,
                                                    "is_parallel": true,
                                                    "self": 0.22095179100324458,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.12889351400190208,
                                                            "count": 164,
                                                            "is_parallel": true,
                                                            "self": 0.12889351400190208
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2.660834122997585,
                                                            "count": 164,
                                                            "is_parallel": true,
                                                            "self": 2.660834122997585
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.6896878729939999,
                                                            "count": 328,
                                                            "is_parallel": true,
                                                            "self": 0.14015752997875097,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.549530343015249,
                                                                    "count": 1312,
                                                                    "is_parallel": true,
                                                                    "self": 0.549530343015249
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.17314470700603124,
                            "count": 165,
                            "self": 0.01891447600155516,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.15423023100447608,
                                    "count": 165,
                                    "self": 0.15423023100447608
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 8.919996616896242e-07,
                    "count": 1,
                    "self": 8.919996616896242e-07
                },
                "TrainerController._save_models": {
                    "total": 0.2332994199996392,
                    "count": 1,
                    "self": 0.004050767999615346,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.22924865200002387,
                            "count": 1,
                            "self": 0.22924865200002387
                        }
                    }
                }
            }
        }
    }
}