File size: 8,099 Bytes
275d4be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "name": "root",
    "metadata": {
        "timer_format_version": "0.1.0",
        "start_time_seconds": "1774351324",
        "python_version": "3.10.11 | packaged by Anaconda, Inc. | (main, May 16 2023, 00:55:32) [MSC v.1916 64 bit (AMD64)]",
        "command_line_arguments": "C:\\Users\\rohit\\miniconda3\\envs\\rl-learn\\Scripts\\mlagents-learn C:\\Users\\rohit\\Downloads\\RL-learn\\config\\ppo\\PyramidsRND.yaml --env=C:\\Users\\rohit\\Downloads\\RL-learn\\training-envs-executables\\windows\\Pyramids\\UnityEnvironment.exe --run-id=Pyramids1 --inference --resume",
        "mlagents_version": "1.0.0",
        "mlagents_envs_version": "1.1.0",
        "communication_protocol_version": "1.5.0",
        "pytorch_version": "2.6.0+cu124",
        "numpy_version": "1.23.5",
        "end_time_seconds": "1774351372"
    },
    "total": 48.87714009999763,
    "count": 1,
    "self": 10.006929499912076,
    "children": {
        "run_training.setup": {
            "total": 0.1279296000720933,
            "count": 1,
            "self": 0.1279296000720933
        },
        "TrainerController.start_learning": {
            "total": 38.74228100001346,
            "count": 1,
            "self": 0.029113499796949327,
            "children": {
                "TrainerController._reset_env": {
                    "total": 11.584887400036678,
                    "count": 1,
                    "self": 11.584887400036678
                },
                "TrainerController.advance": {
                    "total": 27.128279200172983,
                    "count": 1205,
                    "self": 0.030219002277590334,
                    "children": {
                        "env_step": {
                            "total": 24.78010079928208,
                            "count": 1205,
                            "self": 19.980615599779412,
                            "children": {
                                "SubprocessEnvManager._take_step": {
                                    "total": 4.782365499762818,
                                    "count": 1206,
                                    "self": 0.1007295026211068,
                                    "children": {
                                        "TorchPolicy.evaluate": {
                                            "total": 4.681635997141711,
                                            "count": 1175,
                                            "self": 4.681635997141711
                                        }
                                    }
                                },
                                "workers": {
                                    "total": 0.017119699739851058,
                                    "count": 1204,
                                    "self": 0.0,
                                    "children": {
                                        "worker_root": {
                                            "total": 23.39705480169505,
                                            "count": 1204,
                                            "is_parallel": true,
                                            "self": 11.783425701782107,
                                            "children": {
                                                "steps_from_proto": {
                                                    "total": 0.0033790001180022955,
                                                    "count": 2,
                                                    "is_parallel": true,
                                                    "self": 0.0006664003012701869,
                                                    "children": {
                                                        "_process_rank_one_or_two_observation": {
                                                            "total": 0.0027125998167321086,
                                                            "count": 16,
                                                            "is_parallel": true,
                                                            "self": 0.0027125998167321086
                                                        }
                                                    }
                                                },
                                                "UnityEnvironment.step": {
                                                    "total": 11.61025009979494,
                                                    "count": 1204,
                                                    "is_parallel": true,
                                                    "self": 0.3885261978721246,
                                                    "children": {
                                                        "UnityEnvironment._generate_step_input": {
                                                            "total": 0.316357901901938,
                                                            "count": 1204,
                                                            "is_parallel": true,
                                                            "self": 0.316357901901938
                                                        },
                                                        "communicator.exchange": {
                                                            "total": 9.808723400346935,
                                                            "count": 1204,
                                                            "is_parallel": true,
                                                            "self": 9.808723400346935
                                                        },
                                                        "steps_from_proto": {
                                                            "total": 1.0966425996739417,
                                                            "count": 1204,
                                                            "is_parallel": true,
                                                            "self": 0.2563022974645719,
                                                            "children": {
                                                                "_process_rank_one_or_two_observation": {
                                                                    "total": 0.8403403022093698,
                                                                    "count": 9632,
                                                                    "is_parallel": true,
                                                                    "self": 0.8403403022093698
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        },
                        "trainer_advance": {
                            "total": 2.3179593986133114,
                            "count": 1204,
                            "self": 0.03145549667533487,
                            "children": {
                                "process_trajectory": {
                                    "total": 2.2865039019379765,
                                    "count": 1204,
                                    "self": 2.2865039019379765
                                }
                            }
                        }
                    }
                },
                "trainer_threads": {
                    "total": 9.00006853044033e-07,
                    "count": 1,
                    "self": 9.00006853044033e-07
                }
            }
        }
    }
}