sumitk commited on
Commit
b19907a
1 Parent(s): 568abc7

Second Team`

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: sumitk/poca-SoccerTwos-2
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:da193b89e86a6557aa308867367502765cb753460da4852750cfd54c6a55ffb4
3
+ size 1768746
SoccerTwos/SoccerTwos-41999986.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eb6cb30428e845732990f48537ac73b112438258f783dacdc43d2404b9fba93
3
+ size 1768746
SoccerTwos/SoccerTwos-41999986.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ea39a195824048f01c25092ec66123116d14888662f8e29b09f726ea2c1047
3
+ size 28430025
SoccerTwos/SoccerTwos-42499854.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36c25f8143fbda594dca4ac7bb2d0c1b2fde1b85e1528a004fa7422c4571e552
3
+ size 1768746
SoccerTwos/SoccerTwos-42499854.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95ee471b51b093323e11d54b2b979e1628603bb32c6be3ae4a90144ed269697d
3
+ size 28430025
SoccerTwos/SoccerTwos-42999976.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adc79b3ace93dbefaf1e082b8ceefa7c47519233791f058396ccfda28bb63ae4
3
+ size 1768746
SoccerTwos/SoccerTwos-42999976.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49e79e69041f5705cf9254abb8f467171bcbb8d3c08dea10076b02353c9ba1bc
3
+ size 28430025
SoccerTwos/SoccerTwos-43499993.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7571aecd35c3607066f5765b72eab9fedcd2088b3007309be98bb5e25396a6e5
3
+ size 1768746
SoccerTwos/SoccerTwos-43499993.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90a16bfe7062d053c27f1b8cd331ca56ade9f1b881f13540604091168a528e2e
3
+ size 28430025
SoccerTwos/SoccerTwos-43917862.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da193b89e86a6557aa308867367502765cb753460da4852750cfd54c6a55ffb4
3
+ size 1768746
SoccerTwos/SoccerTwos-43917862.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1d40c60e719ef6e9eccf02e126a37ab6b060868fbb9817b4e3ef1a946567e4
3
+ size 28430025
SoccerTwos/SoccerTwos-499096.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91abb28daeb24b1f370782fd724f1b2a0d5941ecfdb6b95c4b97198dea2ee4a2
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:947cdc57c792fce2b241acc943d2712553473636b7331599557320b87171467c
3
+ size 28428927
SoccerTwos/events.out.tfevents.1682409767.CTPL-PC-08.22580.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02fca8d327426c5d0330798866ad486e44beda05553ff42c4f1f3a18c5985d8b
3
+ size 388640
SoccerTwos/events.out.tfevents.1682413094.CTPL-PC-08.4320.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abb6f249894efc29d5ea545252b4abb43329760ee506ca7ff54311b9bda64c47
3
+ size 12842808
SoccerTwos/events.out.tfevents.1682476280.CTPL-PC-08.2004.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a77835b1d9030d0b1e4380de801eb5e764bf7317b24eccef9c6460a5c55e177
3
+ size 2611393
SoccerTwos/events.out.tfevents.1682488975.CTPL-PC-08.5712.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5001b9ca8e497ac95af5d7f40d1c2445c748cf72e0d18cb724319f08202a854
3
+ size 24554353
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "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": 512, "num_layers": 2, "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": 50000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "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/SoccerTwos.exe", "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: 2048
7
+ buffer_size: 20480
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: 512
20
+ num_layers: 2
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: 50000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
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/SoccerTwos.exe
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,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'D:/reinf/unit7/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = 'D:/reinf/unit7/ml-agents/training-envs-executables/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path D:/reinf/unit7/ml-agents/training-envs-executables/SoccerTwos_Data/UnitySubsystems
5
+ Forcing GfxDevice: Null
6
+ GfxDevice: creating device client; threaded=0; jobified=0
7
+ NullGfxDevice:
8
+ Version: NULL 1.0 [1.0]
9
+ Renderer: Null Device
10
+ Vendor: Unity Technologies
11
+ Begin MonoManager ReloadAssembly
12
+ - Completed reload, in 2.931 seconds
13
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
14
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 0.606100 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ TOO LONG
42
+ TOO LONG
43
+ TOO LONG
44
+ Setting up 4 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]: 450296 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.0 MB
53
+ Overflow Count 0
54
+ [ALLOC_TEMP_Loading.AsyncRead]
55
+ Initial Block Size 64.0 KB
56
+ Current Block Size 64.0 KB
57
+ Peak Allocated Bytes 279 B
58
+ Overflow Count 0
59
+ [ALLOC_TEMP_Loading.PreloadManager]
60
+ Initial Block Size 256.0 KB
61
+ Current Block Size 256.0 KB
62
+ Peak Allocated Bytes 67.0 KB
63
+ Overflow Count 4
64
+ [ALLOC_TEMP_Background Job.Worker 8]
65
+ Initial Block Size 32.0 KB
66
+ Current Block Size 32.0 KB
67
+ Peak Allocated Bytes 54 B
68
+ Overflow Count 0
69
+ [ALLOC_TEMP_Job.Worker 6]
70
+ Initial Block Size 256.0 KB
71
+ Current Block Size 256.0 KB
72
+ Peak Allocated Bytes 0.8 KB
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Job.Worker 0]
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_Background Job.Worker 10]
80
+ Initial Block Size 32.0 KB
81
+ Current Block Size 32.0 KB
82
+ Peak Allocated Bytes 54 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 9]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 54 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Job.Worker 5]
90
+ Initial Block Size 256.0 KB
91
+ Current Block Size 256.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Background Job.Worker 14]
95
+ Initial Block Size 32.0 KB
96
+ Current Block Size 32.0 KB
97
+ Peak Allocated Bytes 54 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 6]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 54 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Job.Worker 4]
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_Job.Worker 3]
110
+ Initial Block Size 256.0 KB
111
+ Current Block Size 256.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 12]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 54 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_EnlightenWorker] x 4
120
+ Initial Block Size 64.0 KB
121
+ Current Block Size 64.0 KB
122
+ Peak Allocated Bytes 54 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 15]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 54 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 1]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 54 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 2]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 54 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 7]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 54 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
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 5]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 54 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 13]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 54 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Job.Worker 1]
160
+ Initial Block Size 256.0 KB
161
+ Current Block Size 256.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Job.Worker 2]
165
+ Initial Block Size 256.0 KB
166
+ Current Block Size 256.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 3]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 54 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 11]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 54 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 0]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 54 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 4]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 54 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_BatchDeleteObjects]
190
+ Initial Block Size 64.0 KB
191
+ Current Block Size 64.0 KB
192
+ Peak Allocated Bytes 54 B
193
+ Overflow Count 0
194
+ [ALLOC_DEFAULT] Dual Thread Allocator
195
+ Peak main deferred allocation count 4
196
+ [ALLOC_BUCKET]
197
+ Large Block size 4.0 MB
198
+ Used Block count 1
199
+ Peak Allocated bytes 0.9 MB
200
+ [ALLOC_DEFAULT_MAIN]
201
+ Peak usage frame count: [4.0 MB-8.0 MB]: 450297 frames
202
+ Requested Block Size 16.0 MB
203
+ Peak Block count 1
204
+ Peak Allocated memory 5.0 MB
205
+ Peak Large allocation bytes 0 B
206
+ [ALLOC_DEFAULT_THREAD]
207
+ Peak usage frame count: [16.0 MB-32.0 MB]: 450297 frames
208
+ Requested Block Size 16.0 MB
209
+ Peak Block count 1
210
+ Peak Allocated memory 17.4 MB
211
+ Peak Large allocation bytes 16.0 MB
212
+ [ALLOC_TEMP_JOB_1_FRAME]
213
+ Initial Block Size 2.0 MB
214
+ Used Block Count 1
215
+ Overflow Count (too large) 0
216
+ Overflow Count (full) 0
217
+ [ALLOC_TEMP_JOB_2_FRAMES]
218
+ Initial Block Size 2.0 MB
219
+ Used Block Count 1
220
+ Overflow Count (too large) 0
221
+ Overflow Count (full) 0
222
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
223
+ Initial Block Size 2.0 MB
224
+ Used Block Count 2
225
+ Overflow Count (too large) 0
226
+ Overflow Count (full) 0
227
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
228
+ Initial Block Size 1.0 MB
229
+ Used Block Count 3
230
+ Overflow Count (too large) 0
231
+ Overflow Count (full) 0
232
+ [ALLOC_GFX] Dual Thread Allocator
233
+ Peak main deferred allocation count 0
234
+ [ALLOC_BUCKET]
235
+ Large Block size 4.0 MB
236
+ Used Block count 1
237
+ Peak Allocated bytes 0.9 MB
238
+ [ALLOC_GFX_MAIN]
239
+ Peak usage frame count: [32.0 KB-64.0 KB]: 450296 frames, [64.0 KB-128.0 KB]: 1 frames
240
+ Requested Block Size 16.0 MB
241
+ Peak Block count 1
242
+ Peak Allocated memory 65.6 KB
243
+ Peak Large allocation bytes 0 B
244
+ [ALLOC_GFX_THREAD]
245
+ Peak usage frame count: [128.0 KB-256.0 KB]: 450297 frames
246
+ Requested Block Size 16.0 MB
247
+ Peak Block count 1
248
+ Peak Allocated memory 173.6 KB
249
+ Peak Large allocation bytes 0 B
250
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
251
+ Peak main deferred allocation count 2
252
+ [ALLOC_BUCKET]
253
+ Large Block size 4.0 MB
254
+ Used Block count 1
255
+ Peak Allocated bytes 0.9 MB
256
+ [ALLOC_CACHEOBJECTS_MAIN]
257
+ Peak usage frame count: [0.5 MB-1.0 MB]: 450297 frames
258
+ Requested Block Size 4.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 0.6 MB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_CACHEOBJECTS_THREAD]
263
+ Peak usage frame count: [0.5 MB-1.0 MB]: 450296 frames, [2.0 MB-4.0 MB]: 1 frames
264
+ Requested Block Size 4.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 3.2 MB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_TYPETREE] Dual Thread Allocator
269
+ Peak main deferred allocation count 0
270
+ [ALLOC_BUCKET]
271
+ Large Block size 4.0 MB
272
+ Used Block count 1
273
+ Peak Allocated bytes 0.9 MB
274
+ [ALLOC_TYPETREE_MAIN]
275
+ Peak usage frame count: [0-1.0 KB]: 450297 frames
276
+ Requested Block Size 2.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 1.0 KB
279
+ Peak Large allocation bytes 0 B
280
+ [ALLOC_TYPETREE_THREAD]
281
+ Peak usage frame count: [1.0 KB-2.0 KB]: 450296 frames, [2.0 KB-4.0 KB]: 1 frames
282
+ Requested Block Size 2.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 2.2 KB
285
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.7292009592056274,
6
+ "min": 1.462592363357544,
7
+ "max": 1.9122142791748047,
8
+ "count": 2389
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 32979.3203125,
12
+ "min": 24212.1640625,
13
+ "max": 44977.6796875,
14
+ "count": 2389
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 102.63829787234043,
18
+ "min": 42.309734513274336,
19
+ "max": 139.72222222222223,
20
+ "count": 2389
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19296.0,
24
+ "min": 13632.0,
25
+ "max": 22212.0,
26
+ "count": 2389
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1773.3567256010283,
30
+ "min": 1617.0725424858947,
31
+ "max": 1795.4278778787505,
32
+ "count": 2389
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 166695.53220649666,
36
+ "min": 125226.65084387065,
37
+ "max": 376950.85276496515,
38
+ "count": 2389
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 43909923.0,
42
+ "min": 20029993.0,
43
+ "max": 43909923.0,
44
+ "count": 2389
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 43909923.0,
48
+ "min": 20029993.0,
49
+ "max": 43909923.0,
50
+ "count": 2389
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.009478989988565445,
54
+ "min": -0.14852285385131836,
55
+ "max": 0.11673429608345032,
56
+ "count": 2389
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.9005040526390076,
60
+ "min": -25.079679489135742,
61
+ "max": 21.479110717773438,
62
+ "count": 2389
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.009967533871531487,
66
+ "min": -0.15167224407196045,
67
+ "max": 0.11416789889335632,
68
+ "count": 2389
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.9469156861305237,
72
+ "min": -25.048236846923828,
73
+ "max": 21.006893157958984,
74
+ "count": 2389
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 2389
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 2389
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.06214105392757215,
90
+ "min": -0.5649581412936366,
91
+ "max": 0.37623200098673504,
92
+ "count": 2389
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 5.903400123119354,
96
+ "min": -52.10960030555725,
97
+ "max": 46.715599715709686,
98
+ "count": 2389
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.06214105392757215,
102
+ "min": -0.5649581412936366,
103
+ "max": 0.37623200098673504,
104
+ "count": 2389
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 5.903400123119354,
108
+ "min": -52.10960030555725,
109
+ "max": 46.715599715709686,
110
+ "count": 2389
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 2389
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 2389
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.011882203624638047,
126
+ "min": 0.009582694871157097,
127
+ "max": 0.025316592298137645,
128
+ "count": 1157
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.011882203624638047,
132
+ "min": 0.009582694871157097,
133
+ "max": 0.025316592298137645,
134
+ "count": 1157
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.05936191206177076,
138
+ "min": 0.0520331592609485,
139
+ "max": 0.10736505687236786,
140
+ "count": 1157
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.05936191206177076,
144
+ "min": 0.0520331592609485,
145
+ "max": 0.10736505687236786,
146
+ "count": 1157
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.060426203658183415,
150
+ "min": 0.05302219477792581,
151
+ "max": 0.1105509507159392,
152
+ "count": 1157
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.060426203658183415,
156
+ "min": 0.05302219477792581,
157
+ "max": 0.1105509507159392,
158
+ "count": 1157
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 1157
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 1157
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 1157
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 1157
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 1157
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 1157
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1682488967",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\SumitKumar\\.conda\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.0.0+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1682577625"
208
+ },
209
+ "total": 88657.10877179999,
210
+ "count": 1,
211
+ "self": 0.6466955999931088,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.13439030000000063,
215
+ "count": 1,
216
+ "self": 0.13439030000000063
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 88656.3276859,
220
+ "count": 1,
221
+ "self": 40.38162810729409,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 10.351562699999793,
225
+ "count": 121,
226
+ "self": 10.351562699999793
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 88605.45012049271,
230
+ "count": 1626185,
231
+ "self": 42.31402209843509,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 30901.341653594754,
235
+ "count": 1626185,
236
+ "self": 24602.034125704395,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 6272.920908495419,
240
+ "count": 1626185,
241
+ "self": 233.33606959882127,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 6039.584838896598,
245
+ "count": 3002014,
246
+ "self": 6039.584838896598
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 26.38661939494063,
252
+ "count": 1626185,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 88590.45495870047,
257
+ "count": 1626185,
258
+ "is_parallel": true,
259
+ "self": 68627.12687850854,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.21946370000977833,
263
+ "count": 242,
264
+ "is_parallel": true,
265
+ "self": 0.045298800097980596,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.17416489991179773,
269
+ "count": 968,
270
+ "is_parallel": true,
271
+ "self": 0.17416489991179773
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 19963.10861649192,
277
+ "count": 1626185,
278
+ "is_parallel": true,
279
+ "self": 969.795710319755,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 787.5773938907478,
283
+ "count": 1626185,
284
+ "is_parallel": true,
285
+ "self": 787.5773938907478
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 14964.337375297779,
289
+ "count": 1626185,
290
+ "is_parallel": true,
291
+ "self": 14964.337375297779
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 3241.398136983641,
295
+ "count": 3252370,
296
+ "is_parallel": true,
297
+ "self": 654.2783290811499,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 2587.119807902491,
301
+ "count": 13009480,
302
+ "is_parallel": true,
303
+ "self": 2587.119807902491
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 57661.79444479952,
317
+ "count": 1626185,
318
+ "self": 283.05351100598637,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 6362.327779193618,
322
+ "count": 1626185,
323
+ "self": 6355.648980993604,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 6.678798200014398,
327
+ "count": 47,
328
+ "self": 6.678798200014398
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 51016.41315459991,
334
+ "count": 1158,
335
+ "self": 3618.5224110005365,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 47397.890743599375,
339
+ "count": 34740,
340
+ "self": 47397.890743599375
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 1.4999968698248267e-06,
350
+ "count": 1,
351
+ "self": 1.4999968698248267e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.14437310000357684,
355
+ "count": 1,
356
+ "self": 0.010778399999253452,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.13359470000432339,
360
+ "count": 1,
361
+ "self": 0.13359470000432339
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1772.988815374806,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 41999986,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-41999986.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1682569578.1631396,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-41999986.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 42499854,
16
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-42499854.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1682571764.4220102,
19
+ "auxillary_file_paths": [
20
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-42499854.pt"
21
+ ]
22
+ },
23
+ {
24
+ "steps": 42999976,
25
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-42999976.onnx",
26
+ "reward": 0.0,
27
+ "creation_time": 1682573859.4496531,
28
+ "auxillary_file_paths": [
29
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-42999976.pt"
30
+ ]
31
+ },
32
+ {
33
+ "steps": 43499993,
34
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-43499993.onnx",
35
+ "reward": 0.0,
36
+ "creation_time": 1682575953.6713398,
37
+ "auxillary_file_paths": [
38
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-43499993.pt"
39
+ ]
40
+ },
41
+ {
42
+ "steps": 43917862,
43
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-43917862.onnx",
44
+ "reward": 0.0,
45
+ "creation_time": 1682577625.1753998,
46
+ "auxillary_file_paths": [
47
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-43917862.pt"
48
+ ]
49
+ }
50
+ ],
51
+ "final_checkpoint": {
52
+ "steps": 43917862,
53
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1682577625.1753998,
56
+ "auxillary_file_paths": [
57
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-43917862.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.31.0.dev0",
64
+ "torch_version": "2.0.0+cpu"
65
+ }
66
+ }