gRaphael commited on
Commit
948a106
1 Parent(s): 072aac7

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: gRaphael/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos/SoccerTwos-1499882.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:112591ef70967c564bba4d8b0a367e3b55fb1dd1f31c7c892a3f5d11159001d6
3
+ size 1768747
SoccerTwos/SoccerTwos-1499882.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dbbd50d39f0f730024762b70910534723232e744f9b623aa24533db28292715
3
+ size 28432022
SoccerTwos/SoccerTwos-1999994.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ea2a25f916fefa9c1f7e204645c6cd2f63e77c0070dc6522220fbc87a1c3a3c
3
+ size 1768747
SoccerTwos/SoccerTwos-1999994.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd5f66f780d8d3f655c45c2d6596302fbb1ab85f87773f64125be4c46082619d
3
+ size 28432022
SoccerTwos/SoccerTwos-2499917.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27eed8c5221cd1cfb5caa7d7d0b3aee5ea60e72127aef1415e22fdd5622af96a
3
+ size 1768747
SoccerTwos/SoccerTwos-2499917.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b867e5b9992f333e2559f39d8ca555f91cfb4958e86428f89a05201ee0f5c4a0
3
+ size 28432022
SoccerTwos/SoccerTwos-2999819.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00e2b3d65ec754adde89f0a309e047e6347e891ae534e01624436115295daf7b
3
+ size 1768747
SoccerTwos/SoccerTwos-2999819.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a2288940a06bcf12c6eca94c61c5d21aaf35eba5edbdfc5405d874daa9fab5a
3
+ size 28432022
SoccerTwos/SoccerTwos-999888.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a00aa7c737a49d9550036e3ab7bade732450cb0cdf115b55845bb2258db6257
3
+ size 1768747
SoccerTwos/SoccerTwos-999888.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc8607a2059e867d26fe41f50be98a35ac908e38c0669fb66c44e8b37871fc8b
3
+ size 28431898
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d820858e4014fe5d011ea35ada5d7d8d90adb45fa8cde5f05eed20127b113415
3
+ size 28431030
SoccerTwos/events.out.tfevents.1712852934.27a22f2fb33d.2270.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7164b861c960f16841b9a4e2959b4480dd7f42c069147c471fc894d268ec90da
3
+ size 3164063
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": "/content/drive/MyDrive/2v2football/ml-agents/results/SoccerTwos_4/SoccerTwos/SoccerTwos-3999924.pt", "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 50000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos/SoccerTwos.x86_64", "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_7", "initialize_from": null, "load_model": false, "resume": false, "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: /content/drive/MyDrive/2v2football/ml-agents/results/SoccerTwos_4/SoccerTwos/SoccerTwos-3999924.pt
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 50000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-envs-executables/SoccerTwos/SoccerTwos.x86_64
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_7
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
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,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/drive/.shortcut-targets-by-id/1L3BAfoarSbW7LEV4a5ZuRfXOwvH_iUmf/2v2football/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/drive/.shortcut-targets-by-id/1L3BAfoarSbW7LEV4a5ZuRfXOwvH_iUmf/2v2football/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Unable to load player prefs
6
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
7
+ [Subsystems] Discovering subsystems at path /content/drive/.shortcut-targets-by-id/1L3BAfoarSbW7LEV4a5ZuRfXOwvH_iUmf/2v2football/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
8
+ Forcing GfxDevice: Null
9
+ GfxDevice: creating device client; threaded=0; jobified=0
10
+ NullGfxDevice:
11
+ Version: NULL 1.0 [1.0]
12
+ Renderer: Null Device
13
+ Vendor: Unity Technologies
14
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
15
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
16
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
17
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
18
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
19
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
20
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
21
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
22
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
23
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
24
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
25
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
26
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
27
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
28
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
29
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
30
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
31
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
32
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
33
+ FMOD initialized on nosound output
34
+ Begin MonoManager ReloadAssembly
35
+ - Completed reload, in 8.839 seconds
36
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
40
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
41
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
42
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
43
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
44
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
45
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
46
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
47
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
48
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
49
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
50
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
51
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
52
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
53
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
54
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
55
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
56
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
57
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
58
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
59
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
60
+ UnloadTime: 1.124119 ms
61
+ Registered Communicator in Agent.
62
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
63
+ requesting resize 84 x 84
64
+ Setting up 1 worker threads for Enlighten.
65
+ Memory Statistics:
66
+ [ALLOC_TEMP_TLS] TLS Allocator
67
+ StackAllocators :
68
+ [ALLOC_TEMP_MAIN]
69
+ Peak usage frame count: [8.0 KB-16.0 KB]: 58130 frames, [2.0 MB-4.0 MB]: 1 frames
70
+ Initial Block Size 4.0 MB
71
+ Current Block Size 4.0 MB
72
+ Peak Allocated Bytes 2.1 MB
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Loading.AsyncRead]
75
+ Initial Block Size 64.0 KB
76
+ Current Block Size 64.0 KB
77
+ Peak Allocated Bytes 174 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Loading.PreloadManager]
80
+ Initial Block Size 256.0 KB
81
+ Current Block Size 300.0 KB
82
+ Peak Allocated Bytes 249.7 KB
83
+ Overflow Count 4
84
+ [ALLOC_TEMP_Background Job.Worker 8]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 9]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Job.Worker 0]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.0 KB
97
+ Peak Allocated Bytes 0.7 KB
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 10]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 14]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 6]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 12]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_EnlightenWorker]
120
+ Initial Block Size 64.0 KB
121
+ Current Block Size 64.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 15]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 1]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 2]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 7]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
145
+ Initial Block Size 64.0 KB
146
+ Current Block Size 64.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 5]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 13]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 11]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 3]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 0]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 4]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_BatchDeleteObjects]
180
+ Initial Block Size 64.0 KB
181
+ Current Block Size 64.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_DEFAULT] Dual Thread Allocator
185
+ Peak main deferred allocation count 4
186
+ [ALLOC_BUCKET]
187
+ Large Block size 4.0 MB
188
+ Used Block count 1
189
+ Peak Allocated bytes 1.0 MB
190
+ [ALLOC_DEFAULT_MAIN]
191
+ Peak usage frame count: [4.0 MB-8.0 MB]: 58131 frames
192
+ Requested Block Size 16.0 MB
193
+ Peak Block count 1
194
+ Peak Allocated memory 4.9 MB
195
+ Peak Large allocation bytes 0 B
196
+ [ALLOC_DEFAULT_THREAD]
197
+ Peak usage frame count: [16.0 MB-32.0 MB]: 58131 frames
198
+ Requested Block Size 16.0 MB
199
+ Peak Block count 1
200
+ Peak Allocated memory 17.1 MB
201
+ Peak Large allocation bytes 16.0 MB
202
+ [ALLOC_TEMP_JOB_1_FRAME]
203
+ Initial Block Size 2.0 MB
204
+ Used Block Count 1
205
+ Overflow Count (too large) 0
206
+ Overflow Count (full) 0
207
+ [ALLOC_TEMP_JOB_2_FRAMES]
208
+ Initial Block Size 2.0 MB
209
+ Used Block Count 1
210
+ Overflow Count (too large) 0
211
+ Overflow Count (full) 0
212
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
213
+ Initial Block Size 2.0 MB
214
+ Used Block Count 2
215
+ Overflow Count (too large) 0
216
+ Overflow Count (full) 0
217
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
218
+ Initial Block Size 1.0 MB
219
+ Used Block Count 3
220
+ Overflow Count (too large) 0
221
+ Overflow Count (full) 0
222
+ [ALLOC_GFX] Dual Thread Allocator
223
+ Peak main deferred allocation count 0
224
+ [ALLOC_BUCKET]
225
+ Large Block size 4.0 MB
226
+ Used Block count 1
227
+ Peak Allocated bytes 1.0 MB
228
+ [ALLOC_GFX_MAIN]
229
+ Peak usage frame count: [32.0 KB-64.0 KB]: 58130 frames, [64.0 KB-128.0 KB]: 1 frames
230
+ Requested Block Size 16.0 MB
231
+ Peak Block count 1
232
+ Peak Allocated memory 65.6 KB
233
+ Peak Large allocation bytes 0 B
234
+ [ALLOC_GFX_THREAD]
235
+ Peak usage frame count: [128.0 KB-256.0 KB]: 58131 frames
236
+ Requested Block Size 16.0 MB
237
+ Peak Block count 1
238
+ Peak Allocated memory 173.5 KB
239
+ Peak Large allocation bytes 0 B
240
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
241
+ Peak main deferred allocation count 0
242
+ [ALLOC_BUCKET]
243
+ Large Block size 4.0 MB
244
+ Used Block count 1
245
+ Peak Allocated bytes 1.0 MB
246
+ [ALLOC_CACHEOBJECTS_MAIN]
247
+ Peak usage frame count: [0.5 MB-1.0 MB]: 58131 frames
248
+ Requested Block Size 4.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 0.6 MB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_CACHEOBJECTS_THREAD]
253
+ Peak usage frame count: [0.5 MB-1.0 MB]: 58130 frames, [4.0 MB-8.0 MB]: 1 frames
254
+ Requested Block Size 4.0 MB
255
+ Peak Block count 2
256
+ Peak Allocated memory 5.5 MB
257
+ Peak Large allocation bytes 0 B
258
+ [ALLOC_TYPETREE] Dual Thread Allocator
259
+ Peak main deferred allocation count 0
260
+ [ALLOC_BUCKET]
261
+ Large Block size 4.0 MB
262
+ Used Block count 1
263
+ Peak Allocated bytes 1.0 MB
264
+ [ALLOC_TYPETREE_MAIN]
265
+ Peak usage frame count: [0-1.0 KB]: 58131 frames
266
+ Requested Block Size 2.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 1.0 KB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_TYPETREE_THREAD]
271
+ Peak usage frame count: [1.0 KB-2.0 KB]: 58130 frames, [2.0 KB-4.0 KB]: 1 frames
272
+ Requested Block Size 2.0 MB
273
+ Peak Block count 1
274
+ Peak Allocated memory 2.2 KB
275
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.5712438821792603,
6
+ "min": 1.5587527751922607,
7
+ "max": 2.0243117809295654,
8
+ "count": 308
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 34894.18359375,
12
+ "min": 27434.048828125,
13
+ "max": 45251.359375,
14
+ "count": 308
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 57.888888888888886,
18
+ "min": 42.02654867256637,
19
+ "max": 84.96551724137932,
20
+ "count": 308
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20840.0,
24
+ "min": 17400.0,
25
+ "max": 21824.0,
26
+ "count": 308
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1264.454923827002,
30
+ "min": 1173.1927203833575,
31
+ "max": 1292.2790965101735,
32
+ "count": 308
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 227601.88628886035,
36
+ "min": 146698.67756814498,
37
+ "max": 274048.9838696183,
38
+ "count": 308
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 3079958.0,
42
+ "min": 9870.0,
43
+ "max": 3079958.0,
44
+ "count": 308
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 3079958.0,
48
+ "min": 9870.0,
49
+ "max": 3079958.0,
50
+ "count": 308
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.017327221110463142,
54
+ "min": -0.11203747242689133,
55
+ "max": 0.10505310446023941,
56
+ "count": 308
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -3.1188998222351074,
60
+ "min": -19.606557846069336,
61
+ "max": 20.275249481201172,
62
+ "count": 308
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.014008126221597195,
66
+ "min": -0.11430858075618744,
67
+ "max": 0.11353336274623871,
68
+ "count": 308
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -2.5214626789093018,
72
+ "min": -20.00400161743164,
73
+ "max": 21.91193962097168,
74
+ "count": 308
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 308
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 308
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.11526444554328918,
90
+ "min": -0.29855857193470003,
91
+ "max": 0.315018183655209,
92
+ "count": 308
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -20.747600197792053,
96
+ "min": -50.76240026950836,
97
+ "max": 62.373600363731384,
98
+ "count": 308
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.11526444554328918,
102
+ "min": -0.29855857193470003,
103
+ "max": 0.315018183655209,
104
+ "count": 308
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -20.747600197792053,
108
+ "min": -50.76240026950836,
109
+ "max": 62.373600363731384,
110
+ "count": 308
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 308
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 308
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.014509687471824387,
126
+ "min": 0.011130414668393011,
127
+ "max": 0.021387927453118512,
128
+ "count": 149
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.014509687471824387,
132
+ "min": 0.011130414668393011,
133
+ "max": 0.021387927453118512,
134
+ "count": 149
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.10417577028274536,
138
+ "min": 0.08628185093402863,
139
+ "max": 0.12103650743762652,
140
+ "count": 149
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.10417577028274536,
144
+ "min": 0.08628185093402863,
145
+ "max": 0.12103650743762652,
146
+ "count": 149
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.10661319221059481,
150
+ "min": 0.08823907102147738,
151
+ "max": 0.12421340743700664,
152
+ "count": 149
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.10661319221059481,
156
+ "min": 0.08823907102147738,
157
+ "max": 0.12421340743700664,
158
+ "count": 149
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 149
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 149
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 149
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 149
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 149
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 149
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1712852912",
200
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos_7 --no-graphics",
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.2.1+cu121",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1712860334"
208
+ },
209
+ "total": 7422.35113601,
210
+ "count": 1,
211
+ "self": 4.956130135000421,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.06972608000000946,
215
+ "count": 1,
216
+ "self": 0.06972608000000946
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 7417.325279795,
220
+ "count": 1,
221
+ "self": 5.4442507271742215,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 29.171038249998958,
225
+ "count": 16,
226
+ "self": 29.171038249998958
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 7382.708459428827,
230
+ "count": 214518,
231
+ "self": 5.693532849913026,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 5708.206104742876,
235
+ "count": 214518,
236
+ "self": 4394.0394083652955,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 1310.9314957215418,
240
+ "count": 214518,
241
+ "self": 35.09114510350105,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 1275.8403506180407,
245
+ "count": 387544,
246
+ "self": 1275.8403506180407
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 3.2352006560385576,
252
+ "count": 214517,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 7401.50360033186,
257
+ "count": 214517,
258
+ "is_parallel": true,
259
+ "self": 3711.771301610851,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.006357496999953582,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.003800963999879059,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0025565330000745234,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0025565330000745234
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.04533018199998651,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0012176590000194665,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0008767979999788622,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0008767979999788622
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.03945899199999303,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.03945899199999303
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.003776732999995147,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0007150210000190782,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.003061711999976069,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.003061711999976069
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 3689.69585746801,
319
+ "count": 214516,
320
+ "is_parallel": true,
321
+ "self": 224.85616908131578,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 154.20964920780523,
325
+ "count": 214516,
326
+ "is_parallel": true,
327
+ "self": 154.20964920780523
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 2578.6190841460702,
331
+ "count": 214516,
332
+ "is_parallel": true,
333
+ "self": 2578.6190841460702
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 732.0109550328189,
337
+ "count": 429032,
338
+ "is_parallel": true,
339
+ "self": 124.626059117973,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 607.3848959148459,
343
+ "count": 1716128,
344
+ "is_parallel": true,
345
+ "self": 607.3848959148459
346
+ }
347
+ }
348
+ }
349
+ }
350
+ },
351
+ "steps_from_proto": {
352
+ "total": 0.03644125299865664,
353
+ "count": 30,
354
+ "is_parallel": true,
355
+ "self": 0.006973879003908223,
356
+ "children": {
357
+ "_process_rank_one_or_two_observation": {
358
+ "total": 0.029467373994748414,
359
+ "count": 120,
360
+ "is_parallel": true,
361
+ "self": 0.029467373994748414
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 1668.8088218360379,
373
+ "count": 214517,
374
+ "self": 40.49114764599585,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 805.2076311340425,
378
+ "count": 214517,
379
+ "self": 803.2075128010435,
380
+ "children": {
381
+ "RLTrainer._checkpoint": {
382
+ "total": 2.000118332998909,
383
+ "count": 6,
384
+ "self": 2.000118332998909
385
+ }
386
+ }
387
+ },
388
+ "_update_policy": {
389
+ "total": 823.1100430559994,
390
+ "count": 149,
391
+ "self": 477.9641945340094,
392
+ "children": {
393
+ "TorchPOCAOptimizer.update": {
394
+ "total": 345.14584852199005,
395
+ "count": 4470,
396
+ "self": 345.14584852199005
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ },
404
+ "trainer_threads": {
405
+ "total": 1.258999873243738e-06,
406
+ "count": 1,
407
+ "self": 1.258999873243738e-06
408
+ },
409
+ "TrainerController._save_models": {
410
+ "total": 0.0015301299999919138,
411
+ "count": 1,
412
+ "self": 4.5572000090032816e-05,
413
+ "children": {
414
+ "RLTrainer._checkpoint": {
415
+ "total": 0.001484557999901881,
416
+ "count": 1,
417
+ "self": 0.001484557999901881
418
+ }
419
+ }
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 999888,
6
+ "file_path": "results/SoccerTwos_7/SoccerTwos/SoccerTwos-999888.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1712855403.826584,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos_7/SoccerTwos/SoccerTwos-999888.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 1499882,
15
+ "file_path": "results/SoccerTwos_7/SoccerTwos/SoccerTwos-1499882.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1712856605.841221,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos_7/SoccerTwos/SoccerTwos-1499882.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1999994,
24
+ "file_path": "results/SoccerTwos_7/SoccerTwos/SoccerTwos-1999994.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1712857801.2329764,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos_7/SoccerTwos/SoccerTwos-1999994.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 2499917,
33
+ "file_path": "results/SoccerTwos_7/SoccerTwos/SoccerTwos-2499917.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1712858957.632531,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos_7/SoccerTwos/SoccerTwos-2499917.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 2999819,
42
+ "file_path": "results/SoccerTwos_7/SoccerTwos/SoccerTwos-2999819.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1712860124.0010712,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos_7/SoccerTwos/SoccerTwos-2999819.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1262.8873542290744
51
+ },
52
+ "metadata": {
53
+ "stats_format_version": "0.3.0",
54
+ "mlagents_version": "1.1.0.dev0",
55
+ "torch_version": "2.2.1+cu121"
56
+ }
57
+ }