File size: 11,825 Bytes
33e9d95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1690477498",
        "python_version": "3.9.17 (main, Jun 28 2023, 19:17:55) [GCC]",
        "command_line_arguments": "/home/magnus/.local/venv/ml-agents/bin/mlagents-learn SoccerTwos.yaml --env ./SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
        "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": "1690477506"
    },
    "total": 7.885385429000053,
    "count": 1,
    "self": 0.042355412999768305,
    "children": {
        "run_training.setup": {
            "total": 0.009809208000206127,
            "count": 1,
            "self": 0.009809208000206127
        },
        "TrainerController.start_learning": {
            "total": 7.833220808000078,
            "count": 1,
            "self": 0.003147054998407839,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.058253630999843,
                    "count": 1,
                    "self": 4.058253630999843
                },
                "TrainerController.advance": {
                    "total": 3.534502328001963,
                    "count": 157,
                    "self": 0.0025311980043625226,
                    "children": {
                        "env_step": {
                            "total": 3.5248218319984517,
                            "count": 157,
                            "self": 2.964466408991939,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 0.5587435760003245,
                                    "count": 157,
                                    "self": 0.022323722000692214,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 0.5364198539996323,
                                            "count": 314,
                                            "self": 0.5364198539996323
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.0016118470061883272,
                                    "count": 156,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 7.591403369001455,
                                            "count": 156,
                                            "is_parallel": true,
                                            "self": 5.000459526997929,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.004873570999734511,
                                                            "count": 2,
                                                            "is_parallel": true,
                                                            "self": 0.0009217980004905257,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.003951772999243985,
                                                                    "count": 8,
                                                                    "is_parallel": true,
                                                                    "self": 0.003951772999243985
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.022139026999866473,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.0010814959996423568,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0009580549999554933,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0009580549999554933
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.016950738000105048,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.016950738000105048
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0031487380001635756,
                                                                    "count": 2,
                                                                    "is_parallel": true,
                                                                    "self": 0.0005218359997343214,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0026269020004292543,
                                                                            "count": 8,
                                                                            "is_parallel": true,
                                                                            "self": 0.0026269020004292543
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 2.590943842003526,
                                                    "count": 155,
                                                    "is_parallel": true,
                                                    "self": 0.16684478501065314,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.11501908799664307,
                                                            "count": 155,
                                                            "is_parallel": true,
                                                            "self": 0.11501908799664307
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 1.850633777998155,
                                                            "count": 155,
                                                            "is_parallel": true,
                                                            "self": 1.850633777998155
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 0.4584461909980746,
                                                            "count": 310,
                                                            "is_parallel": true,
                                                            "self": 0.07553651599982913,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.38290967499824546,
                                                                    "count": 1240,
                                                                    "is_parallel": true,
                                                                    "self": 0.38290967499824546
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.007149297999148985,
                            "count": 156,
                            "self": 0.006768777000615955,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.00038052099853302934,
                                    "count": 156,
                                    "self": 0.00038052099853302934
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 6.209997991390992e-07,
                    "count": 1,
                    "self": 6.209997991390992e-07
                },
                "TrainerController._save_models": {
                    "total": 0.23731717300006494,
                    "count": 1,
                    "self": 0.0014362609999807319,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.2358809120000842,
                            "count": 1,
                            "self": 0.2358809120000842
                        }
                    }
                }
            }
        }
    }
}