RYOBEAR commited on
Commit
527f49f
1 Parent(s): 9a661cc

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: RYOBEAR/poca-SoccerTwos-v1
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:abb3858ea4bed48526fbc7ff0444c60c04ee030bc6e2046012ccac9f82103d2b
3
+ size 1764633
SoccerTwos/SoccerTwos-32999884.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a26ce1b9ec56bb57845e471b53f37007f6a0d76481ba8181e8cb7ab3cf633d08
3
+ size 1764633
SoccerTwos/SoccerTwos-32999884.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b1d5400235fd08468818b688c655a689764a53ee5c70cd261b529e3ea4137d4
3
+ size 28421201
SoccerTwos/SoccerTwos-33499832.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25e4b44616e837ff1539d7dfdb1b8a00b03d9a28db9e9cabce834c16d7de0a26
3
+ size 1764633
SoccerTwos/SoccerTwos-33499832.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f04ce4923228aeb49d7cd2e86067f301baa561dab664a198e930258eb33eef7
3
+ size 28421201
SoccerTwos/SoccerTwos-33999946.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37250575767aefe7428fb07784d7b28ca8cf39e4f327a6758a6417619ace45c4
3
+ size 1764633
SoccerTwos/SoccerTwos-33999946.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18e9b4bcc96acaa559f353148e90b1159551c501c0cae1efa51d4cead83c4058
3
+ size 28421201
SoccerTwos/SoccerTwos-34499970.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a1cdff88c7a20ae9516f38b0da62f9477f0d355026aad896d64ef849214a52d
3
+ size 1764633
SoccerTwos/SoccerTwos-34499970.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae17552b79258750f2c4171f31e3580b4293187c3d24f7316bb525e2a3c37f53
3
+ size 28421201
SoccerTwos/SoccerTwos-34999892.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39c01c8dbc6ec3e2127ec94c70454cbd52ac5fa8d1c0b4f5fca614a9ff085b12
3
+ size 1764633
SoccerTwos/SoccerTwos-34999892.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0833559f2fdd766fc94e311cb8eacf4546352ae82463b58979fa885af0c1ca3
3
+ size 28421201
SoccerTwos/SoccerTwos-34999994.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39c01c8dbc6ec3e2127ec94c70454cbd52ac5fa8d1c0b4f5fca614a9ff085b12
3
+ size 1764633
SoccerTwos/SoccerTwos-34999994.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60c866243bff018386ba1a7ca02b6d11a0341c32ed2f4079fb6ae5d37014b66a
3
+ size 28421201
SoccerTwos/SoccerTwos-35017060.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39c01c8dbc6ec3e2127ec94c70454cbd52ac5fa8d1c0b4f5fca614a9ff085b12
3
+ size 1764633
SoccerTwos/SoccerTwos-35017060.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:186d7cd0c8d506503a998d788779283ced12dd7604eee42492d91f89cad4edea
3
+ size 28421201
SoccerTwos/SoccerTwos-35100098.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abb3858ea4bed48526fbc7ff0444c60c04ee030bc6e2046012ccac9f82103d2b
3
+ size 1764633
SoccerTwos/SoccerTwos-35100098.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ae0c6acaef0dc380ebf66cf4638da4820e609d865584296c5486f1c802c3b4d
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ae0c6acaef0dc380ebf66cf4638da4820e609d865584296c5486f1c802c3b4d
3
+ size 28421201
SoccerTwos/events.out.tfevents.1682850365.M2-Air-202302.local.12466.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71b3e962e35b2bd76deeff3fa81acccc07e0e65e6504a46c251136dca13621df
3
+ size 36159481
SoccerTwos/events.out.tfevents.1683020564.M2-Air-202302.local.78464.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cc63da5f3b86e99c312751bcf1336b14a4aeaca299a47de9f58210da830d374
3
+ size 21461
SoccerTwos/events.out.tfevents.1683020607.M2-Air-202302.local.78485.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:671b533838f53d4ad055e564ce7aa47c84639ec2fe92fa2fedab761f691b864d
3
+ size 93615
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": 35100000, "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-v1", "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: 35100000
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-v1
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,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/main/Documents/ML/DeepRL_Unit7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/main/Documents/ML/DeepRL_Unit7/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/main/Documents/ML/DeepRL_Unit7/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.129 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.785958 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]: 1567 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.1 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 150 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 78.8 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_OSX HID Input]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 1]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 0.7 KB
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Job.Worker 2]
167
+ Initial Block Size 256.0 KB
168
+ Current Block Size 256.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 3]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 11]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 0]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 4]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_BatchDeleteObjects]
192
+ Initial Block Size 64.0 KB
193
+ Current Block Size 64.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_DEFAULT] Dual Thread Allocator
197
+ Peak main deferred allocation count 3
198
+ [ALLOC_BUCKET]
199
+ Large Block size 4.0 MB
200
+ Used Block count 1
201
+ Peak Allocated bytes 1.0 MB
202
+ [ALLOC_DEFAULT_MAIN]
203
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1568 frames
204
+ Requested Block Size 16.0 MB
205
+ Peak Block count 1
206
+ Peak Allocated memory 5.1 MB
207
+ Peak Large allocation bytes 0 B
208
+ [ALLOC_DEFAULT_THREAD]
209
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1568 frames
210
+ Requested Block Size 16.0 MB
211
+ Peak Block count 1
212
+ Peak Allocated memory 17.3 MB
213
+ Peak Large allocation bytes 16.0 MB
214
+ [ALLOC_TEMP_JOB_1_FRAME]
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_2_FRAMES]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 1
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
225
+ Initial Block Size 2.0 MB
226
+ Used Block Count 2
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
230
+ Initial Block Size 1.0 MB
231
+ Used Block Count 3
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_GFX] Dual Thread Allocator
235
+ Peak main deferred allocation count 0
236
+ [ALLOC_BUCKET]
237
+ Large Block size 4.0 MB
238
+ Used Block count 1
239
+ Peak Allocated bytes 1.0 MB
240
+ [ALLOC_GFX_MAIN]
241
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1567 frames, [64.0 KB-128.0 KB]: 1 frames
242
+ Requested Block Size 16.0 MB
243
+ Peak Block count 1
244
+ Peak Allocated memory 65.6 KB
245
+ Peak Large allocation bytes 0 B
246
+ [ALLOC_GFX_THREAD]
247
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1568 frames
248
+ Requested Block Size 16.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 173.5 KB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
253
+ Peak main deferred allocation count 0
254
+ [ALLOC_BUCKET]
255
+ Large Block size 4.0 MB
256
+ Used Block count 1
257
+ Peak Allocated bytes 1.0 MB
258
+ [ALLOC_CACHEOBJECTS_MAIN]
259
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1568 frames
260
+ Requested Block Size 4.0 MB
261
+ Peak Block count 1
262
+ Peak Allocated memory 0.6 MB
263
+ Peak Large allocation bytes 0 B
264
+ [ALLOC_CACHEOBJECTS_THREAD]
265
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1567 frames, [2.0 MB-4.0 MB]: 1 frames
266
+ Requested Block Size 4.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 3.4 MB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_TYPETREE] Dual Thread Allocator
271
+ Peak main deferred allocation count 0
272
+ [ALLOC_BUCKET]
273
+ Large Block size 4.0 MB
274
+ Used Block count 1
275
+ Peak Allocated bytes 1.0 MB
276
+ [ALLOC_TYPETREE_MAIN]
277
+ Peak usage frame count: [0-1.0 KB]: 1568 frames
278
+ Requested Block Size 2.0 MB
279
+ Peak Block count 1
280
+ Peak Allocated memory 1.0 KB
281
+ Peak Large allocation bytes 0 B
282
+ [ALLOC_TYPETREE_THREAD]
283
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1567 frames, [2.0 KB-4.0 KB]: 1 frames
284
+ Requested Block Size 2.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 2.2 KB
287
+ 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": 1.5294710397720337,
6
+ "min": 1.4700586795806885,
7
+ "max": 1.5294710397720337,
8
+ "count": 9
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 28827.470703125,
12
+ "min": 11687.9130859375,
13
+ "max": 33734.49609375,
14
+ "count": 9
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 76.1076923076923,
18
+ "min": 46.774193548387096,
19
+ "max": 78.65573770491804,
20
+ "count": 9
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19788.0,
24
+ "min": 5800.0,
25
+ "max": 20260.0,
26
+ "count": 9
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1205.9667852559141,
30
+ "min": 1197.7324490298895,
31
+ "max": 1210.9597691499735,
32
+ "count": 9
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 156775.68208326882,
36
+ "min": 74778.19615188657,
37
+ "max": 201019.3216788956,
38
+ "count": 9
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 35099966.0,
42
+ "min": 35019956.0,
43
+ "max": 35099966.0,
44
+ "count": 9
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 35099966.0,
48
+ "min": 35019956.0,
49
+ "max": 35099966.0,
50
+ "count": 9
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.040143996477127075,
54
+ "min": -0.018500762060284615,
55
+ "max": 0.06616511940956116,
56
+ "count": 9
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 5.17857551574707,
60
+ "min": -2.9231202602386475,
61
+ "max": 9.4616117477417,
62
+ "count": 9
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.03842344135046005,
66
+ "min": -0.016103558242321014,
67
+ "max": 0.07143042981624603,
68
+ "count": 9
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 4.9566240310668945,
72
+ "min": -2.5443620681762695,
73
+ "max": 9.094518661499023,
74
+ "count": 9
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 9
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 9
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.19893333523772483,
90
+ "min": -0.21252658321887632,
91
+ "max": 0.24854753740498278,
92
+ "count": 9
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 25.662400245666504,
96
+ "min": -33.57920014858246,
97
+ "max": 25.662400245666504,
98
+ "count": 9
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.19893333523772483,
102
+ "min": -0.21252658321887632,
103
+ "max": 0.24854753740498278,
104
+ "count": 9
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 25.662400245666504,
108
+ "min": -33.57920014858246,
109
+ "max": 25.662400245666504,
110
+ "count": 9
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 9
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 9
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01885766123208062,
126
+ "min": 0.016385537358776976,
127
+ "max": 0.01885766123208062,
128
+ "count": 4
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01885766123208062,
132
+ "min": 0.016385537358776976,
133
+ "max": 0.01885766123208062,
134
+ "count": 4
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.08712201341986656,
138
+ "min": 0.08712201341986656,
139
+ "max": 0.10357063959042231,
140
+ "count": 4
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.08712201341986656,
144
+ "min": 0.08712201341986656,
145
+ "max": 0.10357063959042231,
146
+ "count": 4
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.08830761685967445,
150
+ "min": 0.08830761685967445,
151
+ "max": 0.1051780936618646,
152
+ "count": 4
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.08830761685967445,
156
+ "min": 0.08830761685967445,
157
+ "max": 0.1051780936618646,
158
+ "count": 4
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 4
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 4
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 4
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 4
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 4
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 4
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1683020605",
200
+ "python_version": "3.9.5 (default, Jun 6 2021, 11:13:51) \n[Clang 12.0.5 (clang-1205.0.22.9)]",
201
+ "command_line_arguments": "/Users/main/.pyenv/versions/3.9.5/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos-v1 --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": "1683020942"
208
+ },
209
+ "total": 337.611078125,
210
+ "count": 1,
211
+ "self": 0.6461438340000427,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.029269790999999934,
215
+ "count": 1,
216
+ "self": 0.029269790999999934
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 336.9356645,
220
+ "count": 1,
221
+ "self": 0.07367294999943397,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.335710374,
225
+ "count": 2,
226
+ "self": 2.335710374
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 334.39428400900056,
230
+ "count": 5711,
231
+ "self": 0.0652968649989134,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 67.37632123500114,
235
+ "count": 5711,
236
+ "self": 54.765413246001586,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 12.561572899000003,
240
+ "count": 5711,
241
+ "self": 0.313488940998111,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 12.248083958001892,
245
+ "count": 10454,
246
+ "self": 12.248083958001892
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.04933508999955105,
252
+ "count": 5711,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 334.38130617399923,
257
+ "count": 5711,
258
+ "is_parallel": true,
259
+ "self": 287.7031886710009,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.002902042999999299,
263
+ "count": 4,
264
+ "is_parallel": true,
265
+ "self": 0.0005716699999984698,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0023303730000008294,
269
+ "count": 16,
270
+ "is_parallel": true,
271
+ "self": 0.0023303730000008294
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 46.675215459998356,
277
+ "count": 5711,
278
+ "is_parallel": true,
279
+ "self": 2.413774209998664,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 1.5073794849998658,
283
+ "count": 5711,
284
+ "is_parallel": true,
285
+ "self": 1.5073794849998658
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 35.81329271099928,
289
+ "count": 5711,
290
+ "is_parallel": true,
291
+ "self": 35.81329271099928
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 6.9407690540005476,
295
+ "count": 11422,
296
+ "is_parallel": true,
297
+ "self": 1.1925039910013648,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 5.748265062999183,
301
+ "count": 45688,
302
+ "is_parallel": true,
303
+ "self": 5.748265062999183
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 266.95266590900053,
317
+ "count": 5711,
318
+ "self": 0.5841022219997853,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 34.149873186000775,
322
+ "count": 5711,
323
+ "self": 34.149873186000775
324
+ },
325
+ "_update_policy": {
326
+ "total": 232.21869050099997,
327
+ "count": 4,
328
+ "self": 10.378228367999952,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 221.84046213300002,
332
+ "count": 120,
333
+ "self": 221.84046213300002
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 4.999999987376214e-07,
343
+ "count": 1,
344
+ "self": 4.999999987376214e-07
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.1319966670000099,
348
+ "count": 1,
349
+ "self": 0.0005956249999599095,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.13140104200004998,
353
+ "count": 1,
354
+ "self": 0.13140104200004998
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1206.0060409673497,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 35100098,
7
+ "file_path": "results/SoccerTwos-v1/SoccerTwos/SoccerTwos-35100098.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1683020942.080848,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos-v1/SoccerTwos/SoccerTwos-35100098.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 35100098,
17
+ "file_path": "results/SoccerTwos-v1/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1683020942.080848,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos-v1/SoccerTwos/SoccerTwos-35100098.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.11.0"
29
+ }
30
+ }