i-pj commited on
Commit
3d0bfd6
1 Parent(s): c9bf419

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: i-pj/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bc9e6865da08a1f85ca054ac0e3321ea6319a963634f2db4a42c1e52c22cfbe
3
+ size 1768747
SoccerTwos/SoccerTwos-10170124.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bc9e6865da08a1f85ca054ac0e3321ea6319a963634f2db4a42c1e52c22cfbe
3
+ size 1768747
SoccerTwos/SoccerTwos-10170124.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:531eff09111d76df93dbbf3e478a92b017fa4afcf9aedac9126483463808707d
3
+ size 28430482
SoccerTwos/SoccerTwos-7999934.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df83b7fa2f10ead9e7dfe8ecc744ea162108e2114f775ccabae893cb24160a4
3
+ size 1768747
SoccerTwos/SoccerTwos-7999934.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:500ebd340f5519637bc52b6410e4dc9e574162c1e7c2c75aae0e06436881753c
3
+ size 28430358
SoccerTwos/SoccerTwos-8499999.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2eee67161f503b99c073f9d51853c6e5b15226260eb1b6d91b7344c3f804880e
3
+ size 1768747
SoccerTwos/SoccerTwos-8499999.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a70f56fa7556aaef5e829561886443d1d1631af4ecc8f3e733f463bc96ffab40
3
+ size 28430358
SoccerTwos/SoccerTwos-8999984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e8af319c4cd5558ea79ab7e52691bd84d30403c35f7a2f8d9b8f350d916fa41
3
+ size 1768747
SoccerTwos/SoccerTwos-8999984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea2ff37ab7445b3fdfd76e4e79a4acc3de9f2f5943e7881fa6858c14996a7ac9
3
+ size 28430358
SoccerTwos/SoccerTwos-9499769.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:900adbfc26925bd9ce4e9c4286b3ef6e2213713f0993a03f8d205db2dd09cd55
3
+ size 1768747
SoccerTwos/SoccerTwos-9499769.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dfed12f206973f1b5c074fc00d1e375d898acaa8c07056df26deb8cff36b313
3
+ size 28430358
SoccerTwos/SoccerTwos-9999926.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad4003ef23ef69c34784e7c9847f816b8793d9f9086df8b84d067e7309155af
3
+ size 1768747
SoccerTwos/SoccerTwos-9999926.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bc2deacea02cda5d355d619f81abdc01c1a3d4d0f7501f69bb8241cea99bfc1
3
+ size 28430358
SoccerTwos/SoccerTwos-9999982.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad4003ef23ef69c34784e7c9847f816b8793d9f9086df8b84d067e7309155af
3
+ size 1768747
SoccerTwos/SoccerTwos-9999982.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f46104132cc581b81ff79487a5549c7e177f9d4a527f19d7d8f0b56ddf937364
3
+ size 28430358
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e28f86474877acd64841c9618eb24c175d48f8b0a3c486fd24cd275c0751ec6d
3
+ size 28429366
SoccerTwos/events.out.tfevents.1714154911.Parths-MacBook-Pro-3.local.79483.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0d9d2d77f9acfa6043f4837f16aa3b76b65b294c1c81c5d8a0e343e59c3b4cb
3
+ size 9539810
SoccerTwos/events.out.tfevents.1714188444.Parths-MacBook-Pro-3.local.49112.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4cadd9608b5ee4e97510a1d3251d51af3a4bb20132cb63c28eb5ca4319326c5
3
+ size 185989
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": 10170000, "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/SoccerTwos.app", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 10170000
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/SoccerTwos.app
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: true
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/parth/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/parth/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/parth/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.084 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: 1.149125 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
+ Thread 0x170eb7000 may have been prematurely finalized
42
+ Setting up 6 worker threads for Enlighten.
43
+ Memory Statistics:
44
+ [ALLOC_TEMP_TLS] TLS Allocator
45
+ StackAllocators :
46
+ [ALLOC_TEMP_MAIN]
47
+ Peak usage frame count: [8.0 KB-16.0 KB]: 3201 frames, [2.0 MB-4.0 MB]: 1 frames
48
+ Initial Block Size 4.0 MB
49
+ Current Block Size 4.0 MB
50
+ Peak Allocated Bytes 2.1 MB
51
+ Overflow Count 0
52
+ [ALLOC_TEMP_Loading.AsyncRead]
53
+ Initial Block Size 64.0 KB
54
+ Current Block Size 64.0 KB
55
+ Peak Allocated Bytes 128 B
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Loading.PreloadManager]
58
+ Initial Block Size 256.0 KB
59
+ Current Block Size 256.0 KB
60
+ Peak Allocated Bytes 78.8 KB
61
+ Overflow Count 4
62
+ [ALLOC_TEMP_Background Job.Worker 8]
63
+ Initial Block Size 32.0 KB
64
+ Current Block Size 32.0 KB
65
+ Peak Allocated Bytes 0 B
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Job.Worker 6]
68
+ Initial Block Size 256.0 KB
69
+ Current Block Size 256.0 KB
70
+ Peak Allocated Bytes 0 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Job.Worker 0]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 256.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Background Job.Worker 10]
78
+ Initial Block Size 32.0 KB
79
+ Current Block Size 32.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 9]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 5]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 14]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 6]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Job.Worker 4]
103
+ Initial Block Size 256.0 KB
104
+ Current Block Size 256.0 KB
105
+ Peak Allocated Bytes 0.7 KB
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 3]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 12]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_EnlightenWorker] x 6
118
+ Initial Block Size 64.0 KB
119
+ Current Block Size 64.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 15]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 1]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 2]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 7]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Job.Worker 9]
153
+ Initial Block Size 256.0 KB
154
+ Current Block Size 256.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Background Job.Worker 13]
158
+ Initial Block Size 32.0 KB
159
+ Current Block Size 32.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Job.Worker 8]
163
+ Initial Block Size 256.0 KB
164
+ Current Block Size 256.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_OSX HID Input]
168
+ Initial Block Size 64.0 KB
169
+ Current Block Size 64.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 7]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 1]
178
+ Initial Block Size 256.0 KB
179
+ Current Block Size 256.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Job.Worker 2]
183
+ Initial Block Size 256.0 KB
184
+ Current Block Size 256.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 3]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 11]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Job.Worker 10]
198
+ Initial Block Size 256.0 KB
199
+ Current Block Size 256.0 KB
200
+ Peak Allocated Bytes 0 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Background Job.Worker 0]
203
+ Initial Block Size 32.0 KB
204
+ Current Block Size 32.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Background Job.Worker 4]
208
+ Initial Block Size 32.0 KB
209
+ Current Block Size 32.0 KB
210
+ Peak Allocated Bytes 0 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_BatchDeleteObjects]
213
+ Initial Block Size 64.0 KB
214
+ Current Block Size 64.0 KB
215
+ Peak Allocated Bytes 0 B
216
+ Overflow Count 0
217
+ [ALLOC_DEFAULT] Dual Thread Allocator
218
+ Peak main deferred allocation count 3
219
+ [ALLOC_BUCKET]
220
+ Large Block size 4.0 MB
221
+ Used Block count 1
222
+ Peak Allocated bytes 1.0 MB
223
+ [ALLOC_DEFAULT_MAIN]
224
+ Peak usage frame count: [4.0 MB-8.0 MB]: 3202 frames
225
+ Requested Block Size 16.0 MB
226
+ Peak Block count 1
227
+ Peak Allocated memory 5.0 MB
228
+ Peak Large allocation bytes 0 B
229
+ [ALLOC_DEFAULT_THREAD]
230
+ Peak usage frame count: [16.0 MB-32.0 MB]: 3202 frames
231
+ Requested Block Size 16.0 MB
232
+ Peak Block count 1
233
+ Peak Allocated memory 17.3 MB
234
+ Peak Large allocation bytes 16.0 MB
235
+ [ALLOC_TEMP_JOB_1_FRAME]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_2_FRAMES]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 1
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
246
+ Initial Block Size 2.0 MB
247
+ Used Block Count 2
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
251
+ Initial Block Size 1.0 MB
252
+ Used Block Count 3
253
+ Overflow Count (too large) 0
254
+ Overflow Count (full) 0
255
+ [ALLOC_GFX] Dual Thread Allocator
256
+ Peak main deferred allocation count 0
257
+ [ALLOC_BUCKET]
258
+ Large Block size 4.0 MB
259
+ Used Block count 1
260
+ Peak Allocated bytes 1.0 MB
261
+ [ALLOC_GFX_MAIN]
262
+ Peak usage frame count: [32.0 KB-64.0 KB]: 3201 frames, [64.0 KB-128.0 KB]: 1 frames
263
+ Requested Block Size 16.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 65.6 KB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_GFX_THREAD]
268
+ Peak usage frame count: [128.0 KB-256.0 KB]: 3202 frames
269
+ Requested Block Size 16.0 MB
270
+ Peak Block count 1
271
+ Peak Allocated memory 173.5 KB
272
+ Peak Large allocation bytes 0 B
273
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
274
+ Peak main deferred allocation count 0
275
+ [ALLOC_BUCKET]
276
+ Large Block size 4.0 MB
277
+ Used Block count 1
278
+ Peak Allocated bytes 1.0 MB
279
+ [ALLOC_CACHEOBJECTS_MAIN]
280
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3202 frames
281
+ Requested Block Size 4.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 0.6 MB
284
+ Peak Large allocation bytes 0 B
285
+ [ALLOC_CACHEOBJECTS_THREAD]
286
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3201 frames, [2.0 MB-4.0 MB]: 1 frames
287
+ Requested Block Size 4.0 MB
288
+ Peak Block count 1
289
+ Peak Allocated memory 3.4 MB
290
+ Peak Large allocation bytes 0 B
291
+ [ALLOC_TYPETREE] Dual Thread Allocator
292
+ Peak main deferred allocation count 0
293
+ [ALLOC_BUCKET]
294
+ Large Block size 4.0 MB
295
+ Used Block count 1
296
+ Peak Allocated bytes 1.0 MB
297
+ [ALLOC_TYPETREE_MAIN]
298
+ Peak usage frame count: [0-1.0 KB]: 3202 frames
299
+ Requested Block Size 2.0 MB
300
+ Peak Block count 1
301
+ Peak Allocated memory 1.0 KB
302
+ Peak Large allocation bytes 0 B
303
+ [ALLOC_TYPETREE_THREAD]
304
+ Peak usage frame count: [1.0 KB-2.0 KB]: 3201 frames, [2.0 KB-4.0 KB]: 1 frames
305
+ Requested Block Size 2.0 MB
306
+ Peak Block count 1
307
+ Peak Allocated memory 2.2 KB
308
+ 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.679749846458435,
6
+ "min": 1.5837690830230713,
7
+ "max": 1.6931036710739136,
8
+ "count": 18
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 33379.98828125,
12
+ "min": 1165.654052734375,
13
+ "max": 35658.38671875,
14
+ "count": 18
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 62.64102564102564,
18
+ "min": 18.5,
19
+ "max": 87.15789473684211,
20
+ "count": 18
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19544.0,
24
+ "min": 148.0,
25
+ "max": 20304.0,
26
+ "count": 18
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1222.809791901454,
30
+ "min": 1193.0768502042945,
31
+ "max": 1226.4892024962849,
32
+ "count": 18
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 190758.32753662684,
36
+ "min": 4800.0,
37
+ "max": 201144.22920939073,
38
+ "count": 18
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 10169935.0,
42
+ "min": 9999982.0,
43
+ "max": 10169935.0,
44
+ "count": 18
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 10169935.0,
48
+ "min": 9999982.0,
49
+ "max": 10169935.0,
50
+ "count": 18
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.006176153663545847,
54
+ "min": -0.024318289011716843,
55
+ "max": 0.19033126533031464,
56
+ "count": 18
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.9634799957275391,
60
+ "min": -3.6477432250976562,
61
+ "max": 15.603649139404297,
62
+ "count": 18
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.0054854401387274265,
66
+ "min": -0.023617848753929138,
67
+ "max": 0.19180536270141602,
68
+ "count": 18
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.8557286262512207,
72
+ "min": -3.542677402496338,
73
+ "max": 15.997982025146484,
74
+ "count": 18
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 18
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 18
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.1732794864055438,
90
+ "min": -0.1732794864055438,
91
+ "max": 0.3216000000635783,
92
+ "count": 18
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -27.03159987926483,
96
+ "min": -27.03159987926483,
97
+ "max": 46.63159966468811,
98
+ "count": 18
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.1732794864055438,
102
+ "min": -0.1732794864055438,
103
+ "max": 0.3216000000635783,
104
+ "count": 18
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -27.03159987926483,
108
+ "min": -27.03159987926483,
109
+ "max": 46.63159966468811,
110
+ "count": 18
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 18
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 18
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015739139712726075,
126
+ "min": 0.014609941675735172,
127
+ "max": 0.01964028791990131,
128
+ "count": 8
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015739139712726075,
132
+ "min": 0.014609941675735172,
133
+ "max": 0.01964028791990131,
134
+ "count": 8
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0893124724427859,
138
+ "min": 0.08485158532857895,
139
+ "max": 0.09563147947192192,
140
+ "count": 8
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0893124724427859,
144
+ "min": 0.08485158532857895,
145
+ "max": 0.09563147947192192,
146
+ "count": 8
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.09080011248588563,
150
+ "min": 0.08616696794827779,
151
+ "max": 0.09690051277478536,
152
+ "count": 8
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.09080011248588563,
156
+ "min": 0.08616696794827779,
157
+ "max": 0.09690051277478536,
158
+ "count": 8
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 8
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 8
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 8
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 8
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 8
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 8
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1714188442",
200
+ "python_version": "3.10.12 (main, Jul 5 2023, 15:02:25) [Clang 14.0.6 ]",
201
+ "command_line_arguments": "/Users/parth/miniconda3/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": "1.1.0.dev0",
203
+ "mlagents_envs_version": "1.1.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.3.0",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1714189152"
208
+ },
209
+ "total": 710.7810192499892,
210
+ "count": 1,
211
+ "self": 0.23493162498925813,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.028353750007227063,
215
+ "count": 1,
216
+ "self": 0.028353750007227063
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 710.5177338749927,
220
+ "count": 1,
221
+ "self": 0.1342643857933581,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.631008541007759,
225
+ "count": 2,
226
+ "self": 2.631008541007759
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 707.6277636972081,
230
+ "count": 11636,
231
+ "self": 0.12268581980606541,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 568.1032658139302,
235
+ "count": 11636,
236
+ "self": 548.0383035824925,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 19.98557951292605,
240
+ "count": 11636,
241
+ "self": 0.7190609581302851,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 19.266518554795766,
245
+ "count": 21346,
246
+ "self": 19.266518554795766
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.07938271851162426,
252
+ "count": 11636,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 708.1492451805389,
257
+ "count": 11636,
258
+ "is_parallel": true,
259
+ "self": 177.74469017470255,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0037761230196338147,
263
+ "count": 4,
264
+ "is_parallel": true,
265
+ "self": 0.0005192049720790237,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.003256918047554791,
269
+ "count": 16,
270
+ "is_parallel": true,
271
+ "self": 0.003256918047554791
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 530.4007788828167,
277
+ "count": 11636,
278
+ "is_parallel": true,
279
+ "self": 1.4402798907249235,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 9.246110053150915,
283
+ "count": 11636,
284
+ "is_parallel": true,
285
+ "self": 9.246110053150915
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 500.89330227387836,
289
+ "count": 11636,
290
+ "is_parallel": true,
291
+ "self": 500.89330227387836
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 18.821086665062467,
295
+ "count": 23272,
296
+ "is_parallel": true,
297
+ "self": 2.077526547946036,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 16.74356011711643,
301
+ "count": 93088,
302
+ "is_parallel": true,
303
+ "self": 16.74356011711643
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 139.40181206347188,
317
+ "count": 11636,
318
+ "self": 1.0675276794936508,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 29.373940135963494,
322
+ "count": 11636,
323
+ "self": 29.23191492795013,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 0.14202520801336505,
327
+ "count": 1,
328
+ "self": 0.14202520801336505
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 108.96034424801474,
334
+ "count": 8,
335
+ "self": 12.666946159064537,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 96.2933980889502,
339
+ "count": 240,
340
+ "self": 96.2933980889502
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 4.5899651013314724e-07,
350
+ "count": 1,
351
+ "self": 4.5899651013314724e-07
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.12469679198693484,
355
+ "count": 1,
356
+ "self": 0.0009215000027325004,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.12377529198420234,
360
+ "count": 1,
361
+ "self": 0.12377529198420234
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "1.1.0.dev0",
5
+ "torch_version": "2.3.0"
6
+ },
7
+ "SoccerTwos": {
8
+ "checkpoints": [
9
+ {
10
+ "steps": 9999982,
11
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-9999982.onnx",
12
+ "reward": 0.0,
13
+ "creation_time": 1714188446.15301,
14
+ "auxillary_file_paths": [
15
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-9999982.pt"
16
+ ]
17
+ },
18
+ {
19
+ "steps": 10170124,
20
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-10170124.onnx",
21
+ "reward": 0.0,
22
+ "creation_time": 1714189152.593143,
23
+ "auxillary_file_paths": [
24
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10170124.pt"
25
+ ]
26
+ }
27
+ ],
28
+ "elo": 1218.3896753698098,
29
+ "final_checkpoint": {
30
+ "steps": 10170124,
31
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
32
+ "reward": 0.0,
33
+ "creation_time": 1714189152.593143,
34
+ "auxillary_file_paths": [
35
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10170124.pt"
36
+ ]
37
+ }
38
+ }
39
+ }