yumingyi commited on
Commit
412a7af
1 Parent(s): 5347246

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: yumingyi/poca-SoccerTwos-completed
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:91e82b3d67979cade64bc1140d140595082bd29ff3554ad8b7d43466d864b9e8
3
+ size 1773174
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4490905a052182e4dfe5a907137049fcd1654106c435edd2ca66aee0540d07f7
3
+ size 9490063
SoccerTwos/SoccerTwos-48499942.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a4df1ff03ea40ffe4a5369ab195a835c3c4e75376ee83c2ce89b66701345a5
3
+ size 1773174
SoccerTwos/SoccerTwos-48499942.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:587ebdab5478a552118e5f142a412f163ecf4fc2bff0f80cab2b6fbc41f73f5c
3
+ size 28441601
SoccerTwos/SoccerTwos-48999991.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17f7147112d63b3a71fbabfe67b5d5519860cc471de500a2fffd76c20e16c9fa
3
+ size 1773174
SoccerTwos/SoccerTwos-48999991.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8884f07b7f8c7961d8783748b60d3426d5c9a01aef3d8f73fbdeba8f5f2cafa7
3
+ size 28441601
SoccerTwos/SoccerTwos-49499760.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c6d50aebabfddf01027fe2a9d694ad6685da89c0d8c562a4e68ee0c6b384a93
3
+ size 1773174
SoccerTwos/SoccerTwos-49499760.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99657bffb24a01fc70e23f456cd09f22ccffd6512d6125e4f06c519d06b72d08
3
+ size 28441601
SoccerTwos/SoccerTwos-49999974.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d50c5f3b13fb6c74c1b0682cdd58aa08181ce8c5159134364cabe451b4829e0f
3
+ size 1773174
SoccerTwos/SoccerTwos-49999974.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e52e0fc9d4dc59a67eada58793c05e3e4705f0eba49778c2d68b6015451c64d1
3
+ size 28441601
SoccerTwos/SoccerTwos-50000042.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91e82b3d67979cade64bc1140d140595082bd29ff3554ad8b7d43466d864b9e8
3
+ size 1773174
SoccerTwos/SoccerTwos-50000042.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d5c75d5607dc2020f4f52d46863ba4f9b616c46bf4c032841c244e9eec241ae
3
+ size 28441601
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f152a6b2f6c2f3291daaf183b30d219bd859226ab9c416496481bb344f0e5f9c
3
+ size 28440395
SoccerTwos/events.out.tfevents.1680193582.DESKTOP-MLL8BMR.8992.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a979aa422fd8a0cc73ad9e9ef4185fed0bdab97e2f20b5da0d176158882464da
3
+ size 1235
SoccerTwos/events.out.tfevents.1680193674.DESKTOP-MLL8BMR.27764.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41ee78a0b767790206297b4cf9b5f75db393100850af8f6e1e877d633f1156f8
3
+ size 9914443
SoccerTwos/events.out.tfevents.1680228951.DESKTOP-MLL8BMR.21120.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ddd5a8312345adf8c02ec6991f50a90953f279997cd79f65e925633ad58efe8
3
+ size 5139967
SoccerTwos/events.out.tfevents.1680540253.DESKTOP-MLL8BMR.32928.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a05885155b6095af0818ba29d1e0a734e654b32721c13800b18256c3b28bde88
3
+ size 15417777
SoccerTwos/events.out.tfevents.1680621162.DESKTOP-MLL8BMR.38424.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d090983c48292c4b5fd06f6e997160b8ea44d292855c68abcb69a7557772244c
3
+ size 20546399
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": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": true, "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": 20000, "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: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: true
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: 20000
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/zhino/Documents/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/zhino/Documents/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/zhino/Documents/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 3.063 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.763300 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]: 376680 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 342 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 68.0 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.8 KB
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 0]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Background Job.Worker 10]
77
+ Initial Block Size 32.0 KB
78
+ Current Block Size 32.0 KB
79
+ Peak Allocated Bytes 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 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 3]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 12]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 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]: 376681 frames
199
+ Requested Block Size 16.0 MB
200
+ Peak Block count 1
201
+ Peak Allocated memory 4.9 MB
202
+ Peak Large allocation bytes 0 B
203
+ [ALLOC_DEFAULT_THREAD]
204
+ Peak usage frame count: [16.0 MB-32.0 MB]: 376681 frames
205
+ Requested Block Size 16.0 MB
206
+ Peak Block count 1
207
+ Peak Allocated memory 17.4 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]: 376680 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]: 376681 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]: 376681 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]: 376680 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]: 376681 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]: 376680 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,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 0.7768686413764954,
6
+ "min": 0.745985746383667,
7
+ "max": 1.0701088905334473,
8
+ "count": 1999
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 16382.60546875,
12
+ "min": 12684.986328125,
13
+ "max": 25907.607421875,
14
+ "count": 1999
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 84.76785714285714,
18
+ "min": 50.1958762886598,
19
+ "max": 112.52272727272727,
20
+ "count": 1999
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 18988.0,
24
+ "min": 17220.0,
25
+ "max": 21732.0,
26
+ "count": 1999
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1987.9346337444374,
30
+ "min": 1869.5285037041028,
31
+ "max": 2013.078903609272,
32
+ "count": 1999
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 222648.678979377,
36
+ "min": 168311.66783287117,
37
+ "max": 374389.4863463022,
38
+ "count": 1999
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 49999974.0,
42
+ "min": 30019888.0,
43
+ "max": 49999974.0,
44
+ "count": 1999
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 49999974.0,
48
+ "min": 30019888.0,
49
+ "max": 49999974.0,
50
+ "count": 1999
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.04996594786643982,
54
+ "min": -0.11881507933139801,
55
+ "max": 0.06556014716625214,
56
+ "count": 1999
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -5.59618616104126,
60
+ "min": -19.30434799194336,
61
+ "max": 10.610092163085938,
62
+ "count": 1999
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.04964723438024521,
66
+ "min": -0.12096822261810303,
67
+ "max": 0.06593786925077438,
68
+ "count": 1999
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -5.560490131378174,
72
+ "min": -19.694625854492188,
73
+ "max": 10.696793556213379,
74
+ "count": 1999
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1999
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1999
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.04753571642296655,
90
+ "min": -0.4648256424145821,
91
+ "max": 0.36228292647416027,
92
+ "count": 1999
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 5.324000239372253,
96
+ "min": -54.3846001625061,
97
+ "max": 54.51580035686493,
98
+ "count": 1999
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.04753571642296655,
102
+ "min": -0.4648256424145821,
103
+ "max": 0.36228292647416027,
104
+ "count": 1999
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 5.324000239372253,
108
+ "min": -54.3846001625061,
109
+ "max": 54.51580035686493,
110
+ "count": 1999
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1999
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1999
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015121188938307266,
126
+ "min": 0.009935286655915358,
127
+ "max": 0.02496404043243577,
128
+ "count": 969
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015121188938307266,
132
+ "min": 0.009935286655915358,
133
+ "max": 0.02496404043243577,
134
+ "count": 969
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.08810667023062706,
138
+ "min": 0.07008897066116333,
139
+ "max": 0.10451272428035736,
140
+ "count": 969
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.08810667023062706,
144
+ "min": 0.07008897066116333,
145
+ "max": 0.10451272428035736,
146
+ "count": 969
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.08825410753488541,
150
+ "min": 0.0703228938082854,
151
+ "max": 0.10482276603579521,
152
+ "count": 969
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.08825410753488541,
156
+ "min": 0.0703228938082854,
157
+ "max": 0.10482276603579521,
158
+ "count": 969
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 5.401598202799828e-08,
162
+ "min": 5.401598202799828e-08,
163
+ "max": 0.00011981460006181996,
164
+ "count": 969
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 5.401598202799828e-08,
168
+ "min": 5.401598202799828e-08,
169
+ "max": 0.00011981460006181996,
170
+ "count": 969
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.10001797199999998,
174
+ "min": 0.10001797199999998,
175
+ "max": 0.13993818000000002,
176
+ "count": 969
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.10001797199999998,
180
+ "min": 0.10001797199999998,
181
+ "max": 0.13993818000000002,
182
+ "count": 969
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 1.0896802799999972e-05,
186
+ "min": 1.0896802799999972e-05,
187
+ "max": 0.0020029151820000002,
188
+ "count": 969
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 1.0896802799999972e-05,
192
+ "min": 1.0896802799999972e-05,
193
+ "max": 0.0020029151820000002,
194
+ "count": 969
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1680621154",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\zhino\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.0.0+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1680712580"
208
+ },
209
+ "total": 91427.48632170001,
210
+ "count": 1,
211
+ "self": 4.357296700021834,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.18372730000000015,
215
+ "count": 1,
216
+ "self": 0.18372730000000015
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 91422.94529769999,
220
+ "count": 1,
221
+ "self": 44.078786097306875,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 10.51785440005939,
225
+ "count": 101,
226
+ "self": 10.51785440005939
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 91367.79830890262,
230
+ "count": 1362511,
231
+ "self": 50.125283698624116,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 30388.00301979803,
235
+ "count": 1362511,
236
+ "self": 23699.272120016056,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 6660.205735787125,
240
+ "count": 1362511,
241
+ "self": 250.8423825823984,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 6409.363353204727,
245
+ "count": 2511242,
246
+ "self": 6409.363353204727
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 28.525163994850033,
252
+ "count": 1362511,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 91349.51480090125,
257
+ "count": 1362511,
258
+ "is_parallel": true,
259
+ "self": 72436.09262670328,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.2323070000265819,
263
+ "count": 202,
264
+ "is_parallel": true,
265
+ "self": 0.04589619987165072,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.18641080015493117,
269
+ "count": 808,
270
+ "is_parallel": true,
271
+ "self": 0.18641080015493117
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 18913.189867197947,
277
+ "count": 1362511,
278
+ "is_parallel": true,
279
+ "self": 981.7251171045536,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 771.4416957955397,
283
+ "count": 1362511,
284
+ "is_parallel": true,
285
+ "self": 771.4416957955397
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 14214.444269298623,
289
+ "count": 1362511,
290
+ "is_parallel": true,
291
+ "self": 14214.444269298623
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 2945.5787849992284,
295
+ "count": 2725022,
296
+ "is_parallel": true,
297
+ "self": 608.6948972046598,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 2336.8838877945686,
301
+ "count": 10900088,
302
+ "is_parallel": true,
303
+ "self": 2336.8838877945686
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 60929.67000540597,
317
+ "count": 1362511,
318
+ "self": 329.38653910589346,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 7150.239786500018,
322
+ "count": 1362511,
323
+ "self": 7138.944608799997,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 11.295177700022123,
327
+ "count": 40,
328
+ "self": 11.295177700022123
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 53450.04367980006,
334
+ "count": 969,
335
+ "self": 3713.3678997005845,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 49736.675780099475,
339
+ "count": 29070,
340
+ "self": 49736.675780099475
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 4.4000043999403715e-06,
350
+ "count": 1,
351
+ "self": 4.4000043999403715e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.550343899987638,
355
+ "count": 1,
356
+ "self": 0.0716307999973651,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.4787130999902729,
360
+ "count": 1,
361
+ "self": 0.4787130999902729
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.31.0.dev0",
5
+ "torch_version": "2.0.0+cpu"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1987.9346337444379,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 48499942,
12
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-48499942.onnx",
13
+ "reward": 0.0,
14
+ "creation_time": 1680704285.6743095,
15
+ "auxillary_file_paths": [
16
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-48499942.pt"
17
+ ]
18
+ },
19
+ {
20
+ "steps": 48999991,
21
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-48999991.onnx",
22
+ "reward": 0.0,
23
+ "creation_time": 1680707024.7967222,
24
+ "auxillary_file_paths": [
25
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-48999991.pt"
26
+ ]
27
+ },
28
+ {
29
+ "steps": 49499760,
30
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-49499760.onnx",
31
+ "reward": 0.0,
32
+ "creation_time": 1680709856.7630062,
33
+ "auxillary_file_paths": [
34
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-49499760.pt"
35
+ ]
36
+ },
37
+ {
38
+ "steps": 49999974,
39
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-49999974.onnx",
40
+ "reward": 0.0,
41
+ "creation_time": 1680712575.3152504,
42
+ "auxillary_file_paths": [
43
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-49999974.pt"
44
+ ]
45
+ },
46
+ {
47
+ "steps": 50000042,
48
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-50000042.onnx",
49
+ "reward": 0.0,
50
+ "creation_time": 1680712576.011023,
51
+ "auxillary_file_paths": [
52
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-50000042.pt"
53
+ ]
54
+ }
55
+ ],
56
+ "final_checkpoint": {
57
+ "steps": 50000042,
58
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
59
+ "reward": 0.0,
60
+ "creation_time": 1680712576.011023,
61
+ "auxillary_file_paths": [
62
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-50000042.pt"
63
+ ]
64
+ }
65
+ }
66
+ }