magnustragardh commited on
Commit
33e9d95
1 Parent(s): a6485b0

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: magnustragardh/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc58c587be9b6bd5970dee3c3f37e21a84e970b8e64448ae546e630d53ce2f6d
3
+ size 1764633
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc58c587be9b6bd5970dee3c3f37e21a84e970b8e64448ae546e630d53ce2f6d
3
+ size 1764633
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ce1c3bbc744b1bea9d719a4cf42dae3f50eefe06e22eb49c907be9f3622b67
3
+ size 9478713
SoccerTwos/SoccerTwos-43499969.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:953807b5ff94c21a5a4da1144a01673d8a5411feebc6195d6cd1d30b248da355
3
+ size 1764633
SoccerTwos/SoccerTwos-43499969.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a70c8c8bab6db8fd092f222744adab1ee99c4fad00b296b1439fe827f4a4810d
3
+ size 28422481
SoccerTwos/SoccerTwos-43999922.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0643d392bfb37a0c98b4e83535035f86f4abe78ac0f836d62a67e0f3827c7c8
3
+ size 1764633
SoccerTwos/SoccerTwos-43999922.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eccbc565b6abdea65c9013627ce59ad3e0e9952e987dc57c2ee28b9441822d30
3
+ size 28422481
SoccerTwos/SoccerTwos-44499982.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89bb297add6f1968219f698d0763101a90efb711406cda3486f784a010ed9f16
3
+ size 1764633
SoccerTwos/SoccerTwos-44499982.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aeb4b20b56b37952acbb00b33808990884e59062e3e79b2ed9e263a4781b870
3
+ size 28422481
SoccerTwos/SoccerTwos-44999995.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d514805bfa0eff75e6a4b97e01257f11764fce4338f3492fdf6f44db62bdc18c
3
+ size 1764633
SoccerTwos/SoccerTwos-44999995.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a25eec7ecd05f0baafdf79d51c96188f8226d22d84cb2fd61377e5c77224270
3
+ size 28422481
SoccerTwos/SoccerTwos-45499942.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b017bd5d7e749bd28e766265988c9ef1f51740e30ed8e0157b762117982b62e7
3
+ size 1764633
SoccerTwos/SoccerTwos-45499942.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad7e01fa75c28bb5d2f8c4b7f3780fcf4e4ea90f48404a4d9d5509e6d5f29ae9
3
+ size 28422481
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ce1c3bbc744b1bea9d719a4cf42dae3f50eefe06e22eb49c907be9f3622b67
3
+ size 9478713
SoccerTwos/events.out.tfevents.1690352327.ptah.29757.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b8b7b2e25fe70aa73da33217b67286b0b044aafa098b5fda3b7389cab85d71d
3
+ size 46745700
SoccerTwos/events.out.tfevents.1690477470.ptah.28406.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:780ee75c8700234cc23e2a0cc0191f6a50e058ec6a816f37b6b26ca8a88c5d95
3
+ size 1241
SoccerTwos/events.out.tfevents.1690477499.ptah.28695.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b3faa8d844728ba2bf3f2d5404155497c51db46d2444db0ea59687dc0c3d51a
3
+ size 1241
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": "./SoccerTwos.x86_64", "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: ./SoccerTwos.x86_64
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,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/magnus/src/huggingface-reinforcement-learning-course/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/magnus/src/huggingface-reinforcement-learning-course/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /home/magnus/src/huggingface-reinforcement-learning-course/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 0.102 seconds
15
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
19
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
20
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
21
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
23
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
24
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
25
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
30
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
31
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
32
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
37
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
38
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
39
+ UnloadTime: 1.091702 ms
40
+ Registered Communicator in Agent.
41
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ requesting resize 84 x 84
43
+ Setting up 4 worker threads for Enlighten.
44
+ Memory Statistics:
45
+ [ALLOC_TEMP_TLS] TLS Allocator
46
+ StackAllocators :
47
+ [ALLOC_TEMP_MAIN]
48
+ Peak usage frame count: [8.0 KB-16.0 KB]: 46 frames, [2.0 MB-4.0 MB]: 1 frames
49
+ Initial Block Size 4.0 MB
50
+ Current Block Size 4.0 MB
51
+ Peak Allocated Bytes 2.1 MB
52
+ Overflow Count 0
53
+ [ALLOC_TEMP_Loading.AsyncRead]
54
+ Initial Block Size 64.0 KB
55
+ Current Block Size 64.0 KB
56
+ Peak Allocated Bytes 128 B
57
+ Overflow Count 0
58
+ [ALLOC_TEMP_Loading.PreloadManager]
59
+ Initial Block Size 256.0 KB
60
+ Current Block Size 300.0 KB
61
+ Peak Allocated Bytes 249.6 KB
62
+ Overflow Count 4
63
+ [ALLOC_TEMP_Background Job.Worker 8]
64
+ Initial Block Size 32.0 KB
65
+ Current Block Size 32.0 KB
66
+ Peak Allocated Bytes 0 B
67
+ Overflow Count 0
68
+ [ALLOC_TEMP_Job.Worker 6]
69
+ Initial Block Size 256.0 KB
70
+ Current Block Size 256.0 KB
71
+ Peak Allocated Bytes 0.7 KB
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Job.Worker 0]
74
+ Initial Block Size 256.0 KB
75
+ Current Block Size 256.0 KB
76
+ Peak Allocated Bytes 0 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Background Job.Worker 10]
79
+ Initial Block Size 32.0 KB
80
+ Current Block Size 32.0 KB
81
+ Peak Allocated Bytes 0 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Background Job.Worker 9]
84
+ Initial Block Size 32.0 KB
85
+ Current Block Size 32.0 KB
86
+ Peak Allocated Bytes 0 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Job.Worker 5]
89
+ Initial Block Size 256.0 KB
90
+ Current Block Size 256.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Background Job.Worker 14]
94
+ Initial Block Size 32.0 KB
95
+ Current Block Size 32.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 6]
99
+ Initial Block Size 32.0 KB
100
+ Current Block Size 32.0 KB
101
+ Peak Allocated Bytes 0 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Job.Worker 4]
104
+ Initial Block Size 256.0 KB
105
+ Current Block Size 256.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Job.Worker 3]
109
+ Initial Block Size 256.0 KB
110
+ Current Block Size 256.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Background Job.Worker 12]
114
+ Initial Block Size 32.0 KB
115
+ Current Block Size 32.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_EnlightenWorker] x 4
119
+ Initial Block Size 64.0 KB
120
+ Current Block Size 64.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 15]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 1]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 2]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_Background Job.Worker 7]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
144
+ Initial Block Size 64.0 KB
145
+ Current Block Size 64.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 5]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 13]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Job.Worker 1]
159
+ Initial Block Size 256.0 KB
160
+ Current Block Size 256.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Job.Worker 2]
164
+ Initial Block Size 256.0 KB
165
+ Current Block Size 256.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 3]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 11]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 0]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 4]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_BatchDeleteObjects]
189
+ Initial Block Size 64.0 KB
190
+ Current Block Size 64.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_DEFAULT] Dual Thread Allocator
194
+ Peak main deferred allocation count 2
195
+ [ALLOC_BUCKET]
196
+ Large Block size 4.0 MB
197
+ Used Block count 1
198
+ Peak Allocated bytes 1.0 MB
199
+ [ALLOC_DEFAULT_MAIN]
200
+ Peak usage frame count: [4.0 MB-8.0 MB]: 47 frames
201
+ Requested Block Size 16.0 MB
202
+ Peak Block count 1
203
+ Peak Allocated memory 4.8 MB
204
+ Peak Large allocation bytes 0 B
205
+ [ALLOC_DEFAULT_THREAD]
206
+ Peak usage frame count: [16.0 MB-32.0 MB]: 47 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 17.4 MB
210
+ Peak Large allocation bytes 16.0 MB
211
+ [ALLOC_TEMP_JOB_1_FRAME]
212
+ Initial Block Size 2.0 MB
213
+ Used Block Count 1
214
+ Overflow Count (too large) 0
215
+ Overflow Count (full) 0
216
+ [ALLOC_TEMP_JOB_2_FRAMES]
217
+ Initial Block Size 2.0 MB
218
+ Used Block Count 1
219
+ Overflow Count (too large) 0
220
+ Overflow Count (full) 0
221
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 1
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
227
+ Initial Block Size 1.0 MB
228
+ Used Block Count 3
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_GFX] Dual Thread Allocator
232
+ Peak main deferred allocation count 0
233
+ [ALLOC_BUCKET]
234
+ Large Block size 4.0 MB
235
+ Used Block count 1
236
+ Peak Allocated bytes 1.0 MB
237
+ [ALLOC_GFX_MAIN]
238
+ Peak usage frame count: [32.0 KB-64.0 KB]: 46 frames, [64.0 KB-128.0 KB]: 1 frames
239
+ Requested Block Size 16.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 65.6 KB
242
+ Peak Large allocation bytes 0 B
243
+ [ALLOC_GFX_THREAD]
244
+ Peak usage frame count: [128.0 KB-256.0 KB]: 47 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 173.5 KB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
250
+ Peak main deferred allocation count 0
251
+ [ALLOC_BUCKET]
252
+ Large Block size 4.0 MB
253
+ Used Block count 1
254
+ Peak Allocated bytes 1.0 MB
255
+ [ALLOC_CACHEOBJECTS_MAIN]
256
+ Peak usage frame count: [0.5 MB-1.0 MB]: 47 frames
257
+ Requested Block Size 4.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 0.6 MB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_CACHEOBJECTS_THREAD]
262
+ Peak usage frame count: [0.5 MB-1.0 MB]: 46 frames, [4.0 MB-8.0 MB]: 1 frames
263
+ Requested Block Size 4.0 MB
264
+ Peak Block count 2
265
+ Peak Allocated memory 4.5 MB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_TYPETREE] Dual Thread Allocator
268
+ Peak main deferred allocation count 0
269
+ [ALLOC_BUCKET]
270
+ Large Block size 4.0 MB
271
+ Used Block count 1
272
+ Peak Allocated bytes 1.0 MB
273
+ [ALLOC_TYPETREE_MAIN]
274
+ Peak usage frame count: [0-1.0 KB]: 47 frames
275
+ Requested Block Size 2.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 1.0 KB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_TYPETREE_THREAD]
280
+ Peak usage frame count: [1.0 KB-2.0 KB]: 46 frames, [2.0 KB-4.0 KB]: 1 frames
281
+ Requested Block Size 2.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 2.2 KB
284
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1690477498",
6
+ "python_version": "3.9.17 (main, Jun 28 2023, 19:17:55) [GCC]",
7
+ "command_line_arguments": "/home/magnus/.local/venv/ml-agents/bin/mlagents-learn SoccerTwos.yaml --env ./SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
8
+ "mlagents_version": "0.31.0.dev0",
9
+ "mlagents_envs_version": "0.31.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "1.11.0+cu102",
12
+ "numpy_version": "1.21.2",
13
+ "end_time_seconds": "1690477506"
14
+ },
15
+ "total": 7.885385429000053,
16
+ "count": 1,
17
+ "self": 0.042355412999768305,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.009809208000206127,
21
+ "count": 1,
22
+ "self": 0.009809208000206127
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 7.833220808000078,
26
+ "count": 1,
27
+ "self": 0.003147054998407839,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 4.058253630999843,
31
+ "count": 1,
32
+ "self": 4.058253630999843
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 3.534502328001963,
36
+ "count": 157,
37
+ "self": 0.0025311980043625226,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 3.5248218319984517,
41
+ "count": 157,
42
+ "self": 2.964466408991939,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 0.5587435760003245,
46
+ "count": 157,
47
+ "self": 0.022323722000692214,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 0.5364198539996323,
51
+ "count": 314,
52
+ "self": 0.5364198539996323
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.0016118470061883272,
58
+ "count": 156,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 7.591403369001455,
63
+ "count": 156,
64
+ "is_parallel": true,
65
+ "self": 5.000459526997929,
66
+ "children": {
67
+ "run_training.setup": {
68
+ "total": 0.0,
69
+ "count": 0,
70
+ "is_parallel": true,
71
+ "self": 0.0,
72
+ "children": {
73
+ "steps_from_proto": {
74
+ "total": 0.004873570999734511,
75
+ "count": 2,
76
+ "is_parallel": true,
77
+ "self": 0.0009217980004905257,
78
+ "children": {
79
+ "_process_rank_one_or_two_observation": {
80
+ "total": 0.003951772999243985,
81
+ "count": 8,
82
+ "is_parallel": true,
83
+ "self": 0.003951772999243985
84
+ }
85
+ }
86
+ },
87
+ "UnityEnvironment.step": {
88
+ "total": 0.022139026999866473,
89
+ "count": 1,
90
+ "is_parallel": true,
91
+ "self": 0.0010814959996423568,
92
+ "children": {
93
+ "UnityEnvironment._generate_step_input": {
94
+ "total": 0.0009580549999554933,
95
+ "count": 1,
96
+ "is_parallel": true,
97
+ "self": 0.0009580549999554933
98
+ },
99
+ "communicator.exchange": {
100
+ "total": 0.016950738000105048,
101
+ "count": 1,
102
+ "is_parallel": true,
103
+ "self": 0.016950738000105048
104
+ },
105
+ "steps_from_proto": {
106
+ "total": 0.0031487380001635756,
107
+ "count": 2,
108
+ "is_parallel": true,
109
+ "self": 0.0005218359997343214,
110
+ "children": {
111
+ "_process_rank_one_or_two_observation": {
112
+ "total": 0.0026269020004292543,
113
+ "count": 8,
114
+ "is_parallel": true,
115
+ "self": 0.0026269020004292543
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "UnityEnvironment.step": {
124
+ "total": 2.590943842003526,
125
+ "count": 155,
126
+ "is_parallel": true,
127
+ "self": 0.16684478501065314,
128
+ "children": {
129
+ "UnityEnvironment._generate_step_input": {
130
+ "total": 0.11501908799664307,
131
+ "count": 155,
132
+ "is_parallel": true,
133
+ "self": 0.11501908799664307
134
+ },
135
+ "communicator.exchange": {
136
+ "total": 1.850633777998155,
137
+ "count": 155,
138
+ "is_parallel": true,
139
+ "self": 1.850633777998155
140
+ },
141
+ "steps_from_proto": {
142
+ "total": 0.4584461909980746,
143
+ "count": 310,
144
+ "is_parallel": true,
145
+ "self": 0.07553651599982913,
146
+ "children": {
147
+ "_process_rank_one_or_two_observation": {
148
+ "total": 0.38290967499824546,
149
+ "count": 1240,
150
+ "is_parallel": true,
151
+ "self": 0.38290967499824546
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "trainer_advance": {
164
+ "total": 0.007149297999148985,
165
+ "count": 156,
166
+ "self": 0.006768777000615955,
167
+ "children": {
168
+ "process_trajectory": {
169
+ "total": 0.00038052099853302934,
170
+ "count": 156,
171
+ "self": 0.00038052099853302934
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "trainer_threads": {
178
+ "total": 6.209997991390992e-07,
179
+ "count": 1,
180
+ "self": 6.209997991390992e-07
181
+ },
182
+ "TrainerController._save_models": {
183
+ "total": 0.23731717300006494,
184
+ "count": 1,
185
+ "self": 0.0014362609999807319,
186
+ "children": {
187
+ "RLTrainer._checkpoint": {
188
+ "total": 0.2358809120000842,
189
+ "count": 1,
190
+ "self": 0.2358809120000842
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1200.0,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 0,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-0.onnx",
8
+ "reward": null,
9
+ "creation_time": 1690477470.5744898,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 0,
16
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-0.onnx",
17
+ "reward": null,
18
+ "creation_time": 1690477506.6551929,
19
+ "auxillary_file_paths": [
20
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 0,
26
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
27
+ "reward": null,
28
+ "creation_time": 1690477506.6551929,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "1.11.0+cu102"
38
+ }
39
+ }