alexdavey commited on
Commit
37ffa3a
1 Parent(s): e8f3b66

First Push

Browse files
.DS_Store ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f80f4877182969a6e8b765360426f6765132f576c6ec857444c979e4749c21a
3
+ size 10244
.gitattributes CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ .DS_Store filter=lfs diff=lfs merge=lfs -text
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: alexdavey/Pocca
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:2d4a9963b708711b8d0f37052735023837f265e2bf871eb4232b39373434fa72
3
+ size 1764633
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20a6dba16c072db883eae6d2d20232bf66645a4ada549861395552e1049e85fa
3
+ size 1764633
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2243c626949fcc13292f9f62835d7e175fb60352e3ae9759012988dfcbfd187a
3
+ size 9478265
SoccerTwos/SoccerTwos-1499957.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17849b03ce92d7f808ab07541dcc22f9ab9d54057b98c612760d74d629ac0526
3
+ size 1764633
SoccerTwos/SoccerTwos-1499957.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e0a0277b9585311022860bab13799c67751d94f73417d8a155f024f68408ef2
3
+ size 28421201
SoccerTwos/SoccerTwos-1999940.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76195e8ecab17b427d7ad7d0198b9d486e294ad8bcf0965785daaf0a7921beff
3
+ size 1764633
SoccerTwos/SoccerTwos-1999940.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85d54743662785f6d785c86d443c5514dcecc742a9c0ceb5618b914c16a436e3
3
+ size 28421201
SoccerTwos/SoccerTwos-2499998.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5dbd0a8fcac33356903e66186153832a53a69b5c897223288d6442feae5e2c9
3
+ size 1764633
SoccerTwos/SoccerTwos-2499998.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4e46423801fbc8a107aaeed651a052cbbcc5e8817e90921f2e7cede75780d13
3
+ size 28421201
SoccerTwos/SoccerTwos-2511370.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5dbd0a8fcac33356903e66186153832a53a69b5c897223288d6442feae5e2c9
3
+ size 1764633
SoccerTwos/SoccerTwos-2511370.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7de37f76bf5b58fde322b34cac14392d9b060f77049e8547cf74f84bed339674
3
+ size 28421201
SoccerTwos/SoccerTwos-2644140.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d4a9963b708711b8d0f37052735023837f265e2bf871eb4232b39373434fa72
3
+ size 1764633
SoccerTwos/SoccerTwos-2644140.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b860b3e78cbb02b69ee5d0844c690eecc9165e058d997731aa87f70d196805d8
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b860b3e78cbb02b69ee5d0844c690eecc9165e058d997731aa87f70d196805d8
3
+ size 28421201
SoccerTwos/events.out.tfevents.1680901997.Alexs-MacBook-Pro.local.43221.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1275edfd8e3dedcc97a3616dc58ab6d558115968b00bda6743aea7cb9a5bb93a
3
+ size 987201
SoccerTwos/events.out.tfevents.1680906043.Alexs-MacBook-Pro.local.47403.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b716ca3266e121fc88d76adc24199551de6883e95926a95d6c724e85f1b08ad
3
+ size 1438561
SoccerTwos/events.out.tfevents.1680911679.Alexs-MacBook-Pro-M2.local.1769.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56d6eb9e637f92b5f4e38b311c832fb54eaf8af6322cf96c2309a519feb1abf1
3
+ size 134747
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/SoccerTwos.app", "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/SoccerTwos.app
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,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/alexdavey/Documents/deep-rl-class/unit_7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/alexdavey/Documents/deep-rl-class/unit_7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/MonoBleedingEdge/etc'
3
+ New input system (experimental) initialized
4
+ Initialize engine version: 2021.3.17f1 (3e8111cac19d)
5
+ [Subsystems] Discovering subsystems at path /Users/alexdavey/Documents/deep-rl-class/unit_7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.062 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 0.341458 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ Thread 0x170b77000 may have been prematurely finalized
42
+ Setting up 5 worker threads for Enlighten.
43
+ Memory Statistics:
44
+ [ALLOC_TEMP_TLS] TLS Allocator
45
+ StackAllocators :
46
+ [ALLOC_TEMP_MAIN]
47
+ Peak usage frame count: [8.0 KB-16.0 KB]: 2498 frames, [2.0 MB-4.0 MB]: 1 frames
48
+ Initial Block Size 4.0 MB
49
+ Current Block Size 4.0 MB
50
+ Peak Allocated Bytes 2.1 MB
51
+ Overflow Count 0
52
+ [ALLOC_TEMP_Loading.AsyncRead]
53
+ Initial Block Size 64.0 KB
54
+ Current Block Size 64.0 KB
55
+ Peak Allocated Bytes 160 B
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Loading.PreloadManager]
58
+ Initial Block Size 256.0 KB
59
+ Current Block Size 256.0 KB
60
+ Peak Allocated Bytes 78.8 KB
61
+ Overflow Count 4
62
+ [ALLOC_TEMP_Background Job.Worker 8]
63
+ Initial Block Size 32.0 KB
64
+ Current Block Size 32.0 KB
65
+ Peak Allocated Bytes 0 B
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Job.Worker 6]
68
+ Initial Block Size 256.0 KB
69
+ Current Block Size 256.0 KB
70
+ Peak Allocated Bytes 0 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Job.Worker 0]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 256.0 KB
75
+ Peak Allocated Bytes 0.7 KB
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Background Job.Worker 10]
78
+ Initial Block Size 32.0 KB
79
+ Current Block Size 32.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 9]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 5]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 14]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 6]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Job.Worker 4]
103
+ Initial Block Size 256.0 KB
104
+ Current Block Size 256.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 3]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 12]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_EnlightenWorker] x 5
118
+ Initial Block Size 64.0 KB
119
+ Current Block Size 64.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 15]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 1]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 2]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 7]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 9
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 13]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Job.Worker 8]
158
+ Initial Block Size 256.0 KB
159
+ Current Block Size 256.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_OSX HID Input]
163
+ Initial Block Size 64.0 KB
164
+ Current Block Size 64.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 7]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 1]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 2]
178
+ Initial Block Size 256.0 KB
179
+ Current Block Size 256.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Background Job.Worker 3]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 11]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 0]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Background Job.Worker 4]
198
+ Initial Block Size 32.0 KB
199
+ Current Block Size 32.0 KB
200
+ Peak Allocated Bytes 0 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_BatchDeleteObjects]
203
+ Initial Block Size 64.0 KB
204
+ Current Block Size 64.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_DEFAULT] Dual Thread Allocator
208
+ Peak main deferred allocation count 3
209
+ [ALLOC_BUCKET]
210
+ Large Block size 4.0 MB
211
+ Used Block count 1
212
+ Peak Allocated bytes 1.0 MB
213
+ [ALLOC_DEFAULT_MAIN]
214
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2499 frames
215
+ Requested Block Size 16.0 MB
216
+ Peak Block count 1
217
+ Peak Allocated memory 4.9 MB
218
+ Peak Large allocation bytes 0 B
219
+ [ALLOC_DEFAULT_THREAD]
220
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2499 frames
221
+ Requested Block Size 16.0 MB
222
+ Peak Block count 1
223
+ Peak Allocated memory 17.4 MB
224
+ Peak Large allocation bytes 16.0 MB
225
+ [ALLOC_TEMP_JOB_1_FRAME]
226
+ Initial Block Size 2.0 MB
227
+ Used Block Count 1
228
+ Overflow Count (too large) 0
229
+ Overflow Count (full) 0
230
+ [ALLOC_TEMP_JOB_2_FRAMES]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 1
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 2
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
241
+ Initial Block Size 1.0 MB
242
+ Used Block Count 3
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_GFX] Dual Thread Allocator
246
+ Peak main deferred allocation count 0
247
+ [ALLOC_BUCKET]
248
+ Large Block size 4.0 MB
249
+ Used Block count 1
250
+ Peak Allocated bytes 1.0 MB
251
+ [ALLOC_GFX_MAIN]
252
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2498 frames, [64.0 KB-128.0 KB]: 1 frames
253
+ Requested Block Size 16.0 MB
254
+ Peak Block count 1
255
+ Peak Allocated memory 65.6 KB
256
+ Peak Large allocation bytes 0 B
257
+ [ALLOC_GFX_THREAD]
258
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2499 frames
259
+ Requested Block Size 16.0 MB
260
+ Peak Block count 1
261
+ Peak Allocated memory 173.5 KB
262
+ Peak Large allocation bytes 0 B
263
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
264
+ Peak main deferred allocation count 0
265
+ [ALLOC_BUCKET]
266
+ Large Block size 4.0 MB
267
+ Used Block count 1
268
+ Peak Allocated bytes 1.0 MB
269
+ [ALLOC_CACHEOBJECTS_MAIN]
270
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2499 frames
271
+ Requested Block Size 4.0 MB
272
+ Peak Block count 1
273
+ Peak Allocated memory 0.6 MB
274
+ Peak Large allocation bytes 0 B
275
+ [ALLOC_CACHEOBJECTS_THREAD]
276
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2498 frames, [2.0 MB-4.0 MB]: 1 frames
277
+ Requested Block Size 4.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 3.4 MB
280
+ Peak Large allocation bytes 0 B
281
+ [ALLOC_TYPETREE] Dual Thread Allocator
282
+ Peak main deferred allocation count 0
283
+ [ALLOC_BUCKET]
284
+ Large Block size 4.0 MB
285
+ Used Block count 1
286
+ Peak Allocated bytes 1.0 MB
287
+ [ALLOC_TYPETREE_MAIN]
288
+ Peak usage frame count: [0-1.0 KB]: 2499 frames
289
+ Requested Block Size 2.0 MB
290
+ Peak Block count 1
291
+ Peak Allocated memory 1.0 KB
292
+ Peak Large allocation bytes 0 B
293
+ [ALLOC_TYPETREE_THREAD]
294
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2498 frames, [2.0 KB-4.0 KB]: 1 frames
295
+ Requested Block Size 2.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 2.2 KB
298
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 2.2829747200012207,
6
+ "min": 2.2494966983795166,
7
+ "max": 2.297738790512085,
8
+ "count": 13
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 45367.2734375,
12
+ "min": 42737.79296875,
13
+ "max": 47082.828125,
14
+ "count": 13
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 56.18181818181818,
18
+ "min": 48.87,
19
+ "max": 64.94666666666667,
20
+ "count": 13
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19776.0,
24
+ "min": 17412.0,
25
+ "max": 20064.0,
26
+ "count": 13
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1410.9445802488876,
30
+ "min": 1395.780553139902,
31
+ "max": 1412.1593855697279,
32
+ "count": 13
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 248326.24612380422,
36
+ "min": 205213.6227782548,
37
+ "max": 281546.1329652176,
38
+ "count": 13
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 2639936.0,
42
+ "min": 2519904.0,
43
+ "max": 2639936.0,
44
+ "count": 13
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 2639936.0,
48
+ "min": 2519904.0,
49
+ "max": 2639936.0,
50
+ "count": 13
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.06163661554455757,
54
+ "min": -0.07923465222120285,
55
+ "max": -0.009704259224236012,
56
+ "count": 13
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -10.786407470703125,
60
+ "min": -14.10390853881836,
61
+ "max": -1.9505560398101807,
62
+ "count": 13
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.06483850628137589,
66
+ "min": -0.08182556927204132,
67
+ "max": -0.01359673123806715,
68
+ "count": 13
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -11.346738815307617,
72
+ "min": -14.012410163879395,
73
+ "max": -2.732943058013916,
74
+ "count": 13
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 13
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 13
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.004626287051609584,
90
+ "min": -0.3000333309173584,
91
+ "max": 0.05962978842410636,
92
+ "count": 13
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -0.8096002340316772,
96
+ "min": -43.20479965209961,
97
+ "max": 11.438199996948242,
98
+ "count": 13
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.004626287051609584,
102
+ "min": -0.3000333309173584,
103
+ "max": 0.05962978842410636,
104
+ "count": 13
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -0.8096002340316772,
108
+ "min": -43.20479965209961,
109
+ "max": 11.438199996948242,
110
+ "count": 13
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 13
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 13
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.013498812660327531,
126
+ "min": 0.013476709986571222,
127
+ "max": 0.020637649172567763,
128
+ "count": 6
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.013498812660327531,
132
+ "min": 0.013476709986571222,
133
+ "max": 0.020637649172567763,
134
+ "count": 6
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.09673845395445824,
138
+ "min": 0.09279797971248627,
139
+ "max": 0.10791213264067968,
140
+ "count": 6
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.09673845395445824,
144
+ "min": 0.09279797971248627,
145
+ "max": 0.10791213264067968,
146
+ "count": 6
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.09819150865077972,
150
+ "min": 0.09445200115442276,
151
+ "max": 0.10951845124363899,
152
+ "count": 6
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.09819150865077972,
156
+ "min": 0.09445200115442276,
157
+ "max": 0.10951845124363899,
158
+ "count": 6
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 6
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 6
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 6
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 6
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 6
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 6
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1680911678",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 04:29:24) \n[Clang 14.0.6 ]",
201
+ "command_line_arguments": "/opt/homebrew/Caskroom/miniconda/base/envs/deep-rl-class/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --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": "1.11.0",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1680912104"
208
+ },
209
+ "total": 426.626813167,
210
+ "count": 1,
211
+ "self": 0.07740695900002947,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.025569500000000023,
215
+ "count": 1,
216
+ "self": 0.025569500000000023
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 426.523836708,
220
+ "count": 1,
221
+ "self": 0.09378716900090467,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.3233759999999997,
225
+ "count": 2,
226
+ "self": 1.3233759999999997
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 425.00220607999904,
230
+ "count": 9232,
231
+ "self": 0.07757942499415549,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 336.9465781640031,
235
+ "count": 9232,
236
+ "self": 323.98379543200366,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 12.904846605999973,
240
+ "count": 9232,
241
+ "self": 0.3862697700014124,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 12.51857683599856,
245
+ "count": 16654,
246
+ "self": 12.51857683599856
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.05793612599943909,
252
+ "count": 9231,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 425.0197629289996,
257
+ "count": 9231,
258
+ "is_parallel": true,
259
+ "self": 113.68635206200298,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0028477499999997047,
263
+ "count": 4,
264
+ "is_parallel": true,
265
+ "self": 0.00037816600000017964,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.002469583999999525,
269
+ "count": 16,
270
+ "is_parallel": true,
271
+ "self": 0.002469583999999525
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 311.33056311699664,
277
+ "count": 9231,
278
+ "is_parallel": true,
279
+ "self": 0.8630629969991901,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 5.481860843001171,
283
+ "count": 9231,
284
+ "is_parallel": true,
285
+ "self": 5.481860843001171
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 293.425782295001,
289
+ "count": 9231,
290
+ "is_parallel": true,
291
+ "self": 293.425782295001
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 11.559856981995265,
295
+ "count": 18462,
296
+ "is_parallel": true,
297
+ "self": 1.2888407609985109,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 10.271016220996755,
301
+ "count": 73848,
302
+ "is_parallel": true,
303
+ "self": 10.271016220996755
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 87.97804849100183,
317
+ "count": 9231,
318
+ "self": 0.7175479140037737,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 25.909726616998064,
322
+ "count": 9231,
323
+ "self": 25.909726616998064
324
+ },
325
+ "_update_policy": {
326
+ "total": 61.35077396,
327
+ "count": 6,
328
+ "self": 7.930714580999755,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 53.42005937900024,
332
+ "count": 180,
333
+ "self": 53.42005937900024
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 4.1700002384459367e-07,
343
+ "count": 1,
344
+ "self": 4.1700002384459367e-07
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.10446704200001022,
348
+ "count": 1,
349
+ "self": 0.0008785420000094746,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.10358850000000075,
353
+ "count": 1,
354
+ "self": 0.10358850000000075
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 1499957,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-1499957.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1680907382.099221,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-1499957.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 1999940,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-1999940.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1680909181.6373088,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-1999940.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 2499998,
24
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-2499998.onnx",
25
+ "reward": null,
26
+ "creation_time": 1680911028.430613,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2499998.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 2511370,
33
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-2511370.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1680911062.556363,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2511370.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 2644140,
42
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-2644140.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1680912104.708426,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2644140.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1421.0773299193036,
51
+ "final_checkpoint": {
52
+ "steps": 2644140,
53
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1680912104.708426,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2644140.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.31.0.dev0",
64
+ "torch_version": "1.11.0"
65
+ }
66
+ }