MakiPan commited on
Commit
f0ea829
·
1 Parent(s): 8fb58b1

First Push`

Browse files
.gitattributes CHANGED
@@ -32,3 +32,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ Goalie.nn filter=lfs diff=lfs merge=lfs -text
36
+ Striker.nn filter=lfs diff=lfs merge=lfs -text
Goalie.nn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:754682d6c398bf4a68b55cef93e5c58cacd0d84eb7bd09a7e923aa4195d0a820
3
+ size 2588695
Goalie.nn.meta ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ fileFormatVersion: 2
2
+ guid: e9c10c18f4eb745d19186a54dbe3ca2e
3
+ ScriptedImporter:
4
+ fileIDToRecycleName:
5
+ 11400000: main obj
6
+ 11400002: model data
7
+ externalObjects: {}
8
+ userData:
9
+ assetBundleName:
10
+ assetBundleVariant:
11
+ script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}
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: MakiPan/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:542ea5aafa674c1eeea338fb9d2f1d342e07e6cf13e95d136fd895da964445d2
3
+ size 1768746
SoccerTwos.onnx.meta ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ fileFormatVersion: 2
2
+ guid: 8cd4584c2f2cb4c5fb51675d364e10ec
3
+ ScriptedImporter:
4
+ fileIDToRecycleName:
5
+ 11400000: main obj
6
+ 11400002: model data
7
+ externalObjects: {}
8
+ userData:
9
+ assetBundleName:
10
+ assetBundleVariant:
11
+ script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3}
12
+ optimizeModel: 1
13
+ forceArbitraryBatchSize: 1
14
+ treatErrorsAsWarnings: 0
15
+ importMode: 1
SoccerTwos/SoccerTwos-100560.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c28828aea61c64a6df07f9bc0aebadcd495ef800a6a8f2d591c25846c2c0c80
3
+ size 28429781
SoccerTwos/SoccerTwos-101582.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:542ea5aafa674c1eeea338fb9d2f1d342e07e6cf13e95d136fd895da964445d2
3
+ size 1768746
SoccerTwos/SoccerTwos-101582.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43cb0a215bcf84566bb32e67ddad52748d0dfe1b44a40c5315f9e3c94795f301
3
+ size 28429781
SoccerTwos/SoccerTwos-304316.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e50c0b1375456956d393d512bf5373f909030948cc8ab0a1f57e9aceb27e7b8e
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fac32a8a0075529cb118242257caecebb6c3d22b59d14558a193c1bbc0a95b1
3
+ size 28428927
SoccerTwos/events.out.tfevents.1679445329.DESKTOP-ONCQTIM.27688.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e779a36117903a95a4602f938de634280d4fe95be8d65ea4295000edc24cbd4
3
+ size 93843
Striker.nn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a229b5d9e9952c73c47cb1ff6b77d0c9b923f2354be28da0f1ff83283f8e93
3
+ size 1679383
Striker.nn.meta ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ fileFormatVersion: 2
2
+ guid: 75a830685bf8e43918adc4783a2abebf
3
+ ScriptedImporter:
4
+ fileIDToRecycleName:
5
+ 11400000: main obj
6
+ 11400002: model data
7
+ externalObjects: {}
8
+ userData:
9
+ assetBundleName:
10
+ assetBundleVariant:
11
+ script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}
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": 100000, "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": false, "force": true, "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: 100000
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: false
76
+ force: true
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,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/makki/OneDrive/Desktop/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/makki/OneDrive/Desktop/ml-agents/training-envs-executables/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/makki/OneDrive/Desktop/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 0.095 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.720900 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
+ TOO LONG
45
+ TOO LONG
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ TOO LONG
51
+ TOO LONG
52
+ TOO LONG
53
+ TOO LONG
54
+ TOO LONG
55
+ TOO LONG
56
+ TOO LONG
57
+ TOO LONG
58
+ TOO LONG
59
+ TOO LONG
60
+ TOO LONG
61
+ TOO LONG
62
+ TOO LONG
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
66
+ TOO LONG
67
+ TOO LONG
68
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ TOO LONG
73
+ TOO LONG
74
+ TOO LONG
75
+ TOO LONG
76
+ Setting up 6 worker threads for Enlighten.
77
+ Memory Statistics:
78
+ [ALLOC_TEMP_TLS] TLS Allocator
79
+ StackAllocators :
80
+ [ALLOC_TEMP_MAIN]
81
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1973 frames, [2.0 MB-4.0 MB]: 1 frames
82
+ Initial Block Size 4.0 MB
83
+ Current Block Size 4.0 MB
84
+ Peak Allocated Bytes 2.0 MB
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Loading.AsyncRead]
87
+ Initial Block Size 64.0 KB
88
+ Current Block Size 64.0 KB
89
+ Peak Allocated Bytes 330 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Loading.PreloadManager]
92
+ Initial Block Size 256.0 KB
93
+ Current Block Size 256.0 KB
94
+ Peak Allocated Bytes 68.0 KB
95
+ Overflow Count 4
96
+ [ALLOC_TEMP_Background Job.Worker 8]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 54 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Job.Worker 6]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 256.0 KB
104
+ Peak Allocated Bytes 0.8 KB
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 0]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 10]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 54 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Background Job.Worker 9]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 54 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Job.Worker 5]
122
+ Initial Block Size 256.0 KB
123
+ Current Block Size 256.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 14]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 54 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 6]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 54 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Job.Worker 4]
137
+ Initial Block Size 256.0 KB
138
+ Current Block Size 256.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Job.Worker 3]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 256.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 12]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 54 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_EnlightenWorker] x 6
152
+ Initial Block Size 64.0 KB
153
+ Current Block Size 64.0 KB
154
+ Peak Allocated Bytes 54 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 15]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 54 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 1]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 54 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 2]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 54 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 7]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 54 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
177
+ Initial Block Size 64.0 KB
178
+ Current Block Size 64.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 5]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 54 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Job.Worker 9]
187
+ Initial Block Size 256.0 KB
188
+ Current Block Size 256.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 13]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 54 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Job.Worker 8]
197
+ Initial Block Size 256.0 KB
198
+ Current Block Size 256.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Job.Worker 7]
202
+ Initial Block Size 256.0 KB
203
+ Current Block Size 256.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Job.Worker 1]
207
+ Initial Block Size 256.0 KB
208
+ Current Block Size 256.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Job.Worker 2]
212
+ Initial Block Size 256.0 KB
213
+ Current Block Size 256.0 KB
214
+ Peak Allocated Bytes 0 B
215
+ Overflow Count 0
216
+ [ALLOC_TEMP_Background Job.Worker 3]
217
+ Initial Block Size 32.0 KB
218
+ Current Block Size 32.0 KB
219
+ Peak Allocated Bytes 54 B
220
+ Overflow Count 0
221
+ [ALLOC_TEMP_Background Job.Worker 11]
222
+ Initial Block Size 32.0 KB
223
+ Current Block Size 32.0 KB
224
+ Peak Allocated Bytes 54 B
225
+ Overflow Count 0
226
+ [ALLOC_TEMP_Job.Worker 10]
227
+ Initial Block Size 256.0 KB
228
+ Current Block Size 256.0 KB
229
+ Peak Allocated Bytes 54 B
230
+ Overflow Count 0
231
+ [ALLOC_TEMP_Background Job.Worker 0]
232
+ Initial Block Size 32.0 KB
233
+ Current Block Size 32.0 KB
234
+ Peak Allocated Bytes 54 B
235
+ Overflow Count 0
236
+ [ALLOC_TEMP_Background Job.Worker 4]
237
+ Initial Block Size 32.0 KB
238
+ Current Block Size 32.0 KB
239
+ Peak Allocated Bytes 54 B
240
+ Overflow Count 0
241
+ [ALLOC_TEMP_BatchDeleteObjects]
242
+ Initial Block Size 64.0 KB
243
+ Current Block Size 64.0 KB
244
+ Peak Allocated Bytes 54 B
245
+ Overflow Count 0
246
+ [ALLOC_DEFAULT] Dual Thread Allocator
247
+ Peak main deferred allocation count 3
248
+ [ALLOC_BUCKET]
249
+ Large Block size 4.0 MB
250
+ Used Block count 1
251
+ Peak Allocated bytes 0.9 MB
252
+ [ALLOC_DEFAULT_MAIN]
253
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1974 frames
254
+ Requested Block Size 16.0 MB
255
+ Peak Block count 1
256
+ Peak Allocated memory 5.0 MB
257
+ Peak Large allocation bytes 0 B
258
+ [ALLOC_DEFAULT_THREAD]
259
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1974 frames
260
+ Requested Block Size 16.0 MB
261
+ Peak Block count 1
262
+ Peak Allocated memory 17.2 MB
263
+ Peak Large allocation bytes 16.0 MB
264
+ [ALLOC_TEMP_JOB_1_FRAME]
265
+ Initial Block Size 2.0 MB
266
+ Used Block Count 1
267
+ Overflow Count (too large) 0
268
+ Overflow Count (full) 0
269
+ [ALLOC_TEMP_JOB_2_FRAMES]
270
+ Initial Block Size 2.0 MB
271
+ Used Block Count 1
272
+ Overflow Count (too large) 0
273
+ Overflow Count (full) 0
274
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
275
+ Initial Block Size 2.0 MB
276
+ Used Block Count 2
277
+ Overflow Count (too large) 0
278
+ Overflow Count (full) 0
279
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
280
+ Initial Block Size 1.0 MB
281
+ Used Block Count 3
282
+ Overflow Count (too large) 0
283
+ Overflow Count (full) 0
284
+ [ALLOC_GFX] Dual Thread Allocator
285
+ Peak main deferred allocation count 0
286
+ [ALLOC_BUCKET]
287
+ Large Block size 4.0 MB
288
+ Used Block count 1
289
+ Peak Allocated bytes 0.9 MB
290
+ [ALLOC_GFX_MAIN]
291
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1973 frames, [64.0 KB-128.0 KB]: 1 frames
292
+ Requested Block Size 16.0 MB
293
+ Peak Block count 1
294
+ Peak Allocated memory 65.6 KB
295
+ Peak Large allocation bytes 0 B
296
+ [ALLOC_GFX_THREAD]
297
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1974 frames
298
+ Requested Block Size 16.0 MB
299
+ Peak Block count 1
300
+ Peak Allocated memory 173.6 KB
301
+ Peak Large allocation bytes 0 B
302
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
303
+ Peak main deferred allocation count 2
304
+ [ALLOC_BUCKET]
305
+ Large Block size 4.0 MB
306
+ Used Block count 1
307
+ Peak Allocated bytes 0.9 MB
308
+ [ALLOC_CACHEOBJECTS_MAIN]
309
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1974 frames
310
+ Requested Block Size 4.0 MB
311
+ Peak Block count 1
312
+ Peak Allocated memory 0.6 MB
313
+ Peak Large allocation bytes 0 B
314
+ [ALLOC_CACHEOBJECTS_THREAD]
315
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1973 frames, [2.0 MB-4.0 MB]: 1 frames
316
+ Requested Block Size 4.0 MB
317
+ Peak Block count 1
318
+ Peak Allocated memory 3.2 MB
319
+ Peak Large allocation bytes 0 B
320
+ [ALLOC_TYPETREE] Dual Thread Allocator
321
+ Peak main deferred allocation count 0
322
+ [ALLOC_BUCKET]
323
+ Large Block size 4.0 MB
324
+ Used Block count 1
325
+ Peak Allocated bytes 0.9 MB
326
+ [ALLOC_TYPETREE_MAIN]
327
+ Peak usage frame count: [0-1.0 KB]: 1974 frames
328
+ Requested Block Size 2.0 MB
329
+ Peak Block count 1
330
+ Peak Allocated memory 1.0 KB
331
+ Peak Large allocation bytes 0 B
332
+ [ALLOC_TYPETREE_THREAD]
333
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1973 frames, [2.0 KB-4.0 KB]: 1 frames
334
+ Requested Block Size 2.0 MB
335
+ Peak Block count 1
336
+ Peak Allocated memory 2.2 KB
337
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.275148630142212,
6
+ "min": 3.275148630142212,
7
+ "max": 3.2957606315612793,
8
+ "count": 10
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 65502.97265625,
12
+ "min": 32664.775390625,
13
+ "max": 105464.2421875,
14
+ "count": 10
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 720.5,
18
+ "min": 574.25,
19
+ "max": 852.0,
20
+ "count": 10
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 23056.0,
24
+ "min": 16468.0,
25
+ "max": 23056.0,
26
+ "count": 10
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1207.046352248608,
30
+ "min": 1198.6661502664465,
31
+ "max": 1207.046352248608,
32
+ "count": 10
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 12070.46352248608,
36
+ "min": 2402.0761029438695,
37
+ "max": 12070.46352248608,
38
+ "count": 10
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 99744.0,
42
+ "min": 9378.0,
43
+ "max": 99744.0,
44
+ "count": 10
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 99744.0,
48
+ "min": 9378.0,
49
+ "max": 99744.0,
50
+ "count": 10
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.010946125723421574,
54
+ "min": -0.04259147867560387,
55
+ "max": -0.010946125723421574,
56
+ "count": 10
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.16419188678264618,
60
+ "min": -0.7240551114082336,
61
+ "max": -0.16419188678264618,
62
+ "count": 10
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.009677011519670486,
66
+ "min": -0.042586758732795715,
67
+ "max": -0.009677011519670486,
68
+ "count": 10
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.1451551765203476,
72
+ "min": -0.723974883556366,
73
+ "max": -0.1451551765203476,
74
+ "count": 10
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 10
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 10
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.09285333057244619,
90
+ "min": -0.3715142841850008,
91
+ "max": 0.2901384624151083,
92
+ "count": 10
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.3927999585866928,
96
+ "min": -5.201199978590012,
97
+ "max": 3.771800011396408,
98
+ "count": 10
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.09285333057244619,
102
+ "min": -0.3715142841850008,
103
+ "max": 0.2901384624151083,
104
+ "count": 10
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.3927999585866928,
108
+ "min": -5.201199978590012,
109
+ "max": 3.771800011396408,
110
+ "count": 10
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 10
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 10
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015761979338276434,
126
+ "min": 0.014630038357184579,
127
+ "max": 0.019517898350022732,
128
+ "count": 4
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015761979338276434,
132
+ "min": 0.014630038357184579,
133
+ "max": 0.019517898350022732,
134
+ "count": 4
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0029750236659310757,
138
+ "min": 0.0020493824985654404,
139
+ "max": 0.005813937711839874,
140
+ "count": 4
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0029750236659310757,
144
+ "min": 0.0020493824985654404,
145
+ "max": 0.005813937711839874,
146
+ "count": 4
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.003057446676151206,
150
+ "min": 0.0021234718364818643,
151
+ "max": 0.005470230073357622,
152
+ "count": 4
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.003057446676151206,
156
+ "min": 0.0021234718364818643,
157
+ "max": 0.005470230073357622,
158
+ "count": 4
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 4
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 4
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 4
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 4
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 4
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 4
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1679445325",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\ProgramData\\Anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --force",
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": "1679445649"
208
+ },
209
+ "total": 323.7156433,
210
+ "count": 1,
211
+ "self": 0.23012560000006488,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.0934412,
215
+ "count": 1,
216
+ "self": 0.0934412
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 323.3920765,
220
+ "count": 1,
221
+ "self": 0.1373732999994104,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 3.4101527,
225
+ "count": 1,
226
+ "self": 3.4101527
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 319.63824320000055,
230
+ "count": 6637,
231
+ "self": 0.13167060000091624,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 112.02556110000027,
235
+ "count": 6637,
236
+ "self": 87.59767879999946,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 24.33662080000173,
240
+ "count": 6637,
241
+ "self": 0.9347922999996747,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 23.401828500002054,
245
+ "count": 13160,
246
+ "self": 23.401828500002054
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.09126149999909217,
252
+ "count": 6637,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 319.1289289999997,
257
+ "count": 6637,
258
+ "is_parallel": true,
259
+ "self": 248.89620369999875,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.001822199999999885,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.0003373999999993771,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.001484800000000508,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.001484800000000508
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 70.23090310000092,
277
+ "count": 6637,
278
+ "is_parallel": true,
279
+ "self": 3.4351162000009765,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 3.007497599998972,
283
+ "count": 6637,
284
+ "is_parallel": true,
285
+ "self": 3.007497599998972
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 52.374844500001075,
289
+ "count": 6637,
290
+ "is_parallel": true,
291
+ "self": 52.374844500001075
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 11.413444799999896,
295
+ "count": 13274,
296
+ "is_parallel": true,
297
+ "self": 1.98613069999816,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 9.427314100001736,
301
+ "count": 53096,
302
+ "is_parallel": true,
303
+ "self": 9.427314100001736
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 207.48101149999937,
317
+ "count": 6637,
318
+ "self": 1.0957629999992093,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 28.42743770000014,
322
+ "count": 6637,
323
+ "self": 28.42743770000014
324
+ },
325
+ "_update_policy": {
326
+ "total": 177.9578108,
327
+ "count": 4,
328
+ "self": 13.708221700000252,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 164.24958909999975,
332
+ "count": 120,
333
+ "self": 164.24958909999975
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 6.999999868639861e-07,
343
+ "count": 1,
344
+ "self": 6.999999868639861e-07
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.2063066000000049,
348
+ "count": 1,
349
+ "self": 0.007597000000032494,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.1987095999999724,
353
+ "count": 1,
354
+ "self": 0.1987095999999724
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1206.7742651007145,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 101582,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-101582.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1679445649.2135348,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-101582.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 101582,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1679445649.2135348,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-101582.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "2.0.0+cpu"
29
+ }
30
+ }