McCheng commited on
Commit
cc93c42
1 Parent(s): 227b516

First Push

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: McCheng/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a038814e6b14fffb3bd0825c592192fd78f5a7f2b5192d38b7dcabacd7f96cb3
3
+ size 2409481
SoccerTwos/SoccerTwos-117999982.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a345690063db5a90ae2eb3451376dc11537b47e4e56980253ec0ea334d4ffa20
3
+ size 2409481
SoccerTwos/SoccerTwos-117999982.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19e810626e02dd7adfc6830781222a38b307ad4e905446c2db387d0f25ee2edc
3
+ size 29523761
SoccerTwos/SoccerTwos-118499965.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7965a5a6cd5c12e7a58cf1d382054e1a3043f5be25d06b8122d83ac3dc50c0ee
3
+ size 2409481
SoccerTwos/SoccerTwos-118499965.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3f55bcf272c8ae8422b111818fd53a6700b845cacb51a05751ff87f728a85ba
3
+ size 29523761
SoccerTwos/SoccerTwos-118999985.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a01f67cfe185ca94b9df17458ed1c2bab49a7ef243273de4ee823f453b2e6ea
3
+ size 2409481
SoccerTwos/SoccerTwos-118999985.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02a8ef0b1a3f373d7752032acf6534ae236e0740173c6909fe4bd5b4807f86b1
3
+ size 29523761
SoccerTwos/SoccerTwos-119499998.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f611d3844a49c014b0e5412f5e2f28b9bdf87c087411e61c8d15ecf764437bdc
3
+ size 2409481
SoccerTwos/SoccerTwos-119499998.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f5e49055488cb69f8cb4fc84b39b92f1d1bbd944a739f3228fe49abcf3c497a
3
+ size 29523761
SoccerTwos/SoccerTwos-119999973.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a038814e6b14fffb3bd0825c592192fd78f5a7f2b5192d38b7dcabacd7f96cb3
3
+ size 2409481
SoccerTwos/SoccerTwos-119999973.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28137e11b7a5a20fee738e21087988105a84affcab5686f352c024031004f7f9
3
+ size 29523761
SoccerTwos/SoccerTwos-119999987.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a038814e6b14fffb3bd0825c592192fd78f5a7f2b5192d38b7dcabacd7f96cb3
3
+ size 2409481
SoccerTwos/SoccerTwos-119999987.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94c4e2cb52668f4f7f16128b7d4d08ac782201126906491bb175f5db458ec41b
3
+ size 29523761
SoccerTwos/SoccerTwos-120022547.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a038814e6b14fffb3bd0825c592192fd78f5a7f2b5192d38b7dcabacd7f96cb3
3
+ size 2409481
SoccerTwos/SoccerTwos-120022547.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:861e0887d32f9a0e4e086783131845769f9092799df5a70fd731b7d1fc917891
3
+ size 29523761
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:861e0887d32f9a0e4e086783131845769f9092799df5a70fd731b7d1fc917891
3
+ size 29523761
SoccerTwos/events.out.tfevents.1679586931.19cba9084b78.1104.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15479e8811d84743086ac7c9558648e116f98e050742b7e42d98eeaa7f015816
3
+ size 121782272
SoccerTwos/events.out.tfevents.1679883328.19cba9084b78.94.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73928c52901682a0dcc5f9ccc9228171c154c19c271eb073dbc2c817e014ad67
3
+ size 22272
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 8192, "buffer_size": 81920, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 468, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 200000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 100000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/SoccerTwos/SoccerTwos.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": true, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 8192
7
+ buffer_size: 81920
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 468
20
+ num_layers: 3
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 200000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 100000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-envs-executables/linux/SoccerTwos/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
76
+ force: false
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,345 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/root/ml-agents/training-envs-executables/linux/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/root/ml-agents/training-envs-executables/linux/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /root/ml-agents/training-envs-executables/linux/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ FMOD initialized on nosound output
14
+ Begin MonoManager ReloadAssembly
15
+ - Completed reload, in 0.084 seconds
16
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
20
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
21
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
22
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
24
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
25
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
26
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
27
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
28
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
29
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
30
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
31
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
32
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
33
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
34
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
35
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
36
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
38
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
39
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
40
+ UnloadTime: 0.477756 ms
41
+ Registered Communicator in Agent.
42
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
43
+ requesting resize 84 x 84
44
+ Setting up 10 worker threads for Enlighten.
45
+ Memory Statistics:
46
+ [ALLOC_TEMP_TLS] TLS Allocator
47
+ StackAllocators :
48
+ [ALLOC_TEMP_MAIN]
49
+ Peak usage frame count: [8.0 KB-16.0 KB]: 433 frames, [2.0 MB-4.0 MB]: 1 frames
50
+ Initial Block Size 4.0 MB
51
+ Current Block Size 4.0 MB
52
+ Peak Allocated Bytes 2.1 MB
53
+ Overflow Count 0
54
+ [ALLOC_TEMP_Job.Worker 18]
55
+ Initial Block Size 256.0 KB
56
+ Current Block Size 256.0 KB
57
+ Peak Allocated Bytes 0 B
58
+ Overflow Count 0
59
+ [ALLOC_TEMP_Loading.PreloadManager]
60
+ Initial Block Size 256.0 KB
61
+ Current Block Size 300.0 KB
62
+ Peak Allocated Bytes 249.6 KB
63
+ Overflow Count 4
64
+ [ALLOC_TEMP_Loading.AsyncRead]
65
+ Initial Block Size 64.0 KB
66
+ Current Block Size 64.0 KB
67
+ Peak Allocated Bytes 128 B
68
+ Overflow Count 0
69
+ [ALLOC_TEMP_Background Job.Worker 8]
70
+ Initial Block Size 32.0 KB
71
+ Current Block Size 32.0 KB
72
+ Peak Allocated Bytes 0 B
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Job.Worker 6]
75
+ Initial Block Size 256.0 KB
76
+ Current Block Size 256.0 KB
77
+ Peak Allocated Bytes 0 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Job.Worker 0]
80
+ Initial Block Size 256.0 KB
81
+ Current Block Size 256.0 KB
82
+ Peak Allocated Bytes 0 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 10]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 9]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Job.Worker 5]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 14]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Job.Worker 16]
105
+ Initial Block Size 256.0 KB
106
+ Current Block Size 256.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 6]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Job.Worker 4]
115
+ Initial Block Size 256.0 KB
116
+ Current Block Size 256.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Job.Worker 14]
120
+ Initial Block Size 256.0 KB
121
+ Current Block Size 256.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Job.Worker 17]
125
+ Initial Block Size 256.0 KB
126
+ Current Block Size 256.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Job.Worker 3]
130
+ Initial Block Size 256.0 KB
131
+ Current Block Size 256.0 KB
132
+ Peak Allocated Bytes 0.7 KB
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Job.Worker 13]
135
+ Initial Block Size 256.0 KB
136
+ Current Block Size 256.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 12]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_EnlightenWorker] x 10
145
+ Initial Block Size 64.0 KB
146
+ Current Block Size 64.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 15]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 1]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 2]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 7]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 19
170
+ Initial Block Size 64.0 KB
171
+ Current Block Size 64.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 5]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Job.Worker 9]
180
+ Initial Block Size 256.0 KB
181
+ Current Block Size 256.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 13]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Job.Worker 8]
190
+ Initial Block Size 256.0 KB
191
+ Current Block Size 256.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Job.Worker 7]
195
+ Initial Block Size 256.0 KB
196
+ Current Block Size 256.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Job.Worker 1]
200
+ Initial Block Size 256.0 KB
201
+ Current Block Size 256.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Job.Worker 2]
205
+ Initial Block Size 256.0 KB
206
+ Current Block Size 256.0 KB
207
+ Peak Allocated Bytes 0 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_Background Job.Worker 3]
210
+ Initial Block Size 32.0 KB
211
+ Current Block Size 32.0 KB
212
+ Peak Allocated Bytes 0 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Background Job.Worker 11]
215
+ Initial Block Size 32.0 KB
216
+ Current Block Size 32.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Job.Worker 10]
220
+ Initial Block Size 256.0 KB
221
+ Current Block Size 256.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_Background Job.Worker 0]
225
+ Initial Block Size 32.0 KB
226
+ Current Block Size 32.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_Job.Worker 15]
230
+ Initial Block Size 256.0 KB
231
+ Current Block Size 256.0 KB
232
+ Peak Allocated Bytes 0 B
233
+ Overflow Count 0
234
+ [ALLOC_TEMP_Job.Worker 11]
235
+ Initial Block Size 256.0 KB
236
+ Current Block Size 256.0 KB
237
+ Peak Allocated Bytes 0 B
238
+ Overflow Count 0
239
+ [ALLOC_TEMP_Job.Worker 12]
240
+ Initial Block Size 256.0 KB
241
+ Current Block Size 256.0 KB
242
+ Peak Allocated Bytes 0 B
243
+ Overflow Count 0
244
+ [ALLOC_TEMP_Background Job.Worker 4]
245
+ Initial Block Size 32.0 KB
246
+ Current Block Size 32.0 KB
247
+ Peak Allocated Bytes 0 B
248
+ Overflow Count 0
249
+ [ALLOC_TEMP_BatchDeleteObjects]
250
+ Initial Block Size 64.0 KB
251
+ Current Block Size 64.0 KB
252
+ Peak Allocated Bytes 0 B
253
+ Overflow Count 0
254
+ [ALLOC_DEFAULT] Dual Thread Allocator
255
+ Peak main deferred allocation count 3
256
+ [ALLOC_BUCKET]
257
+ Large Block size 4.0 MB
258
+ Used Block count 1
259
+ Peak Allocated bytes 1.0 MB
260
+ [ALLOC_DEFAULT_MAIN]
261
+ Peak usage frame count: [4.0 MB-8.0 MB]: 434 frames
262
+ Requested Block Size 16.0 MB
263
+ Peak Block count 1
264
+ Peak Allocated memory 4.9 MB
265
+ Peak Large allocation bytes 0 B
266
+ [ALLOC_DEFAULT_THREAD]
267
+ Peak usage frame count: [16.0 MB-32.0 MB]: 434 frames
268
+ Requested Block Size 16.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 17.3 MB
271
+ Peak Large allocation bytes 16.0 MB
272
+ [ALLOC_TEMP_JOB_1_FRAME]
273
+ Initial Block Size 2.0 MB
274
+ Used Block Count 1
275
+ Overflow Count (too large) 0
276
+ Overflow Count (full) 0
277
+ [ALLOC_TEMP_JOB_2_FRAMES]
278
+ Initial Block Size 2.0 MB
279
+ Used Block Count 1
280
+ Overflow Count (too large) 0
281
+ Overflow Count (full) 0
282
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
283
+ Initial Block Size 2.0 MB
284
+ Used Block Count 2
285
+ Overflow Count (too large) 0
286
+ Overflow Count (full) 0
287
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
288
+ Initial Block Size 1.0 MB
289
+ Used Block Count 3
290
+ Overflow Count (too large) 0
291
+ Overflow Count (full) 0
292
+ [ALLOC_GFX] Dual Thread Allocator
293
+ Peak main deferred allocation count 0
294
+ [ALLOC_BUCKET]
295
+ Large Block size 4.0 MB
296
+ Used Block count 1
297
+ Peak Allocated bytes 1.0 MB
298
+ [ALLOC_GFX_MAIN]
299
+ Peak usage frame count: [32.0 KB-64.0 KB]: 433 frames, [64.0 KB-128.0 KB]: 1 frames
300
+ Requested Block Size 16.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 65.6 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_GFX_THREAD]
305
+ Peak usage frame count: [128.0 KB-256.0 KB]: 434 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 173.5 KB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
311
+ Peak main deferred allocation count 0
312
+ [ALLOC_BUCKET]
313
+ Large Block size 4.0 MB
314
+ Used Block count 1
315
+ Peak Allocated bytes 1.0 MB
316
+ [ALLOC_CACHEOBJECTS_MAIN]
317
+ Peak usage frame count: [0.5 MB-1.0 MB]: 434 frames
318
+ Requested Block Size 4.0 MB
319
+ Peak Block count 1
320
+ Peak Allocated memory 0.6 MB
321
+ Peak Large allocation bytes 0 B
322
+ [ALLOC_CACHEOBJECTS_THREAD]
323
+ Peak usage frame count: [0.5 MB-1.0 MB]: 433 frames, [4.0 MB-8.0 MB]: 1 frames
324
+ Requested Block Size 4.0 MB
325
+ Peak Block count 2
326
+ Peak Allocated memory 4.5 MB
327
+ Peak Large allocation bytes 0 B
328
+ [ALLOC_TYPETREE] Dual Thread Allocator
329
+ Peak main deferred allocation count 0
330
+ [ALLOC_BUCKET]
331
+ Large Block size 4.0 MB
332
+ Used Block count 1
333
+ Peak Allocated bytes 1.0 MB
334
+ [ALLOC_TYPETREE_MAIN]
335
+ Peak usage frame count: [0-1.0 KB]: 434 frames
336
+ Requested Block Size 2.0 MB
337
+ Peak Block count 1
338
+ Peak Allocated memory 1.0 KB
339
+ Peak Large allocation bytes 0 B
340
+ [ALLOC_TYPETREE_THREAD]
341
+ Peak usage frame count: [1.0 KB-2.0 KB]: 433 frames, [2.0 KB-4.0 KB]: 1 frames
342
+ Requested Block Size 2.0 MB
343
+ Peak Block count 1
344
+ Peak Allocated memory 2.2 KB
345
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.517268180847168,
6
+ "min": 1.4903794527053833,
7
+ "max": 1.5201311111450195,
8
+ "count": 3
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 29908.390625,
12
+ "min": 667.6900024414062,
13
+ "max": 32737.54296875,
14
+ "count": 3
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 65.22972972972973,
18
+ "min": 9.0,
19
+ "max": 65.22972972972973,
20
+ "count": 3
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19308.0,
24
+ "min": 72.0,
25
+ "max": 20136.0,
26
+ "count": 3
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1210.0421697606719,
30
+ "min": 1200.4971269630323,
31
+ "max": 1210.0421697606719,
32
+ "count": 3
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 179086.24112457945,
36
+ "min": 4801.988507852129,
37
+ "max": 197767.91558502865,
38
+ "count": 3
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 120019923.0,
42
+ "min": 119999987.0,
43
+ "max": 120019923.0,
44
+ "count": 3
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 120019923.0,
48
+ "min": 119999987.0,
49
+ "max": 120019923.0,
50
+ "count": 3
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.008530313149094582,
54
+ "min": -0.018430374562740326,
55
+ "max": 0.11498736590147018,
56
+ "count": 3
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -1.2710167169570923,
60
+ "min": -3.0225815773010254,
61
+ "max": 0.22997473180294037,
62
+ "count": 3
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.009896667674183846,
66
+ "min": -0.019665079191327095,
67
+ "max": 0.12343143671751022,
68
+ "count": 3
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -1.4746034145355225,
72
+ "min": -3.2250728607177734,
73
+ "max": 0.24686287343502045,
74
+ "count": 3
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 3
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 3
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.07723892615145485,
90
+ "min": 0.07723892615145485,
91
+ "max": 0.9918000102043152,
92
+ "count": 3
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 11.508599996566772,
96
+ "min": 1.9836000204086304,
97
+ "max": 13.760800123214722,
98
+ "count": 3
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.07723892615145485,
102
+ "min": 0.07723892615145485,
103
+ "max": 0.9918000102043152,
104
+ "count": 3
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 11.508599996566772,
108
+ "min": 1.9836000204086304,
109
+ "max": 13.760800123214722,
110
+ "count": 3
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 3
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 3
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1679883328",
128
+ "python_version": "3.9.16 (main, Mar 8 2023, 14:00:05) \n[GCC 11.2.0]",
129
+ "command_line_arguments": "/opt/conda/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/linux/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "1.11.0+cu115",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1679883366"
136
+ },
137
+ "total": 38.56977228799997,
138
+ "count": 1,
139
+ "self": 0.06740989299987632,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.010300079999979062,
143
+ "count": 1,
144
+ "self": 0.010300079999979062
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 38.49206231500011,
148
+ "count": 1,
149
+ "self": 0.033290510006509066,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 3.5705099850001716,
153
+ "count": 2,
154
+ "self": 3.5705099850001716
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 34.735449429993196,
158
+ "count": 1589,
159
+ "self": 0.03484026699516107,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 30.001520048000202,
163
+ "count": 1589,
164
+ "self": 19.518561332992704,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 10.46364094100295,
168
+ "count": 1589,
169
+ "self": 0.17991580500051896,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 10.283725136002431,
173
+ "count": 2892,
174
+ "self": 10.283725136002431
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.019317774004548482,
180
+ "count": 1588,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 38.26803507299769,
185
+ "count": 1588,
186
+ "is_parallel": true,
187
+ "self": 21.78477827799452,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.0,
191
+ "count": 0,
192
+ "is_parallel": true,
193
+ "self": 0.0,
194
+ "children": {
195
+ "steps_from_proto": {
196
+ "total": 0.0023607900002389215,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0008767130004798673,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0014840769997590542,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0014840769997590542
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.018528570999933436,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.00038828300012028194,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.00027503499995873426,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.00027503499995873426
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.01683400599995366,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.01683400599995366
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.001031246999900759,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.000221451000243178,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.000809795999657581,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.000809795999657581
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "steps_from_proto": {
246
+ "total": 0.000973369999883289,
247
+ "count": 2,
248
+ "is_parallel": true,
249
+ "self": 0.0001988459996482561,
250
+ "children": {
251
+ "_process_rank_one_or_two_observation": {
252
+ "total": 0.0007745240002350329,
253
+ "count": 8,
254
+ "is_parallel": true,
255
+ "self": 0.0007745240002350329
256
+ }
257
+ }
258
+ },
259
+ "UnityEnvironment.step": {
260
+ "total": 16.48228342500329,
261
+ "count": 1587,
262
+ "is_parallel": true,
263
+ "self": 0.5538142500083723,
264
+ "children": {
265
+ "UnityEnvironment._generate_step_input": {
266
+ "total": 0.33954139499837765,
267
+ "count": 1587,
268
+ "is_parallel": true,
269
+ "self": 0.33954139499837765
270
+ },
271
+ "communicator.exchange": {
272
+ "total": 14.079308392995927,
273
+ "count": 1587,
274
+ "is_parallel": true,
275
+ "self": 14.079308392995927
276
+ },
277
+ "steps_from_proto": {
278
+ "total": 1.5096193870006118,
279
+ "count": 3174,
280
+ "is_parallel": true,
281
+ "self": 0.32058106701128963,
282
+ "children": {
283
+ "_process_rank_one_or_two_observation": {
284
+ "total": 1.1890383199893222,
285
+ "count": 12696,
286
+ "is_parallel": true,
287
+ "self": 1.1890383199893222
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_advance": {
300
+ "total": 4.699089114997832,
301
+ "count": 1588,
302
+ "self": 0.21049799600041297,
303
+ "children": {
304
+ "process_trajectory": {
305
+ "total": 4.4885911189974195,
306
+ "count": 1588,
307
+ "self": 4.267367384997442,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.2212237339999774,
311
+ "count": 1,
312
+ "self": 0.2212237339999774
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ },
320
+ "trainer_threads": {
321
+ "total": 6.75000137562165e-07,
322
+ "count": 1,
323
+ "self": 6.75000137562165e-07
324
+ },
325
+ "TrainerController._save_models": {
326
+ "total": 0.15281171500009805,
327
+ "count": 1,
328
+ "self": 0.0013204310000674013,
329
+ "children": {
330
+ "RLTrainer._checkpoint": {
331
+ "total": 0.15149128400003065,
332
+ "count": 1,
333
+ "self": 0.15149128400003065
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1210.553081061757,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 119999987,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-119999987.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1679883332.3920805,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-119999987.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 120022547,
16
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-120022547.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1679883366.726175,
19
+ "auxillary_file_paths": [
20
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-120022547.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 120022547,
26
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1679883366.726175,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-120022547.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "1.11.0+cu115"
38
+ }
39
+ }