mesa44 commited on
Commit
33a7306
1 Parent(s): 7c77dc4

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: mesa44/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:feb3c40e48b4abce19c9639984d5085dbdc0d3da4ff1b3ae27643b698801a1f8
3
+ size 2820313
SoccerTwos/SoccerTwos-1499156.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e6c8dc9f6f93ec161d2ebc4e6c91e23498868279ba144fad40aad4b7876faa4
3
+ size 2820313
SoccerTwos/SoccerTwos-1499156.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c042007152157bc0a0b5ab118bda78cd2f9359548d861bf0c69f224dffc36fa
3
+ size 34739046
SoccerTwos/SoccerTwos-1999740.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2fe1f30ad2abf24e02cf366b44ae72c52c70b0a4abe894d131a7ec2d3ecf8c5
3
+ size 2820313
SoccerTwos/SoccerTwos-1999740.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53008912015657bddfcd4694e2fa653eab6bd896908e5dc72b6a728b44fbc4a7
3
+ size 34739046
SoccerTwos/SoccerTwos-2499932.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11819ccdc7215b83d8e568a16deb2fd0b67bab3a43224c911a707fdf1e626724
3
+ size 2820313
SoccerTwos/SoccerTwos-2499932.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88198227d145feb782ddb98562ba25b9f487ad8d1f6ea32c218745dafdb1c85a
3
+ size 34739046
SoccerTwos/SoccerTwos-2999556.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feb3c40e48b4abce19c9639984d5085dbdc0d3da4ff1b3ae27643b698801a1f8
3
+ size 2820313
SoccerTwos/SoccerTwos-2999556.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce5a73da189ea6014fdf20fc8c4e223c2b8e4973687f874b05a195ae2f569d0d
3
+ size 34739046
SoccerTwos/SoccerTwos-2999999.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feb3c40e48b4abce19c9639984d5085dbdc0d3da4ff1b3ae27643b698801a1f8
3
+ size 2820313
SoccerTwos/SoccerTwos-2999999.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f041d1702370b5fe4fc0b1b23cd2c9a32fc1ad6352d12efb9c40d599eff16fc6
3
+ size 34739046
SoccerTwos/SoccerTwos-3105550.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eadabe9a5ee0639c554dd51845a44c3e45c8b26ca63119d943b4498350f73ac7
3
+ size 2820313
SoccerTwos/SoccerTwos-3105550.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52bd5b8d4e711d0c0f22f803cf7248d49a5af37c9e29dd3d7f906632f05c6f98
3
+ size 34739046
SoccerTwos/SoccerTwos-999092.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1453d1d1b687dc13b4b6f9f62bf1e9ab9483a485a40d5276453f76206281ec84
3
+ size 2820313
SoccerTwos/SoccerTwos-999092.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:208a962d68c8ae0d88bf82495a2aa4b78adf6e37ac2478492910582cdee4dba6
3
+ size 34738906
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1cd0f45c88ac1152cdf2a9006e796c402527a2fc346a427fd859a69c7d56c85
3
+ size 34737862
SoccerTwos/events.out.tfevents.1715679413.DESKTOP-TALE8L7.5284.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af66f3d7814461e0192d24951de74696de8336f06cbb12b838a31d79d234b374
3
+ size 330763
SoccerTwos/events.out.tfevents.1715760305.DESKTOP-TALE8L7.3880.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dd4eef5d89c511914959372de6c2e7596b1a6ca67a2ea8adbedf083294a83b2
3
+ size 21802
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.003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 10000000, "time_horizon": 1048, "summary_freq": 100000, "threaded": false, "self_play": {"save_steps": 70000, "team_change": 210000, "swap_steps": 21000, "window": 20, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-env/SoccerTwos/SoccerTwos.exe", "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.003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 3
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 10000000
41
+ time_horizon: 1048
42
+ summary_freq: 100000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 70000
46
+ team_change: 210000
47
+ swap_steps: 21000
48
+ window: 20
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-env/SoccerTwos/SoccerTwos.exe
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,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'D:/PJ/ml-agents/training-env/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'D:/PJ/ml-agents/training-env/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path D:/PJ/ml-agents/training-env/SoccerTwos/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 1.253 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: 69.859300 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
+ Setting up 3 worker threads for Enlighten.
61
+ Memory Statistics:
62
+ [ALLOC_TEMP_TLS] TLS Allocator
63
+ StackAllocators :
64
+ [ALLOC_TEMP_MAIN]
65
+ Peak usage frame count: [4.0 KB-8.0 KB]: 1 frames, [8.0 KB-16.0 KB]: 2055 frames, [2.0 MB-4.0 MB]: 1 frames
66
+ Initial Block Size 4.0 MB
67
+ Current Block Size 4.0 MB
68
+ Peak Allocated Bytes 2.0 MB
69
+ Overflow Count 0
70
+ [ALLOC_TEMP_Loading.AsyncRead]
71
+ Initial Block Size 64.0 KB
72
+ Current Block Size 64.0 KB
73
+ Peak Allocated Bytes 246 B
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Loading.PreloadManager]
76
+ Initial Block Size 256.0 KB
77
+ Current Block Size 256.0 KB
78
+ Peak Allocated Bytes 67.0 KB
79
+ Overflow Count 4
80
+ [ALLOC_TEMP_Background Job.Worker 8]
81
+ Initial Block Size 32.0 KB
82
+ Current Block Size 32.0 KB
83
+ Peak Allocated Bytes 54 B
84
+ Overflow Count 0
85
+ [ALLOC_TEMP_Background Job.Worker 9]
86
+ Initial Block Size 32.0 KB
87
+ Current Block Size 32.0 KB
88
+ Peak Allocated Bytes 54 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Job.Worker 0]
91
+ Initial Block Size 256.0 KB
92
+ Current Block Size 256.0 KB
93
+ Peak Allocated Bytes 0 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Background Job.Worker 10]
96
+ Initial Block Size 32.0 KB
97
+ Current Block Size 32.0 KB
98
+ Peak Allocated Bytes 54 B
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_Background Job.Worker 14]
101
+ Initial Block Size 32.0 KB
102
+ Current Block Size 32.0 KB
103
+ Peak Allocated Bytes 54 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_Background Job.Worker 6]
106
+ Initial Block Size 32.0 KB
107
+ Current Block Size 32.0 KB
108
+ Peak Allocated Bytes 54 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Job.Worker 4]
111
+ Initial Block Size 256.0 KB
112
+ Current Block Size 256.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Job.Worker 3]
116
+ Initial Block Size 256.0 KB
117
+ Current Block Size 256.0 KB
118
+ Peak Allocated Bytes 488 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 12]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 54 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_EnlightenWorker] x 3
126
+ Initial Block Size 64.0 KB
127
+ Current Block Size 64.0 KB
128
+ Peak Allocated Bytes 54 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Background Job.Worker 15]
131
+ Initial Block Size 32.0 KB
132
+ Current Block Size 32.0 KB
133
+ Peak Allocated Bytes 54 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 1]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 54 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Background Job.Worker 2]
141
+ Initial Block Size 32.0 KB
142
+ Current Block Size 32.0 KB
143
+ Peak Allocated Bytes 54 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Background Job.Worker 7]
146
+ Initial Block Size 32.0 KB
147
+ Current Block Size 32.0 KB
148
+ Peak Allocated Bytes 54 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 5
151
+ Initial Block Size 64.0 KB
152
+ Current Block Size 64.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 5]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 54 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 13]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 54 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Job.Worker 1]
166
+ Initial Block Size 256.0 KB
167
+ Current Block Size 256.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Job.Worker 2]
171
+ Initial Block Size 256.0 KB
172
+ Current Block Size 256.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Background Job.Worker 3]
176
+ Initial Block Size 32.0 KB
177
+ Current Block Size 32.0 KB
178
+ Peak Allocated Bytes 54 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_Background Job.Worker 11]
181
+ Initial Block Size 32.0 KB
182
+ Current Block Size 32.0 KB
183
+ Peak Allocated Bytes 54 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Background Job.Worker 0]
186
+ Initial Block Size 32.0 KB
187
+ Current Block Size 32.0 KB
188
+ Peak Allocated Bytes 54 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Background Job.Worker 4]
191
+ Initial Block Size 32.0 KB
192
+ Current Block Size 32.0 KB
193
+ Peak Allocated Bytes 54 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_BatchDeleteObjects]
196
+ Initial Block Size 64.0 KB
197
+ Current Block Size 64.0 KB
198
+ Peak Allocated Bytes 54 B
199
+ Overflow Count 0
200
+ [ALLOC_DEFAULT] Dual Thread Allocator
201
+ Peak main deferred allocation count 3
202
+ [ALLOC_BUCKET]
203
+ Large Block size 4.0 MB
204
+ Used Block count 1
205
+ Peak Allocated bytes 0.9 MB
206
+ [ALLOC_DEFAULT_MAIN]
207
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2057 frames
208
+ Requested Block Size 16.0 MB
209
+ Peak Block count 1
210
+ Peak Allocated memory 5.0 MB
211
+ Peak Large allocation bytes 0 B
212
+ [ALLOC_DEFAULT_THREAD]
213
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2057 frames
214
+ Requested Block Size 16.0 MB
215
+ Peak Block count 1
216
+ Peak Allocated memory 17.4 MB
217
+ Peak Large allocation bytes 16.0 MB
218
+ [ALLOC_TEMP_JOB_1_FRAME]
219
+ Initial Block Size 2.0 MB
220
+ Used Block Count 1
221
+ Overflow Count (too large) 0
222
+ Overflow Count (full) 0
223
+ [ALLOC_TEMP_JOB_2_FRAMES]
224
+ Initial Block Size 2.0 MB
225
+ Used Block Count 1
226
+ Overflow Count (too large) 0
227
+ Overflow Count (full) 0
228
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
229
+ Initial Block Size 2.0 MB
230
+ Used Block Count 2
231
+ Overflow Count (too large) 0
232
+ Overflow Count (full) 0
233
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
234
+ Initial Block Size 1.0 MB
235
+ Used Block Count 3
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_GFX] Dual Thread Allocator
239
+ Peak main deferred allocation count 0
240
+ [ALLOC_BUCKET]
241
+ Large Block size 4.0 MB
242
+ Used Block count 1
243
+ Peak Allocated bytes 0.9 MB
244
+ [ALLOC_GFX_MAIN]
245
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2056 frames, [64.0 KB-128.0 KB]: 1 frames
246
+ Requested Block Size 16.0 MB
247
+ Peak Block count 1
248
+ Peak Allocated memory 65.6 KB
249
+ Peak Large allocation bytes 0 B
250
+ [ALLOC_GFX_THREAD]
251
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2057 frames
252
+ Requested Block Size 16.0 MB
253
+ Peak Block count 1
254
+ Peak Allocated memory 173.6 KB
255
+ Peak Large allocation bytes 0 B
256
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
257
+ Peak main deferred allocation count 2
258
+ [ALLOC_BUCKET]
259
+ Large Block size 4.0 MB
260
+ Used Block count 1
261
+ Peak Allocated bytes 0.9 MB
262
+ [ALLOC_CACHEOBJECTS_MAIN]
263
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2057 frames
264
+ Requested Block Size 4.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 0.6 MB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_CACHEOBJECTS_THREAD]
269
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2056 frames, [2.0 MB-4.0 MB]: 1 frames
270
+ Requested Block Size 4.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 2.2 MB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_TYPETREE] Dual Thread Allocator
275
+ Peak main deferred allocation count 0
276
+ [ALLOC_BUCKET]
277
+ Large Block size 4.0 MB
278
+ Used Block count 1
279
+ Peak Allocated bytes 0.9 MB
280
+ [ALLOC_TYPETREE_MAIN]
281
+ Peak usage frame count: [0-1.0 KB]: 2057 frames
282
+ Requested Block Size 2.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 1.0 KB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE_THREAD]
287
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2056 frames, [2.0 KB-4.0 KB]: 1 frames
288
+ Requested Block Size 2.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 2.2 KB
291
+ 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": 2.480004072189331,
6
+ "min": 2.3625001907348633,
7
+ "max": 2.480004072189331,
8
+ "count": 2
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 519094.59375,
12
+ "min": 8013.6005859375,
13
+ "max": 519094.59375,
14
+ "count": 2
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 291.80232558139534,
18
+ "min": 38.142857142857146,
19
+ "max": 291.80232558139534,
20
+ "count": 2
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 200760.0,
24
+ "min": 1068.0,
25
+ "max": 200760.0,
26
+ "count": 2
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.985127360266,
30
+ "min": 1198.985127360266,
31
+ "max": 1200.0,
32
+ "count": 2
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 366889.44897224143,
36
+ "min": 16800.0,
37
+ "max": 366889.44897224143,
38
+ "count": 2
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 3099610.0,
42
+ "min": 2999999.0,
43
+ "max": 3099610.0,
44
+ "count": 2
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 3099610.0,
48
+ "min": 2999999.0,
49
+ "max": 3099610.0,
50
+ "count": 2
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.0024060048162937164,
54
+ "min": -0.0024060048162937164,
55
+ "max": 0.08555393666028976,
56
+ "count": 2
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.8252596855163574,
60
+ "min": -0.8252596855163574,
61
+ "max": 1.11220121383667,
62
+ "count": 2
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.00046734767965972424,
66
+ "min": -0.00046734767965972424,
67
+ "max": 0.09303981810808182,
68
+ "count": 2
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.16030025482177734,
72
+ "min": -0.16030025482177734,
73
+ "max": 1.2095175981521606,
74
+ "count": 2
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 2
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 2
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.08930029087963327,
90
+ "min": -0.08930029087963327,
91
+ "max": 0.2126153799203726,
92
+ "count": 2
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -30.62999977171421,
96
+ "min": -30.62999977171421,
97
+ "max": 2.7639999389648438,
98
+ "count": 2
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.08930029087963327,
102
+ "min": -0.08930029087963327,
103
+ "max": 0.2126153799203726,
104
+ "count": 2
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -30.62999977171421,
108
+ "min": -30.62999977171421,
109
+ "max": 2.7639999389648438,
110
+ "count": 2
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 2
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 2
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.017513721130793178,
126
+ "min": 0.017513721130793178,
127
+ "max": 0.017513721130793178,
128
+ "count": 1
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.07005488452317271,
132
+ "min": 0.07005488452317271,
133
+ "max": 0.07005488452317271,
134
+ "count": 1
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.02040715963424494,
138
+ "min": 0.02040715963424494,
139
+ "max": 0.02040715963424494,
140
+ "count": 1
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.08162863853697976,
144
+ "min": 0.08162863853697976,
145
+ "max": 0.08162863853697976,
146
+ "count": 1
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.020846690470352768,
150
+ "min": 0.020846690470352768,
151
+ "max": 0.020846690470352768,
152
+ "count": 1
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.08338676188141107,
156
+ "min": 0.08338676188141107,
157
+ "max": 0.08338676188141107,
158
+ "count": 1
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0020840281805323954,
162
+ "min": 0.0020840281805323954,
163
+ "max": 0.0020840281805323954,
164
+ "count": 1
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.008336112722129582,
168
+ "min": 0.008336112722129582,
169
+ "max": 0.008336112722129582,
170
+ "count": 1
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.169467605,
174
+ "min": 0.169467605,
175
+ "max": 0.169467605,
176
+ "count": 1
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.67787042,
180
+ "min": 0.67787042,
181
+ "max": 0.67787042,
182
+ "count": 1
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.0034764334895,
186
+ "min": 0.0034764334895,
187
+ "max": 0.0034764334895,
188
+ "count": 1
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.013905733958,
192
+ "min": 0.013905733958,
193
+ "max": 0.013905733958,
194
+ "count": 1
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1715760297",
200
+ "python_version": "3.10.12 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "\\\\?\\C:\\Users\\duyvo\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-env/SoccerTwos/SoccerTwos.exe --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+cpu",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1715760766"
208
+ },
209
+ "total": 468.8507794998586,
210
+ "count": 1,
211
+ "self": 0.00745509983971715,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.1191064000595361,
215
+ "count": 1,
216
+ "self": 0.1191064000595361
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 468.72421799995936,
220
+ "count": 1,
221
+ "self": 0.15449989144690335,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 11.46295509999618,
225
+ "count": 2,
226
+ "self": 11.46295509999618
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 456.9516715086065,
230
+ "count": 6998,
231
+ "self": 0.15662221307866275,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 119.13853709911928,
235
+ "count": 6998,
236
+ "self": 88.1783539133612,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 30.860886494629085,
240
+ "count": 6998,
241
+ "self": 0.9658355887513608,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 29.895050905877724,
245
+ "count": 13708,
246
+ "self": 29.895050905877724
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.0992966911289841,
252
+ "count": 6998,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 400.91223450936377,
257
+ "count": 6998,
258
+ "is_parallel": true,
259
+ "self": 331.3737641153857,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.004783999873325229,
263
+ "count": 4,
264
+ "is_parallel": true,
265
+ "self": 0.0011294996365904808,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.003654500236734748,
269
+ "count": 16,
270
+ "is_parallel": true,
271
+ "self": 0.003654500236734748
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 69.53368639410473,
277
+ "count": 6998,
278
+ "is_parallel": true,
279
+ "self": 3.5871141185052693,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 2.9202786860987544,
283
+ "count": 6998,
284
+ "is_parallel": true,
285
+ "self": 2.9202786860987544
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 51.34761309879832,
289
+ "count": 6998,
290
+ "is_parallel": true,
291
+ "self": 51.34761309879832
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 11.67868049070239,
295
+ "count": 13996,
296
+ "is_parallel": true,
297
+ "self": 2.339395801536739,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 9.339284689165652,
301
+ "count": 55984,
302
+ "is_parallel": true,
303
+ "self": 9.339284689165652
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 337.6565121964086,
317
+ "count": 6998,
318
+ "self": 1.05021079396829,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 21.97537150257267,
322
+ "count": 6998,
323
+ "self": 21.757783502573147,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 0.21758799999952316,
327
+ "count": 1,
328
+ "self": 0.21758799999952316
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 314.6309298998676,
334
+ "count": 5,
335
+ "self": 14.940605098148808,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 299.6903248017188,
339
+ "count": 148,
340
+ "self": 299.6903248017188
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 1.0998919606208801e-06,
350
+ "count": 1,
351
+ "self": 1.0998919606208801e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.15509040001779795,
355
+ "count": 1,
356
+ "self": 0.002606899943202734,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.1524835000745952,
360
+ "count": 1,
361
+ "self": 0.1524835000745952
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 2999999,
6
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-2999999.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1715760311.9899578,
9
+ "auxillary_file_paths": [
10
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-2999999.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 3105550,
15
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-3105550.onnx",
16
+ "reward": null,
17
+ "creation_time": 1715760766.5224805,
18
+ "auxillary_file_paths": [
19
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-3105550.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "elo": 1197.935321424963,
24
+ "final_checkpoint": {
25
+ "steps": 3105550,
26
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
27
+ "reward": null,
28
+ "creation_time": 1715760766.5224805,
29
+ "auxillary_file_paths": [
30
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-3105550.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "1.1.0.dev0",
37
+ "torch_version": "2.3.0+cpu"
38
+ }
39
+ }