File size: 11,078 Bytes
95f6ebf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1691441414",
        "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
        "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Beach.yaml --env=./training-envs-executables/linux/ChopperLnx03/ChopperLnx03 --run-id=Chopper03_00 --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": "1691449384"
    },
    "total": 7969.14715323,
    "count": 1,
    "self": 0.19158281999989413,
    "children": {
        "run_training.setup": {
            "total": 0.05618040300004168,
            "count": 1,
            "self": 0.05618040300004168
        },
        "TrainerController.start_learning": {
            "total": 7968.899390007,
            "count": 1,
            "self": 20.382382175747807,
            "children": {
                "TrainerController._reset_env": {
                    "total": 3.289941060999979,
                    "count": 1,
                    "self": 3.289941060999979
                },
                "TrainerController.advance": {
                    "total": 7944.670017396253,
                    "count": 351347,
                    "self": 9.456127876464961,
                    "children": {
                        "env_step": {
                            "total": 7935.213889519788,
                            "count": 351347,
                            "self": 5258.841016150836,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 2666.7732618971004,
                                    "count": 351347,
                                    "self": 55.13522642679436,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 2611.638035470306,
                                            "count": 349687,
                                            "self": 2611.638035470306
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 9.599611471851006,
                                    "count": 351346,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 7928.148748510179,
                                            "count": 351346,
                                            "is_parallel": true,
                                            "self": 4338.461399475137,
                                            "children": {
                                                "run_training.setup": {
                                                    "total": 0.0,
                                                    "count": 0,
                                                    "is_parallel": true,
                                                    "self": 0.0,
                                                    "children": {
                                                        "steps_from_proto": {
                                                            "total": 0.006323793999968075,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.004990665999855537,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.0013331280001125378,
                                                                    "count": 6,
                                                                    "is_parallel": true,
                                                                    "self": 0.0013331280001125378
                                                                }
                                                            }
                                                        },
                                                        "UnityEnvironment.step": {
                                                            "total": 0.04867976399998497,
                                                            "count": 1,
                                                            "is_parallel": true,
                                                            "self": 0.00044687900003737013,
                                                            "children": {
                                                                "UnityEnvironment._generate_step_input": {
                                                                    "total": 0.0003752380000037192,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0003752380000037192
                                                                },
                                                                "communicator.exchange": {
                                                                    "total": 0.04638975899996467,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.04638975899996467
                                                                },
                                                                "steps_from_proto": {
                                                                    "total": 0.0014678879999792116,
                                                                    "count": 1,
                                                                    "is_parallel": true,
                                                                    "self": 0.0004198669999482263,
                                                                    "children": {
                                                                        "_process_rank_one_or_two_observation": {
                                                                            "total": 0.0010480210000309853,
                                                                            "count": 6,
                                                                            "is_parallel": true,
                                                                            "self": 0.0010480210000309853
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 3589.6873490350417,
                                                    "count": 351345,
                                                    "is_parallel": true,
                                                    "self": 152.38421451770046,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 94.76092162134836,
                                                            "count": 351345,
                                                            "is_parallel": true,
                                                            "self": 94.76092162134836
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 2819.983938868857,
                                                            "count": 351345,
                                                            "is_parallel": true,
                                                            "self": 2819.983938868857
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 522.5582740271361,
                                                            "count": 351345,
                                                            "is_parallel": true,
                                                            "self": 149.29340560353978,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 373.26486842359634,
                                                                    "count": 2108070,
                                                                    "is_parallel": true,
                                                                    "self": 373.26486842359634
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "TrainerController._save_models": {
                    "total": 0.5570493739996891,
                    "count": 1,
                    "self": 0.0034515099996497156,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.5535978640000394,
                            "count": 1,
                            "self": 0.5535978640000394
                        }
                    }
                }
            }
        }
    }
}