File size: 12,281 Bytes
7f02944
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1673886017",
        "python_version": "3.8.16 (default, Dec  7 2022, 01:12:13) \n[GCC 7.5.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.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": "1673886052"
    },
    "total": 34.60441241399997,
    "count": 1,
    "self": 0.3884985429999688,
    "children": {
        "run_training.setup": {
            "total": 0.16572666399997615,
            "count": 1,
            "self": 0.16572666399997615
        },
        "TrainerController.start_learning": {
            "total": 34.05018720700002,
            "count": 1,
            "self": 0.046609387000216884,
            "children": {
                "TrainerController._reset_env": {
                    "total": 10.2624215190001,
                    "count": 1,
                    "self": 10.2624215190001
                },
                "TrainerController.advance": {
                    "total": 23.641297146999705,
                    "count": 2871,
                    "self": 0.050833184995440206,
                    "children": {
                        "env_step": {
                            "total": 22.50440604300593,
                            "count": 2871,
                            "self": 18.804703755008973,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 3.6676048879966174,
                                    "count": 2871,
                                    "self": 0.18733210199661698,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 3.4802727860000005,
                                            "count": 2843,
                                            "self": 0.8413154940019467,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 2.6389572919980537,
                                                    "count": 2843,
                                                    "self": 2.6389572919980537
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.032097400000338894,
                                    "count": 2871,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 33.9884094819987,
                                            "count": 2871,
                                            "is_parallel": true,
                                            "self": 18.70478016899483,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.004475178000006963,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00043286400000397407,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.004042314000002989,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.004042314000002989
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.029085415000054127,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00028925400010848534,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0002170870000099967,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0002170870000099967
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.027687167999943085,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.027687167999943085
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0008919059999925594,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.00023953300001267053,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0006523729999798888,
                                                                            "count": 2,
                                                                            "is_parallel": true,
                                                                            "self": 0.0006523729999798888
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 15.283629313003871,
                                                    "count": 2870,
                                                    "is_parallel": true,
                                                    "self": 0.43851566899866157,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 1.038314301001833,
                                                            "count": 2870,
                                                            "is_parallel": true,
                                                            "self": 1.038314301001833
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 12.592127994002112,
                                                            "count": 2870,
                                                            "is_parallel": true,
                                                            "self": 12.592127994002112
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.2146713490012644,
                                                            "count": 2870,
                                                            "is_parallel": true,
                                                            "self": 0.5238625859996091,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.6908087630016553,
                                                                    "count": 5740,
                                                                    "is_parallel": true,
                                                                    "self": 0.6908087630016553
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 1.0860579189983355,
                            "count": 2871,
                            "self": 0.0716337720006095,
                            "children": {
                                "process_trajectory": {
                                    "total": 1.014424146997726,
                                    "count": 2871,
                                    "self": 1.014424146997726
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 7.520000053773401e-07,
                    "count": 1,
                    "self": 7.520000053773401e-07
                },
                "TrainerController._save_models": {
                    "total": 0.0998584019999953,
                    "count": 1,
                    "self": 0.0019448059999831457,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.09791359600001215,
                            "count": 1,
                            "self": 0.09791359600001215
                        }
                    }
                }
            }
        }
    }
}