OMARS200 commited on
Commit
8595071
1 Parent(s): 7b75faf

First Push

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: OMARS200/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebfa0a9e3b4a8293cd21a6a6a9b30ee7eaa2c4f62f88504469a9827292aad25e
3
+ size 1768746
SoccerTwos/SoccerTwos-14499977.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0922c7cae26cc807e63ffb9b0a05b9209d8f98a15c54ed9a1f8b269a09d22f7d
3
+ size 1768746
SoccerTwos/SoccerTwos-14499977.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6e02e1d350098d4b4ec8e80a8f4d12101a64e0c03bb39e3dda536546877b323
3
+ size 28430025
SoccerTwos/SoccerTwos-14999970.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a5244855c7d202e8bbc34ffa575d1a1abbbce8fb6afdae05080e62ca34de93e
3
+ size 1768746
SoccerTwos/SoccerTwos-14999970.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0991a82242d90ccb12bb1c5910c4b0a058c2bb7dfe653a13508f0681de0571c
3
+ size 28430025
SoccerTwos/SoccerTwos-15499954.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51fc67c236cf56850e0b036141eb874751d202df9d41669c3013f37ad0cdf134
3
+ size 1768746
SoccerTwos/SoccerTwos-15499954.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4747edb30f87468242ecaddb9cf7b1d94a1be7558a3166ad8e21be869915df1d
3
+ size 28430025
SoccerTwos/SoccerTwos-15999968.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61a9e1a7ee33e5210a9e2054b1262fab2434a6e0d62d238c83425e3fa788602a
3
+ size 1768746
SoccerTwos/SoccerTwos-15999968.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e307ac812150adea475256ad42fd3a7ee21aaf937ee65905aa7915543e4c434
3
+ size 28430025
SoccerTwos/SoccerTwos-16499987.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebfa0a9e3b4a8293cd21a6a6a9b30ee7eaa2c4f62f88504469a9827292aad25e
3
+ size 1768746
SoccerTwos/SoccerTwos-16499987.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e01234759713a896e72a2a9566409512216f0f612f9f5d8e06b91c1609c406db
3
+ size 28430025
SoccerTwos/SoccerTwos-16499994.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebfa0a9e3b4a8293cd21a6a6a9b30ee7eaa2c4f62f88504469a9827292aad25e
3
+ size 1768746
SoccerTwos/SoccerTwos-16499994.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8385e013b22637bccdf08b353e9627b864c6f0a9b02d86f31c1ee49012e8f153
3
+ size 28430025
SoccerTwos/SoccerTwos-16520499.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebfa0a9e3b4a8293cd21a6a6a9b30ee7eaa2c4f62f88504469a9827292aad25e
3
+ size 1768746
SoccerTwos/SoccerTwos-16520499.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b732fb69c70bfa86a201473cb5b23a59b87ea09db47515a005ec9a0d1d1627a
3
+ size 28430025
SoccerTwos/SoccerTwos-499076.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e5a8a221748bca8f83ccc296a626ce868d011b21a5d5afd5be5edcacfb7dfbf
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c64f0756956dadaaf9b3f34f539ca3675273559169ac547164cf36e2e572120
3
+ size 28428927
SoccerTwos/events.out.tfevents.1681499803.LAPTOP-9OPA93P2.13364.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:833c7bdc0b1d8c3511e77c1c751736c7023da797858a10ddee0e1d80d7322ba5
3
+ size 321909
SoccerTwos/events.out.tfevents.1681501985.LAPTOP-9OPA93P2.13456.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a81331f36c761b011d4567b8f60e7450c2dcd351517674c16346d1fc8d270c0c
3
+ size 16804816
SoccerTwos/events.out.tfevents.1681577528.LAPTOP-9OPA93P2.20236.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78e5e2a6f46412205d4578e0a64748d4f86b62e9c6308ae83070e8e36ca3506d
3
+ size 22270
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": 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.exe", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": true, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 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.exe
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
76
+ force: false
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/Omars/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/Omars/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/Omars/ml-agents/training-envs-executables/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 0.100 seconds
13
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
14
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 0.598200 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ Setting up 4 worker threads for Enlighten.
42
+ Memory Statistics:
43
+ [ALLOC_TEMP_TLS] TLS Allocator
44
+ StackAllocators :
45
+ [ALLOC_TEMP_MAIN]
46
+ Peak usage frame count: [8.0 KB-16.0 KB]: 399 frames, [2.0 MB-4.0 MB]: 1 frames
47
+ Initial Block Size 4.0 MB
48
+ Current Block Size 4.0 MB
49
+ Peak Allocated Bytes 2.0 MB
50
+ Overflow Count 0
51
+ [ALLOC_TEMP_Loading.AsyncRead]
52
+ Initial Block Size 64.0 KB
53
+ Current Block Size 64.0 KB
54
+ Peak Allocated Bytes 312 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.PreloadManager]
57
+ Initial Block Size 256.0 KB
58
+ Current Block Size 256.0 KB
59
+ Peak Allocated Bytes 67.1 KB
60
+ Overflow Count 4
61
+ [ALLOC_TEMP_Background Job.Worker 8]
62
+ Initial Block Size 32.0 KB
63
+ Current Block Size 32.0 KB
64
+ Peak Allocated Bytes 54 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Job.Worker 6]
67
+ Initial Block Size 256.0 KB
68
+ Current Block Size 256.0 KB
69
+ Peak Allocated Bytes 0 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 0]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Background Job.Worker 10]
77
+ Initial Block Size 32.0 KB
78
+ Current Block Size 32.0 KB
79
+ Peak Allocated Bytes 54 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 9]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 54 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Job.Worker 5]
87
+ Initial Block Size 256.0 KB
88
+ Current Block Size 256.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 14]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 54 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 6]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 54 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Job.Worker 4]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 256.0 KB
104
+ Peak Allocated Bytes 0.8 KB
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 3]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 12]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 54 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_EnlightenWorker] x 4
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 54 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 15]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 54 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 1]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 54 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 2]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 54 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 7]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 54 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 5]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 54 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 13]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 54 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Job.Worker 1]
157
+ Initial Block Size 256.0 KB
158
+ Current Block Size 256.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 2]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 3]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 54 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 11]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 54 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 0]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 54 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 4]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 54 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_BatchDeleteObjects]
187
+ Initial Block Size 64.0 KB
188
+ Current Block Size 64.0 KB
189
+ Peak Allocated Bytes 54 B
190
+ Overflow Count 0
191
+ [ALLOC_DEFAULT] Dual Thread Allocator
192
+ Peak main deferred allocation count 4
193
+ [ALLOC_BUCKET]
194
+ Large Block size 4.0 MB
195
+ Used Block count 1
196
+ Peak Allocated bytes 0.9 MB
197
+ [ALLOC_DEFAULT_MAIN]
198
+ Peak usage frame count: [4.0 MB-8.0 MB]: 400 frames
199
+ Requested Block Size 16.0 MB
200
+ Peak Block count 1
201
+ Peak Allocated memory 5.0 MB
202
+ Peak Large allocation bytes 0 B
203
+ [ALLOC_DEFAULT_THREAD]
204
+ Peak usage frame count: [16.0 MB-32.0 MB]: 400 frames
205
+ Requested Block Size 16.0 MB
206
+ Peak Block count 1
207
+ Peak Allocated memory 17.2 MB
208
+ Peak Large allocation bytes 16.0 MB
209
+ [ALLOC_TEMP_JOB_1_FRAME]
210
+ Initial Block Size 2.0 MB
211
+ Used Block Count 1
212
+ Overflow Count (too large) 0
213
+ Overflow Count (full) 0
214
+ [ALLOC_TEMP_JOB_2_FRAMES]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 1
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 2
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
225
+ Initial Block Size 1.0 MB
226
+ Used Block Count 3
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_GFX] Dual Thread Allocator
230
+ Peak main deferred allocation count 0
231
+ [ALLOC_BUCKET]
232
+ Large Block size 4.0 MB
233
+ Used Block count 1
234
+ Peak Allocated bytes 0.9 MB
235
+ [ALLOC_GFX_MAIN]
236
+ Peak usage frame count: [32.0 KB-64.0 KB]: 399 frames, [64.0 KB-128.0 KB]: 1 frames
237
+ Requested Block Size 16.0 MB
238
+ Peak Block count 1
239
+ Peak Allocated memory 65.6 KB
240
+ Peak Large allocation bytes 0 B
241
+ [ALLOC_GFX_THREAD]
242
+ Peak usage frame count: [128.0 KB-256.0 KB]: 400 frames
243
+ Requested Block Size 16.0 MB
244
+ Peak Block count 1
245
+ Peak Allocated memory 173.6 KB
246
+ Peak Large allocation bytes 0 B
247
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
248
+ Peak main deferred allocation count 2
249
+ [ALLOC_BUCKET]
250
+ Large Block size 4.0 MB
251
+ Used Block count 1
252
+ Peak Allocated bytes 0.9 MB
253
+ [ALLOC_CACHEOBJECTS_MAIN]
254
+ Peak usage frame count: [0.5 MB-1.0 MB]: 400 frames
255
+ Requested Block Size 4.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 0.6 MB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_CACHEOBJECTS_THREAD]
260
+ Peak usage frame count: [0.5 MB-1.0 MB]: 399 frames, [2.0 MB-4.0 MB]: 1 frames
261
+ Requested Block Size 4.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 3.2 MB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_TYPETREE] Dual Thread Allocator
266
+ Peak main deferred allocation count 0
267
+ [ALLOC_BUCKET]
268
+ Large Block size 4.0 MB
269
+ Used Block count 1
270
+ Peak Allocated bytes 0.9 MB
271
+ [ALLOC_TYPETREE_MAIN]
272
+ Peak usage frame count: [0-1.0 KB]: 400 frames
273
+ Requested Block Size 2.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 1.0 KB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_TYPETREE_THREAD]
278
+ Peak usage frame count: [1.0 KB-2.0 KB]: 399 frames, [2.0 KB-4.0 KB]: 1 frames
279
+ Requested Block Size 2.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 2.2 KB
282
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.4263981580734253,
6
+ "min": 1.1614277362823486,
7
+ "max": 1.475717544555664,
8
+ "count": 3
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 27067.33203125,
12
+ "min": 297.32550048828125,
13
+ "max": 32064.390625,
14
+ "count": 3
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 52.73626373626374,
18
+ "min": 6.0,
19
+ "max": 52.73626373626374,
20
+ "count": 3
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19196.0,
24
+ "min": 24.0,
25
+ "max": 20076.0,
26
+ "count": 3
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1194.9309115859849,
30
+ "min": 1194.9309115859849,
31
+ "max": 1202.9071597916536,
32
+ "count": 3
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 217477.42590864922,
36
+ "min": 2400.361516626417,
37
+ "max": 230958.1746799975,
38
+ "count": 3
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 16519973.0,
42
+ "min": 16499994.0,
43
+ "max": 16519973.0,
44
+ "count": 3
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 16519973.0,
48
+ "min": 16499994.0,
49
+ "max": 16519973.0,
50
+ "count": 3
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.035763125866651535,
54
+ "min": -0.035763125866651535,
55
+ "max": 0.047167740762233734,
56
+ "count": 3
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -6.544651985168457,
60
+ "min": -6.544651985168457,
61
+ "max": 0.047167740762233734,
62
+ "count": 3
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.03540819138288498,
66
+ "min": -0.03540819138288498,
67
+ "max": 0.047413524240255356,
68
+ "count": 3
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -6.47969913482666,
72
+ "min": -6.47969913482666,
73
+ "max": 0.047413524240255356,
74
+ "count": 3
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 3
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 3
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.21138579141898234,
90
+ "min": -0.21138579141898234,
91
+ "max": 0.9922000169754028,
92
+ "count": 3
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -38.68359982967377,
96
+ "min": -38.68359982967377,
97
+ "max": 0.9922000169754028,
98
+ "count": 3
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.21138579141898234,
102
+ "min": -0.21138579141898234,
103
+ "max": 0.9922000169754028,
104
+ "count": 3
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -38.68359982967377,
108
+ "min": -38.68359982967377,
109
+ "max": 0.9922000169754028,
110
+ "count": 3
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 3
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 3
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1681577525",
128
+ "python_version": "3.9.16 | packaged by conda-forge | (main, Feb 1 2023, 21:28:38) [MSC v.1929 64 bit (AMD64)]",
129
+ "command_line_arguments": "C:\\Users\\Omars\\miniconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.0.0+cpu",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1681577665"
136
+ },
137
+ "total": 140.14690910000002,
138
+ "count": 1,
139
+ "self": 0.009547299999979941,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.09421129999999955,
143
+ "count": 1,
144
+ "self": 0.09421129999999955
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 140.04315050000002,
148
+ "count": 1,
149
+ "self": 0.04101269999975443,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 3.2773194000000005,
153
+ "count": 2,
154
+ "self": 3.2773194000000005
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 136.59137120000025,
158
+ "count": 1486,
159
+ "self": 0.04112180000035437,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 25.717278399999906,
163
+ "count": 1486,
164
+ "self": 20.513471000000187,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 5.18007259999985,
168
+ "count": 1486,
169
+ "self": 0.1786386999999312,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 5.001433899999919,
173
+ "count": 2664,
174
+ "self": 5.001433899999919
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.023734799999866496,
180
+ "count": 1486,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 134.67871639999998,
185
+ "count": 1486,
186
+ "is_parallel": true,
187
+ "self": 118.24266150000007,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.005688200000000254,
191
+ "count": 4,
192
+ "is_parallel": true,
193
+ "self": 0.0011276999999996207,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.0045605000000006335,
197
+ "count": 16,
198
+ "is_parallel": true,
199
+ "self": 0.0045605000000006335
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 16.430366699999915,
205
+ "count": 1486,
206
+ "is_parallel": true,
207
+ "self": 0.797231399999971,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 0.683942099999987,
211
+ "count": 1486,
212
+ "is_parallel": true,
213
+ "self": 0.683942099999987
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 12.451345200000185,
217
+ "count": 1486,
218
+ "is_parallel": true,
219
+ "self": 12.451345200000185
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 2.4978479999997725,
223
+ "count": 2972,
224
+ "is_parallel": true,
225
+ "self": 0.5280792999997752,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 1.9697686999999973,
229
+ "count": 11888,
230
+ "is_parallel": true,
231
+ "self": 1.9697686999999973
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 110.83297099999999,
245
+ "count": 1486,
246
+ "self": 0.24486360000000218,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 108.52994779999997,
250
+ "count": 1486,
251
+ "self": 108.25905219999997,
252
+ "children": {
253
+ "RLTrainer._checkpoint": {
254
+ "total": 0.27089559999999935,
255
+ "count": 1,
256
+ "self": 0.27089559999999935
257
+ }
258
+ }
259
+ },
260
+ "_update_policy": {
261
+ "total": 2.0581596000000104,
262
+ "count": 1,
263
+ "self": 1.0602689000000112,
264
+ "children": {
265
+ "TorchPOCAOptimizer.update": {
266
+ "total": 0.9978906999999992,
267
+ "count": 1,
268
+ "self": 0.9978906999999992
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "trainer_threads": {
277
+ "total": 1.3000000080864993e-06,
278
+ "count": 1,
279
+ "self": 1.3000000080864993e-06
280
+ },
281
+ "TrainerController._save_models": {
282
+ "total": 0.13344589999999812,
283
+ "count": 1,
284
+ "self": 0.0029365999999981796,
285
+ "children": {
286
+ "RLTrainer._checkpoint": {
287
+ "total": 0.13050929999999994,
288
+ "count": 1,
289
+ "self": 0.13050929999999994
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1188.3554728545594,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 16499994,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-16499994.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1681577529.2197032,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-16499994.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 16520499,
16
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-16520499.onnx",
17
+ "reward": null,
18
+ "creation_time": 1681577665.4165072,
19
+ "auxillary_file_paths": [
20
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-16520499.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 16520499,
26
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
27
+ "reward": null,
28
+ "creation_time": 1681577665.4165072,
29
+ "auxillary_file_paths": [
30
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-16520499.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "2.0.0+cpu"
38
+ }
39
+ }