GrimReaperSam commited on
Commit
389af20
·
1 Parent(s): cbbc685

Add snowball target

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-SnowballTarget
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **SnowballTarget**
13
+ This is a trained model of a **ppo** agent playing **SnowballTarget** 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-SnowballTarget
28
+ 2. Step 1: Write your model_id: GrimReaperSam/ppo-SnowballTarget
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SnowballTarget.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87c900c4d1e58ce7796d4d09ebc3ff288bceebc3d22b5eb322fb399b983405c6
3
+ size 650646
SnowballTarget/SnowballTarget-149984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e1c099b9ebbe4911d0bd4c5d4e8443ba52dff6838e69f24389dda5efe0b6d31
3
+ size 650646
SnowballTarget/SnowballTarget-149984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8be3c69f8a8b21eeb6caa03de6b054f78ca16c6b197104cd368ce903fa8c7d9c
3
+ size 3849614
SnowballTarget/SnowballTarget-199984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87c900c4d1e58ce7796d4d09ebc3ff288bceebc3d22b5eb322fb399b983405c6
3
+ size 650646
SnowballTarget/SnowballTarget-199984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc375b6628c11a9c45e0373308a7efe121e02ab27c0c193da881dfe77adf0eb0
3
+ size 3849614
SnowballTarget/SnowballTarget-200112.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87c900c4d1e58ce7796d4d09ebc3ff288bceebc3d22b5eb322fb399b983405c6
3
+ size 650646
SnowballTarget/SnowballTarget-200112.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:228b735a12a67ccb632e4079d54c53ad285655e77896d22859f675cbd7b402a5
3
+ size 3849614
SnowballTarget/SnowballTarget-49936.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a788a2fd817f30c67caf17983c91d4e7fa535c6be999b82d92644385c8b59d8
3
+ size 650646
SnowballTarget/SnowballTarget-49936.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:211927bfa8d0d2c8ef1bf871ce11386a523a14f17e00517c5405f0af9a72b36c
3
+ size 3849541
SnowballTarget/SnowballTarget-99960.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cf633a34a53f5853192149e99b0300c282ab05e3ddc04d398aecdc310d690ec
3
+ size 650646
SnowballTarget/SnowballTarget-99960.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62e37cd09136ccee620c400d824696a69ec8ddf6d7dc119dfb234ecb21ca06e2
3
+ size 3849541
SnowballTarget/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21fe45c063a9853f5042c824d6b652ef81b9db8bb7ffff251c0b594e94f5baeb
3
+ size 3848811
SnowballTarget/events.out.tfevents.1676412661.VDI-H-LIN-P-003.vdi.pix4d.com.3579175.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c4b5113a1278f070d02525337385a0cf5d7e02cad6208809087f17512f05a2d
3
+ size 23959
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, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "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, "checkpoint_interval": 50000, "max_steps": 200000, "time_horizon": 64, "summary_freq": 10000, "threaded": true, "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, "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": "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, "fake_dict": {}}
configuration.yaml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 256
19
+ num_layers: 2
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.99
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ init_path: null
37
+ keep_checkpoints: 10
38
+ checkpoint_interval: 50000
39
+ max_steps: 200000
40
+ time_horizon: 64
41
+ summary_freq: 10000
42
+ threaded: true
43
+ self_play: null
44
+ behavioral_cloning: null
45
+ env_settings:
46
+ env_path: ./training-envs-executables/linux/SnowballTarget/SnowballTarget
47
+ env_args: null
48
+ base_port: 5005
49
+ num_envs: 1
50
+ num_areas: 1
51
+ seed: -1
52
+ max_lifetime_restarts: 10
53
+ restarts_rate_limit_n: 1
54
+ restarts_rate_limit_period_s: 60
55
+ engine_settings:
56
+ width: 84
57
+ height: 84
58
+ quality_level: 5
59
+ time_scale: 20
60
+ target_frame_rate: -1
61
+ capture_frame_rate: 60
62
+ no_graphics: true
63
+ environment_parameters: null
64
+ checkpoint_settings:
65
+ run_id: SnowballTarget1
66
+ initialize_from: null
67
+ load_model: false
68
+ resume: false
69
+ force: false
70
+ train_model: false
71
+ inference: false
72
+ results_dir: results
73
+ torch_settings:
74
+ device: null
75
+ debug: false
76
+ fake_dict: {}
run_logs/Player-0.log ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/flahoud/collab/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/Managed'
2
+ Mono config path = '/home/flahoud/collab/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/flahoud/.config/unity3d/Hugging Face/SnowballTarget
6
+ Unable to load player prefs
7
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
8
+ [Subsystems] Discovering subsystems at path /home/flahoud/collab/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/UnitySubsystems
9
+ Forcing GfxDevice: Null
10
+ GfxDevice: creating device client; threaded=0; jobified=0
11
+ NullGfxDevice:
12
+ Version: NULL 1.0 [1.0]
13
+ Renderer: Null Device
14
+ Vendor: Unity Technologies
15
+ Begin MonoManager ReloadAssembly
16
+ - Completed reload, in 0.076 seconds
17
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
21
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
22
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
23
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
24
+ WARNING: Shader Unsupported: 'Standard' - 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
+ UnloadTime: 0.592708 ms
28
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ requesting resize 84 x 84
30
+ Setting up 4 worker threads for Enlighten.
31
+ Memory Statistics:
32
+ [ALLOC_TEMP_TLS] TLS Allocator
33
+ StackAllocators :
34
+ [ALLOC_TEMP_MAIN]
35
+ Peak usage frame count: [8.0 KB-16.0 KB]: 5368 frames, [16.0 KB-32.0 KB]: 91 frames, [2.0 MB-4.0 MB]: 1 frames
36
+ Initial Block Size 4.0 MB
37
+ Current Block Size 4.0 MB
38
+ Peak Allocated Bytes 2.0 MB
39
+ Overflow Count 0
40
+ [ALLOC_TEMP_Loading.AsyncRead]
41
+ Initial Block Size 64.0 KB
42
+ Current Block Size 64.0 KB
43
+ Peak Allocated Bytes 222 B
44
+ Overflow Count 0
45
+ [ALLOC_TEMP_Loading.PreloadManager]
46
+ Initial Block Size 256.0 KB
47
+ Current Block Size 304.0 KB
48
+ Peak Allocated Bytes 228.9 KB
49
+ Overflow Count 4
50
+ [ALLOC_TEMP_Background Job.Worker 8]
51
+ Initial Block Size 32.0 KB
52
+ Current Block Size 32.0 KB
53
+ Peak Allocated Bytes 0 B
54
+ Overflow Count 0
55
+ [ALLOC_TEMP_Job.Worker 6]
56
+ Initial Block Size 256.0 KB
57
+ Current Block Size 256.0 KB
58
+ Peak Allocated Bytes 3.6 KB
59
+ Overflow Count 0
60
+ [ALLOC_TEMP_Job.Worker 0]
61
+ Initial Block Size 256.0 KB
62
+ Current Block Size 256.0 KB
63
+ Peak Allocated Bytes 3.6 KB
64
+ Overflow Count 0
65
+ [ALLOC_TEMP_Background Job.Worker 10]
66
+ Initial Block Size 32.0 KB
67
+ Current Block Size 32.0 KB
68
+ Peak Allocated Bytes 0 B
69
+ Overflow Count 0
70
+ [ALLOC_TEMP_Background Job.Worker 9]
71
+ Initial Block Size 32.0 KB
72
+ Current Block Size 32.0 KB
73
+ Peak Allocated Bytes 0 B
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Job.Worker 5]
76
+ Initial Block Size 256.0 KB
77
+ Current Block Size 256.0 KB
78
+ Peak Allocated Bytes 3.6 KB
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_Background Job.Worker 14]
81
+ Initial Block Size 32.0 KB
82
+ Current Block Size 32.0 KB
83
+ Peak Allocated Bytes 0 B
84
+ Overflow Count 0
85
+ [ALLOC_TEMP_Background Job.Worker 6]
86
+ Initial Block Size 32.0 KB
87
+ Current Block Size 32.0 KB
88
+ Peak Allocated Bytes 0 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Job.Worker 4]
91
+ Initial Block Size 256.0 KB
92
+ Current Block Size 256.0 KB
93
+ Peak Allocated Bytes 3.6 KB
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Job.Worker 3]
96
+ Initial Block Size 256.0 KB
97
+ Current Block Size 256.0 KB
98
+ Peak Allocated Bytes 3.6 KB
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_Background Job.Worker 12]
101
+ Initial Block Size 32.0 KB
102
+ Current Block Size 32.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_EnlightenWorker] x 4
106
+ Initial Block Size 64.0 KB
107
+ Current Block Size 64.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Background Job.Worker 15]
111
+ Initial Block Size 32.0 KB
112
+ Current Block Size 32.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 1]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 2]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Background Job.Worker 7]
126
+ Initial Block Size 32.0 KB
127
+ Current Block Size 32.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
131
+ Initial Block Size 64.0 KB
132
+ Current Block Size 64.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 5]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Background Job.Worker 13]
141
+ Initial Block Size 32.0 KB
142
+ Current Block Size 32.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Job.Worker 1]
146
+ Initial Block Size 256.0 KB
147
+ Current Block Size 256.0 KB
148
+ Peak Allocated Bytes 3.6 KB
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Job.Worker 2]
151
+ Initial Block Size 256.0 KB
152
+ Current Block Size 256.0 KB
153
+ Peak Allocated Bytes 3.6 KB
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 3]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 11]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Background Job.Worker 0]
166
+ Initial Block Size 32.0 KB
167
+ Current Block Size 32.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Background Job.Worker 4]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_BatchDeleteObjects]
176
+ Initial Block Size 64.0 KB
177
+ Current Block Size 64.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_DEFAULT] Dual Thread Allocator
181
+ Peak main deferred allocation count 41
182
+ [ALLOC_BUCKET]
183
+ Large Block size 4.0 MB
184
+ Used Block count 1
185
+ Peak Allocated bytes 1.0 MB
186
+ [ALLOC_DEFAULT_MAIN]
187
+ Peak usage frame count: [4.0 MB-8.0 MB]: 5460 frames
188
+ Requested Block Size 16.0 MB
189
+ Peak Block count 1
190
+ Peak Allocated memory 7.0 MB
191
+ Peak Large allocation bytes 0 B
192
+ [ALLOC_DEFAULT_THREAD]
193
+ Peak usage frame count: [16.0 MB-32.0 MB]: 5460 frames
194
+ Requested Block Size 16.0 MB
195
+ Peak Block count 1
196
+ Peak Allocated memory 17.5 MB
197
+ Peak Large allocation bytes 16.0 MB
198
+ [ALLOC_TEMP_JOB_1_FRAME]
199
+ Initial Block Size 2.0 MB
200
+ Used Block Count 1
201
+ Overflow Count (too large) 0
202
+ Overflow Count (full) 0
203
+ [ALLOC_TEMP_JOB_2_FRAMES]
204
+ Initial Block Size 2.0 MB
205
+ Used Block Count 1
206
+ Overflow Count (too large) 0
207
+ Overflow Count (full) 0
208
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
209
+ Initial Block Size 2.0 MB
210
+ Used Block Count 2
211
+ Overflow Count (too large) 0
212
+ Overflow Count (full) 0
213
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
214
+ Initial Block Size 1.0 MB
215
+ Used Block Count 3
216
+ Overflow Count (too large) 0
217
+ Overflow Count (full) 0
218
+ [ALLOC_GFX] Dual Thread Allocator
219
+ Peak main deferred allocation count 0
220
+ [ALLOC_BUCKET]
221
+ Large Block size 4.0 MB
222
+ Used Block count 1
223
+ Peak Allocated bytes 1.0 MB
224
+ [ALLOC_GFX_MAIN]
225
+ Peak usage frame count: [32.0 KB-64.0 KB]: 4032 frames, [64.0 KB-128.0 KB]: 1428 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 67.3 KB
229
+ Peak Large allocation bytes 0 B
230
+ [ALLOC_GFX_THREAD]
231
+ Peak usage frame count: [32.0 KB-64.0 KB]: 5460 frames
232
+ Requested Block Size 16.0 MB
233
+ Peak Block count 1
234
+ Peak Allocated memory 39.6 KB
235
+ Peak Large allocation bytes 0 B
236
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
237
+ Peak main deferred allocation count 0
238
+ [ALLOC_BUCKET]
239
+ Large Block size 4.0 MB
240
+ Used Block count 1
241
+ Peak Allocated bytes 1.0 MB
242
+ [ALLOC_CACHEOBJECTS_MAIN]
243
+ Peak usage frame count: [0.5 MB-1.0 MB]: 5460 frames
244
+ Requested Block Size 4.0 MB
245
+ Peak Block count 1
246
+ Peak Allocated memory 0.6 MB
247
+ Peak Large allocation bytes 0 B
248
+ [ALLOC_CACHEOBJECTS_THREAD]
249
+ Peak usage frame count: [0.5 MB-1.0 MB]: 5459 frames, [2.0 MB-4.0 MB]: 1 frames
250
+ Requested Block Size 4.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 2.2 MB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_TYPETREE] Dual Thread Allocator
255
+ Peak main deferred allocation count 0
256
+ [ALLOC_BUCKET]
257
+ Large Block size 4.0 MB
258
+ Used Block count 1
259
+ Peak Allocated bytes 1.0 MB
260
+ [ALLOC_TYPETREE_MAIN]
261
+ Peak usage frame count: [0-1.0 KB]: 5460 frames
262
+ Requested Block Size 2.0 MB
263
+ Peak Block count 1
264
+ Peak Allocated memory 1.0 KB
265
+ Peak Large allocation bytes 0 B
266
+ [ALLOC_TYPETREE_THREAD]
267
+ Peak usage frame count: [1.0 KB-2.0 KB]: 5460 frames
268
+ Requested Block Size 2.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 1.7 KB
271
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 0.8863435387611389,
6
+ "min": 0.8863435387611389,
7
+ "max": 2.87099027633667,
8
+ "count": 20
9
+ },
10
+ "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 8472.5576171875,
12
+ "min": 8472.5576171875,
13
+ "max": 29401.810546875,
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.15700626373291,
30
+ "min": 0.40668749809265137,
31
+ "max": 12.15700626373291,
32
+ "count": 20
33
+ },
34
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 2370.6162109375,
36
+ "min": 78.89737701416016,
37
+ "max": 2444.7900390625,
38
+ "count": 20
39
+ },
40
+ "SnowballTarget.Environment.EpisodeLength.mean": {
41
+ "value": 199.0,
42
+ "min": 199.0,
43
+ "max": 199.0,
44
+ "count": 20
45
+ },
46
+ "SnowballTarget.Environment.EpisodeLength.sum": {
47
+ "value": 8756.0,
48
+ "min": 8756.0,
49
+ "max": 10945.0,
50
+ "count": 20
51
+ },
52
+ "SnowballTarget.Losses.PolicyLoss.mean": {
53
+ "value": 0.073456306643921,
54
+ "min": 0.0641530686281804,
55
+ "max": 0.07547895538293375,
56
+ "count": 20
57
+ },
58
+ "SnowballTarget.Losses.PolicyLoss.sum": {
59
+ "value": 0.293825226575684,
60
+ "min": 0.2566122745127216,
61
+ "max": 0.3726870564883118,
62
+ "count": 20
63
+ },
64
+ "SnowballTarget.Losses.ValueLoss.mean": {
65
+ "value": 0.20422221921092154,
66
+ "min": 0.0958455214117124,
67
+ "max": 0.27959766417157417,
68
+ "count": 20
69
+ },
70
+ "SnowballTarget.Losses.ValueLoss.sum": {
71
+ "value": 0.8168888768436862,
72
+ "min": 0.3833820856468496,
73
+ "max": 1.3979883208578707,
74
+ "count": 20
75
+ },
76
+ "SnowballTarget.Policy.LearningRate.mean": {
77
+ "value": 8.082097306000005e-06,
78
+ "min": 8.082097306000005e-06,
79
+ "max": 0.000291882002706,
80
+ "count": 20
81
+ },
82
+ "SnowballTarget.Policy.LearningRate.sum": {
83
+ "value": 3.232838922400002e-05,
84
+ "min": 3.232838922400002e-05,
85
+ "max": 0.00138516003828,
86
+ "count": 20
87
+ },
88
+ "SnowballTarget.Policy.Epsilon.mean": {
89
+ "value": 0.10269400000000001,
90
+ "min": 0.10269400000000001,
91
+ "max": 0.19729400000000002,
92
+ "count": 20
93
+ },
94
+ "SnowballTarget.Policy.Epsilon.sum": {
95
+ "value": 0.41077600000000003,
96
+ "min": 0.41077600000000003,
97
+ "max": 0.96172,
98
+ "count": 20
99
+ },
100
+ "SnowballTarget.Policy.Beta.mean": {
101
+ "value": 0.0001444306000000001,
102
+ "min": 0.0001444306000000001,
103
+ "max": 0.0048649706,
104
+ "count": 20
105
+ },
106
+ "SnowballTarget.Policy.Beta.sum": {
107
+ "value": 0.0005777224000000004,
108
+ "min": 0.0005777224000000004,
109
+ "max": 0.023089828,
110
+ "count": 20
111
+ },
112
+ "SnowballTarget.Environment.CumulativeReward.mean": {
113
+ "value": 23.863636363636363,
114
+ "min": 2.909090909090909,
115
+ "max": 24.0,
116
+ "count": 20
117
+ },
118
+ "SnowballTarget.Environment.CumulativeReward.sum": {
119
+ "value": 1050.0,
120
+ "min": 128.0,
121
+ "max": 1320.0,
122
+ "count": 20
123
+ },
124
+ "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
+ "value": 23.863636363636363,
126
+ "min": 2.909090909090909,
127
+ "max": 24.0,
128
+ "count": 20
129
+ },
130
+ "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
+ "value": 1050.0,
132
+ "min": 128.0,
133
+ "max": 1320.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": "1676412661",
152
+ "python_version": "3.8.16 | packaged by conda-forge | (default, Feb 1 2023, 16:01:55) \n[GCC 11.3.0]",
153
+ "command_line_arguments": "/home/flahoud/miniconda3/envs/rl/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
154
+ "mlagents_version": "0.29.0.dev0",
155
+ "mlagents_envs_version": "0.29.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "1.13.1+cu117",
158
+ "numpy_version": "1.22.0",
159
+ "end_time_seconds": "1676412967"
160
+ },
161
+ "total": 306.4147855709307,
162
+ "count": 1,
163
+ "self": 0.27007266227155924,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.026501960586756468,
167
+ "count": 1,
168
+ "self": 0.026501960586756468
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 306.1182109480724,
172
+ "count": 1,
173
+ "self": 0.45160509552806616,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.1148730544373393,
177
+ "count": 1,
178
+ "self": 2.1148730544373393
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 303.48233869997784,
182
+ "count": 18200,
183
+ "self": 0.20690910425037146,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 303.2754295957275,
187
+ "count": 18200,
188
+ "self": 204.39120580116287,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 98.68555756518617,
192
+ "count": 18200,
193
+ "self": 1.3977263742126524,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 97.28783119097352,
197
+ "count": 18200,
198
+ "self": 21.41726898495108,
199
+ "children": {
200
+ "TorchPolicy.sample_actions": {
201
+ "total": 75.87056220602244,
202
+ "count": 18200,
203
+ "self": 75.87056220602244
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "workers": {
210
+ "total": 0.19866622937843204,
211
+ "count": 18200,
212
+ "self": 0.0,
213
+ "children": {
214
+ "worker_root": {
215
+ "total": 305.45667606638744,
216
+ "count": 18200,
217
+ "is_parallel": true,
218
+ "self": 161.4256713585928,
219
+ "children": {
220
+ "run_training.setup": {
221
+ "total": 0.0,
222
+ "count": 0,
223
+ "is_parallel": true,
224
+ "self": 0.0,
225
+ "children": {
226
+ "steps_from_proto": {
227
+ "total": 0.0016560880467295647,
228
+ "count": 1,
229
+ "is_parallel": true,
230
+ "self": 0.0005039121024310589,
231
+ "children": {
232
+ "_process_rank_one_or_two_observation": {
233
+ "total": 0.0011521759442985058,
234
+ "count": 10,
235
+ "is_parallel": true,
236
+ "self": 0.0011521759442985058
237
+ }
238
+ }
239
+ },
240
+ "UnityEnvironment.step": {
241
+ "total": 0.020480547565966845,
242
+ "count": 1,
243
+ "is_parallel": true,
244
+ "self": 0.0002981778234243393,
245
+ "children": {
246
+ "UnityEnvironment._generate_step_input": {
247
+ "total": 0.00023158686235547066,
248
+ "count": 1,
249
+ "is_parallel": true,
250
+ "self": 0.00023158686235547066
251
+ },
252
+ "communicator.exchange": {
253
+ "total": 0.01896824175491929,
254
+ "count": 1,
255
+ "is_parallel": true,
256
+ "self": 0.01896824175491929
257
+ },
258
+ "steps_from_proto": {
259
+ "total": 0.000982541125267744,
260
+ "count": 1,
261
+ "is_parallel": true,
262
+ "self": 0.0002453140914440155,
263
+ "children": {
264
+ "_process_rank_one_or_two_observation": {
265
+ "total": 0.0007372270338237286,
266
+ "count": 10,
267
+ "is_parallel": true,
268
+ "self": 0.0007372270338237286
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 144.03100470779464,
278
+ "count": 18199,
279
+ "is_parallel": true,
280
+ "self": 5.170735183171928,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 2.8592593921348453,
284
+ "count": 18199,
285
+ "is_parallel": true,
286
+ "self": 2.8592593921348453
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 119.39275595266372,
290
+ "count": 18199,
291
+ "is_parallel": true,
292
+ "self": 119.39275595266372
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 16.608254179824144,
296
+ "count": 18199,
297
+ "is_parallel": true,
298
+ "self": 3.6189201520755887,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 12.989334027748555,
302
+ "count": 181990,
303
+ "is_parallel": true,
304
+ "self": 12.989334027748555
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ },
318
+ "trainer_threads": {
319
+ "total": 0.00011368328705430031,
320
+ "count": 1,
321
+ "self": 0.00011368328705430031,
322
+ "children": {
323
+ "thread_root": {
324
+ "total": 0.0,
325
+ "count": 0,
326
+ "is_parallel": true,
327
+ "self": 0.0,
328
+ "children": {
329
+ "trainer_advance": {
330
+ "total": 302.70592384506017,
331
+ "count": 252248,
332
+ "is_parallel": true,
333
+ "self": 3.042625332251191,
334
+ "children": {
335
+ "process_trajectory": {
336
+ "total": 162.59467322658747,
337
+ "count": 252248,
338
+ "is_parallel": true,
339
+ "self": 162.20027481298894,
340
+ "children": {
341
+ "RLTrainer._checkpoint": {
342
+ "total": 0.39439841359853745,
343
+ "count": 4,
344
+ "is_parallel": true,
345
+ "self": 0.39439841359853745
346
+ }
347
+ }
348
+ },
349
+ "_update_policy": {
350
+ "total": 137.0686252862215,
351
+ "count": 90,
352
+ "is_parallel": true,
353
+ "self": 35.506590554025024,
354
+ "children": {
355
+ "TorchPPOOptimizer.update": {
356
+ "total": 101.56203473219648,
357
+ "count": 4587,
358
+ "is_parallel": true,
359
+ "self": 101.56203473219648
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ },
369
+ "TrainerController._save_models": {
370
+ "total": 0.06928041484206915,
371
+ "count": 1,
372
+ "self": 0.0008493517525494099,
373
+ "children": {
374
+ "RLTrainer._checkpoint": {
375
+ "total": 0.06843106308951974,
376
+ "count": 1,
377
+ "self": 0.06843106308951974
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ }
384
+ }
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": 12.909090909090908,
8
+ "creation_time": 1676412738.551545,
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.181818181818183,
17
+ "creation_time": 1676412814.6939003,
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.0,
26
+ "creation_time": 1676412891.4534647,
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": 23.272727272727273,
35
+ "creation_time": 1676412967.3236773,
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": 23.272727272727273,
44
+ "creation_time": 1676412967.4171715,
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": 23.272727272727273,
54
+ "creation_time": 1676412967.4171715,
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": "0.29.0.dev0",
63
+ "torch_version": "1.13.1+cu117"
64
+ }
65
+ }