SamFic commited on
Commit
2ed34a6
·
verified ·
1 Parent(s): a431ccc

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SnowballTarget
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SnowballTarget
8
+ ---
9
+
10
+ # **ppo** Agent playing **SnowballTarget**
11
+ This is a trained model of a **ppo** agent playing **SnowballTarget**
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: SamFic/ppo-SnowballTarget
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SnowballTarget.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:944558f9867cf9a9674882cbea6a37e595ca1f58128ce2d31978b01e2beb83e0
3
+ size 650646
SnowballTarget/SnowballTarget-149984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b5c37c8e34da84fec711ce2ff55785fba54b01de19b882ba9b07c0de8d2363b
3
+ size 650646
SnowballTarget/SnowballTarget-149984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00d6a47588daf51e9eed378cb8056c014b50f13812456c40a71c832809a77519
3
+ size 3850564
SnowballTarget/SnowballTarget-199984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:944558f9867cf9a9674882cbea6a37e595ca1f58128ce2d31978b01e2beb83e0
3
+ size 650646
SnowballTarget/SnowballTarget-199984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:714071b865644dab96c0f15f0870ad7c24da0fae103cb6d6414d4e4df170d173
3
+ size 3850564
SnowballTarget/SnowballTarget-200112.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:944558f9867cf9a9674882cbea6a37e595ca1f58128ce2d31978b01e2beb83e0
3
+ size 650646
SnowballTarget/SnowballTarget-200112.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dba7b60e3748a70e25a5a43def5e930554ea9525b503a42c493fbd305c8c1bdd
3
+ size 3850564
SnowballTarget/SnowballTarget-49936.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b41455631abf606bc6f7b074b694cebe936ed4da5e2906cb5d61f47b87d03b2c
3
+ size 650646
SnowballTarget/SnowballTarget-49936.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d0f1c329f693964df03a90045e8e6ebf4338abbaeccd4e53322eef49e810fe2
3
+ size 3850487
SnowballTarget/SnowballTarget-99960.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c9388672ed7bb32f4d1a635525cff63366db6c81ed32ecaec6a1e7fc00b149e
3
+ size 650646
SnowballTarget/SnowballTarget-99960.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8b952cbaae6a326fef3d35080bedfb4f5121997c984ae139d0dd289e0332b33
3
+ size 3850487
SnowballTarget/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12fc5a9c3f39dff30a64977114355e1d1f6054788c3502b931413af2ec18460c
3
+ size 3849717
SnowballTarget/events.out.tfevents.1756461464.DESKTOP-DMN00QM.40283.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51e85cec44e0d9c2f7fe63457f284fb6fa7db01acd9402f686471f51ebefb120
3
+ size 23701
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SnowballTarget": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 50000, "network_settings": {"normalize": false, "hidden_units": 256, "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": 10, "even_checkpoints": false, "max_steps": 200000, "time_horizon": 64, "summary_freq": 10000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/SnowballTarget/SnowballTarget", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SnowballTarget1", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SnowballTarget:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 128
7
+ buffer_size: 2048
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ shared_critic: false
14
+ learning_rate_schedule: linear
15
+ beta_schedule: linear
16
+ epsilon_schedule: linear
17
+ checkpoint_interval: 50000
18
+ network_settings:
19
+ normalize: false
20
+ hidden_units: 256
21
+ num_layers: 2
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.99
29
+ strength: 1.0
30
+ network_settings:
31
+ normalize: false
32
+ hidden_units: 128
33
+ num_layers: 2
34
+ vis_encode_type: simple
35
+ memory: null
36
+ goal_conditioning_type: hyper
37
+ deterministic: false
38
+ init_path: null
39
+ keep_checkpoints: 10
40
+ even_checkpoints: false
41
+ max_steps: 200000
42
+ time_horizon: 64
43
+ summary_freq: 10000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: ./training-envs-executables/linux/SnowballTarget/SnowballTarget
49
+ env_args: null
50
+ base_port: 5005
51
+ num_envs: 1
52
+ num_areas: 1
53
+ timeout_wait: 60
54
+ seed: -1
55
+ max_lifetime_restarts: 10
56
+ restarts_rate_limit_n: 1
57
+ restarts_rate_limit_period_s: 60
58
+ engine_settings:
59
+ width: 84
60
+ height: 84
61
+ quality_level: 5
62
+ time_scale: 20
63
+ target_frame_rate: -1
64
+ capture_frame_rate: 60
65
+ no_graphics: true
66
+ no_graphics_monitor: false
67
+ environment_parameters: null
68
+ checkpoint_settings:
69
+ run_id: SnowballTarget1
70
+ initialize_from: null
71
+ load_model: false
72
+ resume: false
73
+ force: false
74
+ train_model: false
75
+ inference: false
76
+ results_dir: results
77
+ torch_settings:
78
+ device: null
79
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/sam/deep-rl-class/notebooks/unit5/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/Managed'
2
+ Mono config path = '/home/sam/deep-rl-class/notebooks/unit5/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ PlayerPrefs - Creating folder: /home/sam/.config/unity3d/Hugging Face
6
+ PlayerPrefs - Creating folder: /home/sam/.config/unity3d/Hugging Face/SnowballTarget
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /home/sam/deep-rl-class/notebooks/unit5/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ FMOD initialized on nosound output
17
+ Begin MonoManager ReloadAssembly
18
+ - Completed reload, in 0.069 seconds
19
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard' - 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
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
26
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
27
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
28
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
29
+ UnloadTime: 1.094656 ms
30
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
31
+ requesting resize 84 x 84
32
+ Setting up 10 worker threads for Enlighten.
33
+ Memory Statistics:
34
+ [ALLOC_TEMP_TLS] TLS Allocator
35
+ StackAllocators :
36
+ [ALLOC_TEMP_MAIN]
37
+ Peak usage frame count: [8.0 KB-16.0 KB]: 5367 frames, [16.0 KB-32.0 KB]: 90 frames, [2.0 MB-4.0 MB]: 1 frames
38
+ Initial Block Size 4.0 MB
39
+ Current Block Size 4.0 MB
40
+ Peak Allocated Bytes 2.0 MB
41
+ Overflow Count 0
42
+ [ALLOC_TEMP_Job.Worker 18]
43
+ Initial Block Size 256.0 KB
44
+ Current Block Size 256.0 KB
45
+ Peak Allocated Bytes 3.6 KB
46
+ Overflow Count 0
47
+ [ALLOC_TEMP_Loading.PreloadManager]
48
+ Initial Block Size 256.0 KB
49
+ Current Block Size 304.0 KB
50
+ Peak Allocated Bytes 228.9 KB
51
+ Overflow Count 4
52
+ [ALLOC_TEMP_Loading.AsyncRead]
53
+ Initial Block Size 64.0 KB
54
+ Current Block Size 64.0 KB
55
+ Peak Allocated Bytes 260 B
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Background Job.Worker 8]
58
+ Initial Block Size 32.0 KB
59
+ Current Block Size 32.0 KB
60
+ Peak Allocated Bytes 0 B
61
+ Overflow Count 0
62
+ [ALLOC_TEMP_Job.Worker 6]
63
+ Initial Block Size 256.0 KB
64
+ Current Block Size 256.0 KB
65
+ Peak Allocated Bytes 3.6 KB
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Job.Worker 0]
68
+ Initial Block Size 256.0 KB
69
+ Current Block Size 256.0 KB
70
+ Peak Allocated Bytes 3.6 KB
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Background Job.Worker 10]
73
+ Initial Block Size 32.0 KB
74
+ Current Block Size 32.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Background Job.Worker 9]
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_Job.Worker 5]
83
+ Initial Block Size 256.0 KB
84
+ Current Block Size 256.0 KB
85
+ Peak Allocated Bytes 3.6 KB
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Background Job.Worker 14]
88
+ Initial Block Size 32.0 KB
89
+ Current Block Size 32.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Job.Worker 16]
93
+ Initial Block Size 256.0 KB
94
+ Current Block Size 256.0 KB
95
+ Peak Allocated Bytes 3.6 KB
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 3.6 KB
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 14]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 3.6 KB
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Job.Worker 17]
113
+ Initial Block Size 256.0 KB
114
+ Current Block Size 256.0 KB
115
+ Peak Allocated Bytes 3.6 KB
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Job.Worker 3]
118
+ Initial Block Size 256.0 KB
119
+ Current Block Size 256.0 KB
120
+ Peak Allocated Bytes 3.6 KB
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Job.Worker 13]
123
+ Initial Block Size 256.0 KB
124
+ Current Block Size 256.0 KB
125
+ Peak Allocated Bytes 3.6 KB
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker] x 10
133
+ Initial Block Size 64.0 KB
134
+ Current Block Size 64.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 15]
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_Background Job.Worker 1]
143
+ Initial Block Size 32.0 KB
144
+ Current Block Size 32.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 2]
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 7]
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_AssetGarbageCollectorHelper] x 19
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 5]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 9]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 3.6 KB
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 13]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 8]
178
+ Initial Block Size 256.0 KB
179
+ Current Block Size 256.0 KB
180
+ Peak Allocated Bytes 3.6 KB
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Job.Worker 7]
183
+ Initial Block Size 256.0 KB
184
+ Current Block Size 256.0 KB
185
+ Peak Allocated Bytes 3.6 KB
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Job.Worker 1]
188
+ Initial Block Size 256.0 KB
189
+ Current Block Size 256.0 KB
190
+ Peak Allocated Bytes 3.6 KB
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Job.Worker 2]
193
+ Initial Block Size 256.0 KB
194
+ Current Block Size 256.0 KB
195
+ Peak Allocated Bytes 3.6 KB
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Background Job.Worker 3]
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_Background Job.Worker 11]
203
+ Initial Block Size 32.0 KB
204
+ Current Block Size 32.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Job.Worker 10]
208
+ Initial Block Size 256.0 KB
209
+ Current Block Size 256.0 KB
210
+ Peak Allocated Bytes 3.6 KB
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Background Job.Worker 0]
213
+ Initial Block Size 32.0 KB
214
+ Current Block Size 32.0 KB
215
+ Peak Allocated Bytes 0 B
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_Job.Worker 15]
218
+ Initial Block Size 256.0 KB
219
+ Current Block Size 256.0 KB
220
+ Peak Allocated Bytes 3.6 KB
221
+ Overflow Count 0
222
+ [ALLOC_TEMP_Job.Worker 11]
223
+ Initial Block Size 256.0 KB
224
+ Current Block Size 256.0 KB
225
+ Peak Allocated Bytes 3.6 KB
226
+ Overflow Count 0
227
+ [ALLOC_TEMP_Job.Worker 12]
228
+ Initial Block Size 256.0 KB
229
+ Current Block Size 256.0 KB
230
+ Peak Allocated Bytes 3.6 KB
231
+ Overflow Count 0
232
+ [ALLOC_TEMP_Background Job.Worker 4]
233
+ Initial Block Size 32.0 KB
234
+ Current Block Size 32.0 KB
235
+ Peak Allocated Bytes 0 B
236
+ Overflow Count 0
237
+ [ALLOC_TEMP_BatchDeleteObjects]
238
+ Initial Block Size 64.0 KB
239
+ Current Block Size 64.0 KB
240
+ Peak Allocated Bytes 0 B
241
+ Overflow Count 0
242
+ [ALLOC_DEFAULT] Dual Thread Allocator
243
+ Peak main deferred allocation count 40
244
+ [ALLOC_BUCKET]
245
+ Large Block size 4.0 MB
246
+ Used Block count 1
247
+ Peak Allocated bytes 1.0 MB
248
+ [ALLOC_DEFAULT_MAIN]
249
+ Peak usage frame count: [4.0 MB-8.0 MB]: 5458 frames
250
+ Requested Block Size 16.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 7.1 MB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_DEFAULT_THREAD]
255
+ Peak usage frame count: [16.0 MB-32.0 MB]: 5458 frames
256
+ Requested Block Size 16.0 MB
257
+ Peak Block count 1
258
+ Peak Allocated memory 17.4 MB
259
+ Peak Large allocation bytes 16.0 MB
260
+ [ALLOC_TEMP_JOB_1_FRAME]
261
+ Initial Block Size 2.0 MB
262
+ Used Block Count 1
263
+ Overflow Count (too large) 0
264
+ Overflow Count (full) 0
265
+ [ALLOC_TEMP_JOB_2_FRAMES]
266
+ Initial Block Size 2.0 MB
267
+ Used Block Count 1
268
+ Overflow Count (too large) 0
269
+ Overflow Count (full) 0
270
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
271
+ Initial Block Size 2.0 MB
272
+ Used Block Count 2
273
+ Overflow Count (too large) 0
274
+ Overflow Count (full) 0
275
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
276
+ Initial Block Size 1.0 MB
277
+ Used Block Count 3
278
+ Overflow Count (too large) 0
279
+ Overflow Count (full) 0
280
+ [ALLOC_GFX] Dual Thread Allocator
281
+ Peak main deferred allocation count 0
282
+ [ALLOC_BUCKET]
283
+ Large Block size 4.0 MB
284
+ Used Block count 1
285
+ Peak Allocated bytes 1.0 MB
286
+ [ALLOC_GFX_MAIN]
287
+ Peak usage frame count: [32.0 KB-64.0 KB]: 4440 frames, [64.0 KB-128.0 KB]: 1018 frames
288
+ Requested Block Size 16.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 67.3 KB
291
+ Peak Large allocation bytes 0 B
292
+ [ALLOC_GFX_THREAD]
293
+ Peak usage frame count: [32.0 KB-64.0 KB]: 5458 frames
294
+ Requested Block Size 16.0 MB
295
+ Peak Block count 1
296
+ Peak Allocated memory 39.6 KB
297
+ Peak Large allocation bytes 0 B
298
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
299
+ Peak main deferred allocation count 0
300
+ [ALLOC_BUCKET]
301
+ Large Block size 4.0 MB
302
+ Used Block count 1
303
+ Peak Allocated bytes 1.0 MB
304
+ [ALLOC_CACHEOBJECTS_MAIN]
305
+ Peak usage frame count: [0.5 MB-1.0 MB]: 5458 frames
306
+ Requested Block Size 4.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 0.6 MB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_CACHEOBJECTS_THREAD]
311
+ Peak usage frame count: [0.5 MB-1.0 MB]: 5457 frames, [2.0 MB-4.0 MB]: 1 frames
312
+ Requested Block Size 4.0 MB
313
+ Peak Block count 1
314
+ Peak Allocated memory 2.2 MB
315
+ Peak Large allocation bytes 0 B
316
+ [ALLOC_TYPETREE] Dual Thread Allocator
317
+ Peak main deferred allocation count 0
318
+ [ALLOC_BUCKET]
319
+ Large Block size 4.0 MB
320
+ Used Block count 1
321
+ Peak Allocated bytes 1.0 MB
322
+ [ALLOC_TYPETREE_MAIN]
323
+ Peak usage frame count: [0-1.0 KB]: 5458 frames
324
+ Requested Block Size 2.0 MB
325
+ Peak Block count 1
326
+ Peak Allocated memory 1.0 KB
327
+ Peak Large allocation bytes 0 B
328
+ [ALLOC_TYPETREE_THREAD]
329
+ Peak usage frame count: [1.0 KB-2.0 KB]: 5458 frames
330
+ Requested Block Size 2.0 MB
331
+ Peak Block count 1
332
+ Peak Allocated memory 1.7 KB
333
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 0.8099718689918518,
6
+ "min": 0.8099718689918518,
7
+ "max": 2.8536765575408936,
8
+ "count": 20
9
+ },
10
+ "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 7697.97265625,
12
+ "min": 7697.97265625,
13
+ "max": 29130.330078125,
14
+ "count": 20
15
+ },
16
+ "SnowballTarget.Step.mean": {
17
+ "value": 199984.0,
18
+ "min": 9952.0,
19
+ "max": 199984.0,
20
+ "count": 20
21
+ },
22
+ "SnowballTarget.Step.sum": {
23
+ "value": 199984.0,
24
+ "min": 9952.0,
25
+ "max": 199984.0,
26
+ "count": 20
27
+ },
28
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 12.916003227233887,
30
+ "min": 0.5392415523529053,
31
+ "max": 12.916003227233887,
32
+ "count": 20
33
+ },
34
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 2518.62060546875,
36
+ "min": 104.61286163330078,
37
+ "max": 2604.22802734375,
38
+ "count": 20
39
+ },
40
+ "SnowballTarget.Losses.PolicyLoss.mean": {
41
+ "value": 0.06734189498934473,
42
+ "min": 0.06291075544272019,
43
+ "max": 0.07607090198457717,
44
+ "count": 20
45
+ },
46
+ "SnowballTarget.Losses.PolicyLoss.sum": {
47
+ "value": 0.2693675799573789,
48
+ "min": 0.2555370254955122,
49
+ "max": 0.3757095791327575,
50
+ "count": 20
51
+ },
52
+ "SnowballTarget.Losses.ValueLoss.mean": {
53
+ "value": 0.19281112366155082,
54
+ "min": 0.1654247013788086,
55
+ "max": 0.2743921930737355,
56
+ "count": 20
57
+ },
58
+ "SnowballTarget.Losses.ValueLoss.sum": {
59
+ "value": 0.7712444946462033,
60
+ "min": 0.6616988055152344,
61
+ "max": 1.3586040700183193,
62
+ "count": 20
63
+ },
64
+ "SnowballTarget.Policy.LearningRate.mean": {
65
+ "value": 8.082097306000005e-06,
66
+ "min": 8.082097306000005e-06,
67
+ "max": 0.000291882002706,
68
+ "count": 20
69
+ },
70
+ "SnowballTarget.Policy.LearningRate.sum": {
71
+ "value": 3.232838922400002e-05,
72
+ "min": 3.232838922400002e-05,
73
+ "max": 0.00138516003828,
74
+ "count": 20
75
+ },
76
+ "SnowballTarget.Policy.Epsilon.mean": {
77
+ "value": 0.10269400000000001,
78
+ "min": 0.10269400000000001,
79
+ "max": 0.19729400000000002,
80
+ "count": 20
81
+ },
82
+ "SnowballTarget.Policy.Epsilon.sum": {
83
+ "value": 0.41077600000000003,
84
+ "min": 0.41077600000000003,
85
+ "max": 0.96172,
86
+ "count": 20
87
+ },
88
+ "SnowballTarget.Policy.Beta.mean": {
89
+ "value": 0.0001444306000000001,
90
+ "min": 0.0001444306000000001,
91
+ "max": 0.0048649706,
92
+ "count": 20
93
+ },
94
+ "SnowballTarget.Policy.Beta.sum": {
95
+ "value": 0.0005777224000000004,
96
+ "min": 0.0005777224000000004,
97
+ "max": 0.023089828,
98
+ "count": 20
99
+ },
100
+ "SnowballTarget.Environment.EpisodeLength.mean": {
101
+ "value": 199.0,
102
+ "min": 199.0,
103
+ "max": 199.0,
104
+ "count": 20
105
+ },
106
+ "SnowballTarget.Environment.EpisodeLength.sum": {
107
+ "value": 8756.0,
108
+ "min": 8756.0,
109
+ "max": 10945.0,
110
+ "count": 20
111
+ },
112
+ "SnowballTarget.Environment.CumulativeReward.mean": {
113
+ "value": 25.454545454545453,
114
+ "min": 4.295454545454546,
115
+ "max": 25.581818181818182,
116
+ "count": 20
117
+ },
118
+ "SnowballTarget.Environment.CumulativeReward.sum": {
119
+ "value": 1120.0,
120
+ "min": 189.0,
121
+ "max": 1407.0,
122
+ "count": 20
123
+ },
124
+ "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
+ "value": 25.454545454545453,
126
+ "min": 4.295454545454546,
127
+ "max": 25.581818181818182,
128
+ "count": 20
129
+ },
130
+ "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
+ "value": 1120.0,
132
+ "min": 189.0,
133
+ "max": 1407.0,
134
+ "count": 20
135
+ },
136
+ "SnowballTarget.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 20
141
+ },
142
+ "SnowballTarget.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 20
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1756461464",
152
+ "python_version": "3.10.12 (main, Aug 15 2025, 14:32:43) [GCC 11.4.0]",
153
+ "command_line_arguments": "/home/sam/.local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
154
+ "mlagents_version": "1.2.0.dev0",
155
+ "mlagents_envs_version": "1.2.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "2.8.0+cu128",
158
+ "numpy_version": "1.23.5",
159
+ "end_time_seconds": "1756461825"
160
+ },
161
+ "total": 347.7700018680007,
162
+ "count": 1,
163
+ "self": 0.21937220599829743,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.022970487001657602,
167
+ "count": 1,
168
+ "self": 0.022970487001657602
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 347.52765917500074,
172
+ "count": 1,
173
+ "self": 0.2953650409071997,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.2293939080009295,
177
+ "count": 1,
178
+ "self": 2.2293939080009295
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 344.9352438640926,
182
+ "count": 18192,
183
+ "self": 0.27923387623195595,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 252.5608371729595,
187
+ "count": 18192,
188
+ "self": 172.87266353395717,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 79.5130555319738,
192
+ "count": 18192,
193
+ "self": 0.922468826176555,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 78.59058670579725,
197
+ "count": 18192,
198
+ "self": 78.59058670579725
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.17511810702853836,
204
+ "count": 18192,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 346.67924444593154,
209
+ "count": 18192,
210
+ "is_parallel": true,
211
+ "self": 190.63452843593768,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.0,
215
+ "count": 0,
216
+ "is_parallel": true,
217
+ "self": 0.0,
218
+ "children": {
219
+ "steps_from_proto": {
220
+ "total": 0.0021564409998973133,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.0012013230025331723,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.000955117997364141,
227
+ "count": 10,
228
+ "is_parallel": true,
229
+ "self": 0.000955117997364141
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.019940128999223816,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.00023346999660134315,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.00019274200167274103,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.00019274200167274103
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.018983380001373007,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.018983380001373007
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.0005305369995767251,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00011946199992962647,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0004110749996470986,
259
+ "count": 10,
260
+ "is_parallel": true,
261
+ "self": 0.0004110749996470986
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 156.04471600999386,
271
+ "count": 18191,
272
+ "is_parallel": true,
273
+ "self": 3.3709146830806276,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 1.9072834200323996,
277
+ "count": 18191,
278
+ "is_parallel": true,
279
+ "self": 1.9072834200323996
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 141.72387431691823,
283
+ "count": 18191,
284
+ "is_parallel": true,
285
+ "self": 141.72387431691823
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 9.042643589962609,
289
+ "count": 18191,
290
+ "is_parallel": true,
291
+ "self": 1.9805277971263422,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 7.062115792836266,
295
+ "count": 181910,
296
+ "is_parallel": true,
297
+ "self": 7.062115792836266
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 92.09517281490116,
311
+ "count": 18192,
312
+ "self": 0.35047943067911547,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 19.03807237223191,
316
+ "count": 18192,
317
+ "self": 18.706126988232427,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.33194538399948215,
321
+ "count": 4,
322
+ "self": 0.33194538399948215
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 72.70662101199014,
328
+ "count": 90,
329
+ "self": 15.631592218032893,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 57.075028793957244,
333
+ "count": 4587,
334
+ "self": 57.075028793957244
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 4.699995770351961e-07,
344
+ "count": 1,
345
+ "self": 4.699995770351961e-07
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.06765589200040267,
349
+ "count": 1,
350
+ "self": 0.001078233999578515,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.06657765800082416,
354
+ "count": 1,
355
+ "self": 0.06657765800082416
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SnowballTarget": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 49936,
6
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.onnx",
7
+ "reward": 15.727272727272727,
8
+ "creation_time": 1756461556.8417647,
9
+ "auxillary_file_paths": [
10
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 99960,
15
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.onnx",
16
+ "reward": 21.727272727272727,
17
+ "creation_time": 1756461644.7404666,
18
+ "auxillary_file_paths": [
19
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 149984,
24
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.onnx",
25
+ "reward": 23.363636363636363,
26
+ "creation_time": 1756461735.1112163,
27
+ "auxillary_file_paths": [
28
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 199984,
33
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.onnx",
34
+ "reward": 26.09090909090909,
35
+ "creation_time": 1756461825.1731584,
36
+ "auxillary_file_paths": [
37
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 200112,
42
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.onnx",
43
+ "reward": 26.09090909090909,
44
+ "creation_time": 1756461825.2492046,
45
+ "auxillary_file_paths": [
46
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "final_checkpoint": {
51
+ "steps": 200112,
52
+ "file_path": "results/SnowballTarget1/SnowballTarget.onnx",
53
+ "reward": 26.09090909090909,
54
+ "creation_time": 1756461825.2492046,
55
+ "auxillary_file_paths": [
56
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
57
+ ]
58
+ }
59
+ },
60
+ "metadata": {
61
+ "stats_format_version": "0.3.0",
62
+ "mlagents_version": "1.2.0.dev0",
63
+ "torch_version": "2.8.0+cu128"
64
+ }
65
+ }