File size: 8,295 Bytes
9d71be4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "1717448012",
        "python_version": "3.10.12 (main, Jul  5 2023, 15:34:07) [Clang 14.0.6 ]",
        "command_line_arguments": "/opt/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics --force",
        "mlagents_version": "1.1.0.dev0",
        "mlagents_envs_version": "1.1.0.dev0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.2.2",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1717448063"
    },
    "total": 50.574341969011584,
    "count": 1,
    "self": 0.32905976704205386,
    "children": {
        "run_training.setup": {
            "total": 0.02533804698032327,
            "count": 1,
            "self": 0.02533804698032327
        },
        "TrainerController.start_learning": {
            "total": 50.21994415498921,
            "count": 1,
            "self": 0.010334121878258884,
            "children": {
                "TrainerController._reset_env": {
                    "total": 4.042011037992779,
                    "count": 1,
                    "self": 4.042011037992779
                },
                "TrainerController.advance": {
                    "total": 45.99471517911297,
                    "count": 553,
                    "self": 0.01098527293652296,
                    "children": {
                        "env_step": {
                            "total": 45.75294454279356,
                            "count": 553,
                            "self": 44.309467079438036,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 1.4372495233255904,
                                    "count": 553,
                                    "self": 0.055769077385775745,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 1.3814804459398147,
                                            "count": 1104,
                                            "self": 1.3814804459398147
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.006227940029930323,
                                    "count": 553,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 46.37804628274171,
                                            "count": 553,
                                            "is_parallel": true,
                                            "self": 3.3488574996008538,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.002628420013934374,
                                                    "count": 2,
                                                    "is_parallel": true,
                                                    "self": 0.0004541860253084451,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.0021742339886259288,
                                                            "count": 8,
                                                            "is_parallel": true,
                                                            "self": 0.0021742339886259288
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 43.02656036312692,
                                                    "count": 553,
                                                    "is_parallel": true,
                                                    "self": 0.14129470483749174,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.8958085159538314,
                                                            "count": 553,
                                                            "is_parallel": true,
                                                            "self": 0.8958085159538314
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 40.456625930266455,
                                                            "count": 553,
                                                            "is_parallel": true,
                                                            "self": 40.456625930266455
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.5328312120691407,
                                                            "count": 1106,
                                                            "is_parallel": true,
                                                            "self": 0.2153397143119946,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 1.3174914977571461,
                                                                    "count": 4424,
                                                                    "is_parallel": true,
                                                                    "self": 1.3174914977571461
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 0.23078536338289268,
                            "count": 553,
                            "self": 0.031384217232698575,
                            "children": {
                                "process_trajectory": {
                                    "total": 0.1994011461501941,
                                    "count": 553,
                                    "self": 0.1994011461501941
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 1.127016730606556e-06,
                    "count": 1,
                    "self": 1.127016730606556e-06
                },
                "TrainerController._save_models": {
                    "total": 0.17288268898846582,
                    "count": 1,
                    "self": 0.0011430189770180732,
                    "children": {
                        "RLTrainer._checkpoint": {
                            "total": 0.17173967001144774,
                            "count": 1,
                            "self": 0.17173967001144774
                        }
                    }
                }
            }
        }
    }
}