File size: 8,330 Bytes
7a358f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1709290882",
        "python_version": "3.10.12 | packaged by Anaconda, Inc. | (main, Jul  5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]",
        "command_line_arguments": "\\\\?\\C:\\Users\\tsfei\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.2.1+cpu",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1709290912"
    },
    "total": 29.524235200020485,
    "count": 1,
    "self": 4.274449199903756,
    "children": {
        "run_training.setup": {
            "total": 0.24844530003610998,
            "count": 1,
            "self": 0.24844530003610998
        },
        "TrainerController.start_learning": {
            "total": 25.00134070008062,
            "count": 1,
            "self": 0.01991499902214855,
            "children": {
                "TrainerController._reset_env": {
                    "total": 8.056637300061993,
                    "count": 1,
                    "self": 8.056637300061993
                },
                "TrainerController.advance": {
                    "total": 16.669975800905377,
                    "count": 523,
                    "self": 0.021563803777098656,
                    "children": {
                        "env_step": {
                            "total": 16.3210058985278,
                            "count": 523,
                            "self": 12.615001202910207,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 3.6937427977100015,
                                    "count": 523,
                                    "self": 0.13225159782450646,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 3.561491199885495,
                                            "count": 1042,
                                            "self": 3.561491199885495
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.012261897907592356,
                                    "count": 522,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 18.622069598874077,
                                            "count": 522,
                                            "is_parallel": true,
                                            "self": 8.756487997132353,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.0072839000495150685,
                                                    "count": 2,
                                                    "is_parallel": true,
                                                    "self": 0.0014364002272486687,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.0058474998222664,
                                                            "count": 8,
                                                            "is_parallel": true,
                                                            "self": 0.0058474998222664
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 9.858297701692209,
                                                    "count": 522,
                                                    "is_parallel": true,
                                                    "self": 0.5354730035178363,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.6396330007119104,
                                                            "count": 522,
                                                            "is_parallel": true,
                                                            "self": 0.6396330007119104
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 7.008184298523702,
                                                            "count": 522,
                                                            "is_parallel": true,
                                                            "self": 7.008184298523702
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.6750073989387602,
                                                            "count": 1044,
                                                            "is_parallel": true,
                                                            "self": 0.35391049971804023,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 1.32109689922072,
                                                                    "count": 4176,
                                                                    "is_parallel": true,
                                                                    "self": 1.32109689922072
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.327406098600477,
                            "count": 522,
                            "self": 0.050374498474411666,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.2770316001260653,
                                    "count": 522,
                                    "self": 0.2770316001260653
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 2.500019036233425e-06,
                    "count": 1,
                    "self": 2.500019036233425e-06
                },
                "TrainerController._save_models": {
                    "total": 0.2548101000720635,
                    "count": 1,
                    "self": 0.014720900100655854,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.24008919997140765,
                            "count": 1,
                            "self": 0.24008919997140765
                        }
                    }
                }
            }
        }
    }
}