atorre commited on
Commit
754e8ec
1 Parent(s): a98d141
.DS_Store ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:736c66aa0fb3dacf50a063ce7fca629939652076fd20b2e6e94130805878c3aa
3
+ size 6148
.gitattributes CHANGED
@@ -32,3 +32,4 @@ 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
+ .DS_Store filter=lfs diff=lfs merge=lfs -text
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: atorre/poca-SoccerTwos-40M
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:aa185dc5972cd68bede6d71e1ac08f71531894db463346d9648334cdd197c580
3
+ size 1764633
SoccerTwos/SoccerTwos-38499986.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6a161d6487eb6fea6aaf77b1e93df5ef101abd8881919d778b6f1a107d2b49c
3
+ size 1764633
SoccerTwos/SoccerTwos-38499986.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db0389698aa6a9df8dc55f5ed53bba6c40cd4068d23d566e51231026ad53f607
3
+ size 28421201
SoccerTwos/SoccerTwos-38999912.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:557ad360ecce79be60eeba8385b556698cae06f68fc698000de052cabc5f0e29
3
+ size 1764633
SoccerTwos/SoccerTwos-38999912.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b3f5195e539ded689c3c8d1008a1033f02daf9170ad14deb69c3dc92f9b7f5e
3
+ size 28421201
SoccerTwos/SoccerTwos-39499902.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4aee418090b9bf2bf642a9e05ec52a8f820b145a2b71c710e0a25e7042f5cd5
3
+ size 1764633
SoccerTwos/SoccerTwos-39499902.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecdb245329b6e2a4d9d393669f04dd8291913b5e1f0e1f8af3fb4d020fa504f3
3
+ size 28421201
SoccerTwos/SoccerTwos-39999989.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa185dc5972cd68bede6d71e1ac08f71531894db463346d9648334cdd197c580
3
+ size 1764633
SoccerTwos/SoccerTwos-39999989.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cbaeada572aab049e544e97ed87cf21f3fe1c83d7f85a7ab45b2a03911df5f0
3
+ size 28421201
SoccerTwos/SoccerTwos-40000050.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa185dc5972cd68bede6d71e1ac08f71531894db463346d9648334cdd197c580
3
+ size 1764633
SoccerTwos/SoccerTwos-40000050.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bb1983dd7f418825a0106074980db389e9dcf3cc89a621a90f285c7549effec
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bb1983dd7f418825a0106074980db389e9dcf3cc89a621a90f285c7549effec
3
+ size 28421201
SoccerTwos/events.out.tfevents.1675875266.Alessandros-MBP.fritz.box.22240.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10444ccbf3de85129fea1be8acb09a6940c87fcbbd94cfc71c4489e9441a18c1
3
+ size 9427011
SoccerTwos/events.out.tfevents.1675929529.Alessandros-MBP.fritz.box.25179.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3f2fcdf35d91b9dbfbfb23d7f6d8904cb57fd40e4bcde5b9b6152ba3e8ab067
3
+ size 1193
SoccerTwos/events.out.tfevents.1675929583.Alessandros-MBP.fritz.box.25192.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b9add6ef30e6d067ba86e6e4c2208eb46bd7603e1ee7550596ca2162a63056d
3
+ size 10279003
SoccerTwos/events.out.tfevents.1675970528.Alessandros-MBP.fritz.box.25996.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15c3d182fda6233b7ddaf4c773a2b9bcd0e5a0dcfdb43156ce7e17917852f64b
3
+ size 10279003
SoccerTwos/events.out.tfevents.1676013013.Alessandros-MBP.fritz.box.27120.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38098c24774b1fb4dc23a0cf9687452b48d921bf2a36ebb100a31ef23e2ee80a
3
+ size 10279003
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": 40000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 70000, "team_change": 250000, "swap_steps": 3000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos/SoccerTwos.app", "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: 40000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 70000
46
+ team_change: 250000
47
+ swap_steps: 3000
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/SoccerTwos.app
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,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/sasha/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/sasha/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/MonoBleedingEdge/etc'
3
+ New input system (experimental) initialized
4
+ Initialize engine version: 2021.3.17f1 (3e8111cac19d)
5
+ [Subsystems] Discovering subsystems at path /Users/sasha/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.173 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
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.815581 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
+ Setting up 4 worker threads for Enlighten.
42
+ Memory Statistics:
43
+ [ALLOC_TEMP_TLS] TLS Allocator
44
+ StackAllocators :
45
+ [ALLOC_TEMP_MAIN]
46
+ Peak usage frame count: [8.0 KB-16.0 KB]: 188087 frames, [2.0 MB-4.0 MB]: 1 frames
47
+ Initial Block Size 4.0 MB
48
+ Current Block Size 4.0 MB
49
+ Peak Allocated Bytes 2.1 MB
50
+ Overflow Count 0
51
+ [ALLOC_TEMP_Loading.AsyncRead]
52
+ Initial Block Size 64.0 KB
53
+ Current Block Size 64.0 KB
54
+ Peak Allocated Bytes 128 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.PreloadManager]
57
+ Initial Block Size 256.0 KB
58
+ Current Block Size 256.0 KB
59
+ Peak Allocated Bytes 78.8 KB
60
+ Overflow Count 4
61
+ [ALLOC_TEMP_Background Job.Worker 8]
62
+ Initial Block Size 32.0 KB
63
+ Current Block Size 32.0 KB
64
+ Peak Allocated Bytes 0 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Job.Worker 6]
67
+ Initial Block Size 256.0 KB
68
+ Current Block Size 256.0 KB
69
+ Peak Allocated Bytes 0.7 KB
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 0]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Background Job.Worker 10]
77
+ Initial Block Size 32.0 KB
78
+ Current Block Size 32.0 KB
79
+ Peak Allocated Bytes 0 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 9]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Job.Worker 5]
87
+ Initial Block Size 256.0 KB
88
+ Current Block Size 256.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 14]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 6]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Job.Worker 4]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 256.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 3]
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 12]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_EnlightenWorker] x 4
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 15]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 1]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 2]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 7]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 5]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 13]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_OSX HID Input]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 1]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Job.Worker 2]
167
+ Initial Block Size 256.0 KB
168
+ Current Block Size 256.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 3]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 11]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 0]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 4]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_BatchDeleteObjects]
192
+ Initial Block Size 64.0 KB
193
+ Current Block Size 64.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_DEFAULT] Dual Thread Allocator
197
+ Peak main deferred allocation count 4
198
+ [ALLOC_BUCKET]
199
+ Large Block size 4.0 MB
200
+ Used Block count 1
201
+ Peak Allocated bytes 1.0 MB
202
+ [ALLOC_DEFAULT_MAIN]
203
+ Peak usage frame count: [4.0 MB-8.0 MB]: 188088 frames
204
+ Requested Block Size 16.0 MB
205
+ Peak Block count 1
206
+ Peak Allocated memory 4.9 MB
207
+ Peak Large allocation bytes 0 B
208
+ [ALLOC_DEFAULT_THREAD]
209
+ Peak usage frame count: [16.0 MB-32.0 MB]: 188088 frames
210
+ Requested Block Size 16.0 MB
211
+ Peak Block count 1
212
+ Peak Allocated memory 17.4 MB
213
+ Peak Large allocation bytes 16.0 MB
214
+ [ALLOC_TEMP_JOB_1_FRAME]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 1
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_2_FRAMES]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 1
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
225
+ Initial Block Size 2.0 MB
226
+ Used Block Count 2
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
230
+ Initial Block Size 1.0 MB
231
+ Used Block Count 3
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_GFX] Dual Thread Allocator
235
+ Peak main deferred allocation count 0
236
+ [ALLOC_BUCKET]
237
+ Large Block size 4.0 MB
238
+ Used Block count 1
239
+ Peak Allocated bytes 1.0 MB
240
+ [ALLOC_GFX_MAIN]
241
+ Peak usage frame count: [32.0 KB-64.0 KB]: 188087 frames, [64.0 KB-128.0 KB]: 1 frames
242
+ Requested Block Size 16.0 MB
243
+ Peak Block count 1
244
+ Peak Allocated memory 65.6 KB
245
+ Peak Large allocation bytes 0 B
246
+ [ALLOC_GFX_THREAD]
247
+ Peak usage frame count: [128.0 KB-256.0 KB]: 188088 frames
248
+ Requested Block Size 16.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 173.5 KB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
253
+ Peak main deferred allocation count 0
254
+ [ALLOC_BUCKET]
255
+ Large Block size 4.0 MB
256
+ Used Block count 1
257
+ Peak Allocated bytes 1.0 MB
258
+ [ALLOC_CACHEOBJECTS_MAIN]
259
+ Peak usage frame count: [0.5 MB-1.0 MB]: 188088 frames
260
+ Requested Block Size 4.0 MB
261
+ Peak Block count 1
262
+ Peak Allocated memory 0.6 MB
263
+ Peak Large allocation bytes 0 B
264
+ [ALLOC_CACHEOBJECTS_THREAD]
265
+ Peak usage frame count: [0.5 MB-1.0 MB]: 188087 frames, [2.0 MB-4.0 MB]: 1 frames
266
+ Requested Block Size 4.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 3.0 MB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_TYPETREE] Dual Thread Allocator
271
+ Peak main deferred allocation count 0
272
+ [ALLOC_BUCKET]
273
+ Large Block size 4.0 MB
274
+ Used Block count 1
275
+ Peak Allocated bytes 1.0 MB
276
+ [ALLOC_TYPETREE_MAIN]
277
+ Peak usage frame count: [0-1.0 KB]: 188088 frames
278
+ Requested Block Size 2.0 MB
279
+ Peak Block count 1
280
+ Peak Allocated memory 1.0 KB
281
+ Peak Large allocation bytes 0 B
282
+ [ALLOC_TYPETREE_THREAD]
283
+ Peak usage frame count: [1.0 KB-2.0 KB]: 188087 frames, [2.0 KB-4.0 KB]: 1 frames
284
+ Requested Block Size 2.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 2.2 KB
287
+ 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.420534610748291,
6
+ "min": 1.3608125448226929,
7
+ "max": 1.570000410079956,
8
+ "count": 1000
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 28047.03515625,
12
+ "min": 24803.060546875,
13
+ "max": 35913.1640625,
14
+ "count": 1000
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 55.12359550561798,
18
+ "min": 44.77570093457944,
19
+ "max": 108.17391304347827,
20
+ "count": 1000
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19624.0,
24
+ "min": 18428.0,
25
+ "max": 21000.0,
26
+ "count": 1000
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1878.768103515365,
30
+ "min": 1795.837418342268,
31
+ "max": 1901.145235982328,
32
+ "count": 1000
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 334420.722425735,
36
+ "min": 171269.35675982942,
37
+ "max": 404701.20162605366,
38
+ "count": 1000
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 39999989.0,
42
+ "min": 30009878.0,
43
+ "max": 39999989.0,
44
+ "count": 1000
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 39999989.0,
48
+ "min": 30009878.0,
49
+ "max": 39999989.0,
50
+ "count": 1000
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.0312940739095211,
54
+ "min": -0.14125216007232666,
55
+ "max": 0.073383629322052,
56
+ "count": 1000
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 5.570344924926758,
60
+ "min": -24.784133911132812,
61
+ "max": 10.934160232543945,
62
+ "count": 1000
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.028624339029192924,
66
+ "min": -0.1449059545993805,
67
+ "max": 0.07165231555700302,
68
+ "count": 1000
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 5.095132350921631,
72
+ "min": -25.281543731689453,
73
+ "max": 10.67619514465332,
74
+ "count": 1000
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1000
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1000
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.029853929964344154,
90
+ "min": -0.4508974802594225,
91
+ "max": 0.3219466656446457,
92
+ "count": 1000
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 5.313999533653259,
96
+ "min": -68.66480004787445,
97
+ "max": 40.91879975795746,
98
+ "count": 1000
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.029853929964344154,
102
+ "min": -0.4508974802594225,
103
+ "max": 0.3219466656446457,
104
+ "count": 1000
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 5.313999533653259,
108
+ "min": -68.66480004787445,
109
+ "max": 40.91879975795746,
110
+ "count": 1000
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1000
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1000
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.016824491468529837,
126
+ "min": 0.010678941572162632,
127
+ "max": 0.02459868296670417,
128
+ "count": 485
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.016824491468529837,
132
+ "min": 0.010678941572162632,
133
+ "max": 0.02459868296670417,
134
+ "count": 485
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.11973893319567044,
138
+ "min": 0.07159942711393039,
139
+ "max": 0.12052511448661486,
140
+ "count": 485
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.11973893319567044,
144
+ "min": 0.07159942711393039,
145
+ "max": 0.12052511448661486,
146
+ "count": 485
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.12087501386801401,
150
+ "min": 0.07310381432374319,
151
+ "max": 0.12231633613506952,
152
+ "count": 485
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.12087501386801401,
156
+ "min": 0.07310381432374319,
157
+ "max": 0.12231633613506952,
158
+ "count": 485
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 485
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 485
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 485
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 485
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 485
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 485
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1676013011",
200
+ "python_version": "3.9.16 (main, Jan 11 2023, 10:02:19) \n[Clang 14.0.6 ]",
201
+ "command_line_arguments": "/Users/sasha/opt/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --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": "1.11.0",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1676059019"
208
+ },
209
+ "total": 43520.903187742,
210
+ "count": 1,
211
+ "self": 1.4724713479954517,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.026028468999999888,
215
+ "count": 1,
216
+ "self": 0.026028468999999888
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 43519.404687925,
220
+ "count": 1,
221
+ "self": 16.958283389649296,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 3.045327290983835,
225
+ "count": 41,
226
+ "self": 3.045327290983835
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 43499.19516348536,
230
+ "count": 687899,
231
+ "self": 18.614015010607545,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 10792.059126881395,
235
+ "count": 687899,
236
+ "self": 8719.799770878757,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 2061.966871777601,
240
+ "count": 687899,
241
+ "self": 82.47859382463957,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 1979.4882779529617,
245
+ "count": 1253924,
246
+ "self": 1979.4882779529617
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 10.292484225036375,
252
+ "count": 687899,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 43486.1855561065,
257
+ "count": 687899,
258
+ "is_parallel": true,
259
+ "self": 36462.65928638144,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.07384253300281118,
263
+ "count": 82,
264
+ "is_parallel": true,
265
+ "self": 0.016496121003803488,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.057346411999007696,
269
+ "count": 328,
270
+ "is_parallel": true,
271
+ "self": 0.057346411999007696
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 7023.4524271920645,
277
+ "count": 687899,
278
+ "is_parallel": true,
279
+ "self": 436.16573743886875,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 274.88153573949893,
283
+ "count": 687899,
284
+ "is_parallel": true,
285
+ "self": 274.88153573949893
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 5136.899167271001,
289
+ "count": 687899,
290
+ "is_parallel": true,
291
+ "self": 5136.899167271001
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 1175.5059867426962,
295
+ "count": 1375798,
296
+ "is_parallel": true,
297
+ "self": 258.93821506038717,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 916.5677716823091,
301
+ "count": 5503192,
302
+ "is_parallel": true,
303
+ "self": 916.5677716823091
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 32688.52202159336,
317
+ "count": 687899,
318
+ "self": 130.86425984039306,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 3464.5631697249946,
322
+ "count": 687899,
323
+ "self": 3460.3678304699806,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 4.1953392550142325,
327
+ "count": 20,
328
+ "self": 4.1953392550142325
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 29093.09459202797,
334
+ "count": 485,
335
+ "self": 1479.1673009769256,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 27613.927291051044,
339
+ "count": 14550,
340
+ "self": 27613.927291051044
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 9.840005077421665e-07,
350
+ "count": 1,
351
+ "self": 9.840005077421665e-07
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.2059127750035259,
355
+ "count": 1,
356
+ "self": 0.0029265910052345134,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.20298618399829138,
360
+ "count": 1,
361
+ "self": 0.20298618399829138
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 38499986,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-38499986.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1676049074.991734,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-38499986.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 38999912,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-38999912.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1676051531.274252,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-38999912.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 39499902,
24
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-39499902.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1676056719.006643,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-39499902.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 39999989,
33
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-39999989.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1676059017.72059,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-39999989.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 40000050,
42
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-40000050.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1676059017.946358,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-40000050.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1883.394411941979,
51
+ "final_checkpoint": {
52
+ "steps": 40000050,
53
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1676059017.946358,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-40000050.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.31.0.dev0",
64
+ "torch_version": "1.11.0"
65
+ }
66
+ }