File size: 11,561 Bytes
48dbac0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1677600292",
        "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/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --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.22.4",
        "end_time_seconds": "1677601219"
    },
    "total": 927.014870569,
    "count": 1,
    "self": 0.18448471699991842,
    "children": {
        "run_training.setup": {
            "total": 0.12542035499996018,
            "count": 1,
            "self": 0.12542035499996018
        },
        "TrainerController.start_learning": {
            "total": 926.7049654970001,
            "count": 1,
            "self": 1.0143585250002616,
            "children": {
                "TrainerController._reset_env": {
                    "total": 10.459052595999992,
                    "count": 1,
                    "self": 10.459052595999992
                },
                "TrainerController.advance": {
                    "total": 914.9824165409998,
                    "count": 34623,
                    "self": 0.5492654800013952,
                    "children": {
                        "env_step": {
                            "total": 914.4331510609984,
                            "count": 34623,
                            "self": 660.7501219659692,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 253.14387633301942,
                                    "count": 34623,
                                    "self": 2.963629470011483,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 250.18024686300794,
                                            "count": 34623,
                                            "self": 55.542655898989096,
                                            "children": {
                                                "TorchPolicy.sample_actions": {
                                                    "total": 194.63759096401884,
                                                    "count": 34623,
                                                    "self": 194.63759096401884
                                                }
                                            }
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.5391527620097349,
                                    "count": 34622,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 923.8042627410086,
                                            "count": 34622,
                                            "is_parallel": true,
                                            "self": 459.82480114699183,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.006486307000045599,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0035512599997673533,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.002935047000278246,
                                                                    "count": 10,
                                                                    "is_parallel": true,
                                                                    "self": 0.002935047000278246
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.03790119800009961,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0003898160001654105,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003460120000227107,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003460120000227107
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.03517157999999654,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.03517157999999654
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.001993789999914952,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004502629998341945,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0015435270000807577,
                                                                            "count": 10,
                                                                            "is_parallel": true,
                                                                            "self": 0.0015435270000807577
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 463.9794615940168,
                                                    "count": 34621,
                                                    "is_parallel": true,
                                                    "self": 18.410126222993313,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 10.581099211988658,
                                                            "count": 34621,
                                                            "is_parallel": true,
                                                            "self": 10.581099211988658
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 371.78808652502687,
                                                            "count": 34621,
                                                            "is_parallel": true,
                                                            "self": 371.78808652502687
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 63.20014963400797,
                                                            "count": 34621,
                                                            "is_parallel": true,
                                                            "self": 13.776299971040089,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 49.42384966296788,
                                                                    "count": 346210,
                                                                    "is_parallel": true,
                                                                    "self": 49.42384966296788
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.24913783500005593,
                    "count": 1,
                    "self": 0.0023986050000530668,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.24673923000000286,
                            "count": 1,
                            "self": 0.24673923000000286
                        }
                    }
                }
            }
        }
    }
}