File size: 11,821 Bytes
932a23c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1679291632",
        "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/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy --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": "1679291648"
    },
    "total": 16.232135873999994,
    "count": 1,
    "self": 0.444677151999997,
    "children": {
        "run_training.setup": {
            "total": 0.11170633300000077,
            "count": 1,
            "self": 0.11170633300000077
        },
        "TrainerController.start_learning": {
            "total": 15.675752388999996,
            "count": 1,
            "self": 0.011641534000375486,
            "children": {
                "TrainerController._reset_env": {
                    "total": 9.883889905000018,
                    "count": 1,
                    "self": 9.883889905000018
                },
                "TrainerController.advance": {
                    "total": 5.779021985999634,
                    "count": 752,
                    "self": 0.012644988999767293,
                    "children": {
                        "env_step": {
                            "total": 5.654416706000063,
                            "count": 752,
                            "self": 4.830226880000254,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.8164974910000922,
                                    "count": 752,
                                    "self": 0.049980011999878116,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.766517479000214,
                                            "count": 748,
                                            "self": 0.766517479000214
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.007692334999717332,
                                    "count": 751,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 15.756336292000157,
                                            "count": 751,
                                            "is_parallel": true,
                                            "self": 11.875116011999808,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.000931980999979487,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0002508909999789921,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0006810900000004949,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0006810900000004949
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.02870510099998569,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003578349999884267,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.00019430599999736842,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00019430599999736842
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.02740552000000207,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.02740552000000207
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0007474399999978232,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00021658999997953288,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0005308500000182903,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0005308500000182903
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3.881220280000349,
                                                    "count": 750,
                                                    "is_parallel": true,
                                                    "self": 0.12028883699974813,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.2553315940007792,
                                                            "count": 750,
                                                            "is_parallel": true,
                                                            "self": 0.2553315940007792
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 3.218633607999408,
                                                            "count": 750,
                                                            "is_parallel": true,
                                                            "self": 3.218633607999408
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.2869662410004139,
                                                            "count": 750,
                                                            "is_parallel": true,
                                                            "self": 0.10890807199933761,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.1780581690010763,
                                                                    "count": 1500,
                                                                    "is_parallel": true,
                                                                    "self": 0.1780581690010763
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.11196029099980365,
                            "count": 751,
                            "self": 0.016064596999001424,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.09589569400080222,
                                    "count": 751,
                                    "self": 0.09589569400080222
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.330999964466173e-06,
                    "count": 1,
                    "self": 1.330999964466173e-06
                },
                "TrainerController._save_models": {
                    "total": 0.0011976330000038615,
                    "count": 1,
                    "self": 2.089200000909841e-05,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.0011767409999947631,
                            "count": 1,
                            "self": 0.0011767409999947631
                        }
                    }
                }
            }
        }
    }
}