smiley-maker commited on
Commit
84c824f
1 Parent(s): 4e5da05

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: smiley-maker/ppo-SnowballTarget2
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:a8cf3d8f49f9b8fda5bde914bb99dec1f2fdbb7d59d3c7f8fd5658f57a151beb
3
+ size 271829
SnowballTarget/SnowballTarget-499976.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bc0fc59d7a4e2bff036cecbbc3e61452b49bed920023cb58843a3d2ab024916
3
+ size 271829
SnowballTarget/SnowballTarget-499976.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87033b4483562aadd2c15cccf65985681dc389e51407f04e86b8f65ff2892b26
3
+ size 2370966
SnowballTarget/SnowballTarget-500104.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8cf3d8f49f9b8fda5bde914bb99dec1f2fdbb7d59d3c7f8fd5658f57a151beb
3
+ size 271829
SnowballTarget/SnowballTarget-500104.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b30bce1f500077ec5924bfd0e14b589df5a5beaea0ef0a6778aaccb22f5ea052
3
+ size 2370966
SnowballTarget/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e46855ee70b06963cfa19a7705fe04fceb64ff127cfa948be3c1c57a65d1bfd
3
+ size 2369591
SnowballTarget/events.out.tfevents.1711530714.34ee6c2b4acf.14548.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d14b89f9967d11523473210d8aba7d1c11e1d536f1dbf8c2a4fdf6cc528ddc40
3
+ size 18270
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SnowballTarget": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 1024, "buffer_size": 10240, "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": 500000, "network_settings": {"normalize": true, "hidden_units": 128, "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}}, "curiosity": {"gamma": 0.99, "strength": 0.2, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0003, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 500000, "time_horizon": 64, "summary_freq": 50000, "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": "SnowballTarget3", "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,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SnowballTarget:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 1024
7
+ buffer_size: 10240
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: 500000
18
+ network_settings:
19
+ normalize: true
20
+ hidden_units: 128
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
+ curiosity:
39
+ gamma: 0.99
40
+ strength: 0.2
41
+ network_settings:
42
+ normalize: false
43
+ hidden_units: 128
44
+ num_layers: 2
45
+ vis_encode_type: simple
46
+ memory: null
47
+ goal_conditioning_type: hyper
48
+ deterministic: false
49
+ learning_rate: 0.0003
50
+ encoding_size: null
51
+ init_path: null
52
+ keep_checkpoints: 5
53
+ even_checkpoints: false
54
+ max_steps: 500000
55
+ time_horizon: 64
56
+ summary_freq: 50000
57
+ threaded: false
58
+ self_play: null
59
+ behavioral_cloning: null
60
+ env_settings:
61
+ env_path: ./training-envs-executables/linux/SnowballTarget/SnowballTarget
62
+ env_args: null
63
+ base_port: 5005
64
+ num_envs: 1
65
+ num_areas: 1
66
+ timeout_wait: 60
67
+ seed: -1
68
+ max_lifetime_restarts: 10
69
+ restarts_rate_limit_n: 1
70
+ restarts_rate_limit_period_s: 60
71
+ engine_settings:
72
+ width: 84
73
+ height: 84
74
+ quality_level: 5
75
+ time_scale: 20
76
+ target_frame_rate: -1
77
+ capture_frame_rate: 60
78
+ no_graphics: true
79
+ no_graphics_monitor: false
80
+ environment_parameters: null
81
+ checkpoint_settings:
82
+ run_id: SnowballTarget3
83
+ initialize_from: null
84
+ load_model: false
85
+ resume: false
86
+ force: false
87
+ train_model: false
88
+ inference: false
89
+ results_dir: results
90
+ torch_settings:
91
+ device: null
92
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/Managed'
2
+ Mono config path = '/content/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
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_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
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
15
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
21
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
22
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
23
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
25
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
31
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
32
+ FMOD initialized on nosound output
33
+ Begin MonoManager ReloadAssembly
34
+ - Completed reload, in 0.095 seconds
35
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
39
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
40
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
41
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ UnloadTime: 0.970562 ms
46
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
47
+ requesting resize 84 x 84
48
+ Setting up 1 worker threads for Enlighten.
49
+ Memory Statistics:
50
+ [ALLOC_TEMP_TLS] TLS Allocator
51
+ StackAllocators :
52
+ [ALLOC_TEMP_MAIN]
53
+ Peak usage frame count: [8.0 KB-16.0 KB]: 13412 frames, [16.0 KB-32.0 KB]: 227 frames, [2.0 MB-4.0 MB]: 1 frames
54
+ Initial Block Size 4.0 MB
55
+ Current Block Size 4.0 MB
56
+ Peak Allocated Bytes 2.0 MB
57
+ Overflow Count 0
58
+ [ALLOC_TEMP_Loading.AsyncRead]
59
+ Initial Block Size 64.0 KB
60
+ Current Block Size 64.0 KB
61
+ Peak Allocated Bytes 198 B
62
+ Overflow Count 0
63
+ [ALLOC_TEMP_Loading.PreloadManager]
64
+ Initial Block Size 256.0 KB
65
+ Current Block Size 304.0 KB
66
+ Peak Allocated Bytes 228.9 KB
67
+ Overflow Count 4
68
+ [ALLOC_TEMP_Background Job.Worker 8]
69
+ Initial Block Size 32.0 KB
70
+ Current Block Size 32.0 KB
71
+ Peak Allocated Bytes 0 B
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Background Job.Worker 9]
74
+ Initial Block Size 32.0 KB
75
+ Current Block Size 32.0 KB
76
+ Peak Allocated Bytes 0 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Job.Worker 0]
79
+ Initial Block Size 256.0 KB
80
+ Current Block Size 256.0 KB
81
+ Peak Allocated Bytes 3.6 KB
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Background Job.Worker 10]
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_Background Job.Worker 14]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Background Job.Worker 6]
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 12]
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_EnlightenWorker]
104
+ Initial Block Size 64.0 KB
105
+ Current Block Size 64.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 15]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Background Job.Worker 1]
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_Background Job.Worker 2]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 7]
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_AssetGarbageCollectorHelper]
129
+ Initial Block Size 64.0 KB
130
+ Current Block Size 64.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Background Job.Worker 11]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 3]
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 0]
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_Background Job.Worker 4]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_BatchDeleteObjects]
164
+ Initial Block Size 64.0 KB
165
+ Current Block Size 64.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_DEFAULT] Dual Thread Allocator
169
+ Peak main deferred allocation count 40
170
+ [ALLOC_BUCKET]
171
+ Large Block size 4.0 MB
172
+ Used Block count 1
173
+ Peak Allocated bytes 1.0 MB
174
+ [ALLOC_DEFAULT_MAIN]
175
+ Peak usage frame count: [4.0 MB-8.0 MB]: 12748 frames, [8.0 MB-16.0 MB]: 892 frames
176
+ Requested Block Size 16.0 MB
177
+ Peak Block count 1
178
+ Peak Allocated memory 9.6 MB
179
+ Peak Large allocation bytes 0 B
180
+ [ALLOC_DEFAULT_THREAD]
181
+ Peak usage frame count: [16.0 MB-32.0 MB]: 13640 frames
182
+ Requested Block Size 16.0 MB
183
+ Peak Block count 1
184
+ Peak Allocated memory 17.8 MB
185
+ Peak Large allocation bytes 16.0 MB
186
+ [ALLOC_TEMP_JOB_1_FRAME]
187
+ Initial Block Size 2.0 MB
188
+ Used Block Count 1
189
+ Overflow Count (too large) 0
190
+ Overflow Count (full) 0
191
+ [ALLOC_TEMP_JOB_2_FRAMES]
192
+ Initial Block Size 2.0 MB
193
+ Used Block Count 1
194
+ Overflow Count (too large) 0
195
+ Overflow Count (full) 0
196
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
197
+ Initial Block Size 2.0 MB
198
+ Used Block Count 2
199
+ Overflow Count (too large) 0
200
+ Overflow Count (full) 0
201
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
202
+ Initial Block Size 1.0 MB
203
+ Used Block Count 3
204
+ Overflow Count (too large) 0
205
+ Overflow Count (full) 0
206
+ [ALLOC_GFX] Dual Thread Allocator
207
+ Peak main deferred allocation count 0
208
+ [ALLOC_BUCKET]
209
+ Large Block size 4.0 MB
210
+ Used Block count 1
211
+ Peak Allocated bytes 1.0 MB
212
+ [ALLOC_GFX_MAIN]
213
+ Peak usage frame count: [32.0 KB-64.0 KB]: 13104 frames, [64.0 KB-128.0 KB]: 536 frames
214
+ Requested Block Size 16.0 MB
215
+ Peak Block count 1
216
+ Peak Allocated memory 66.4 KB
217
+ Peak Large allocation bytes 0 B
218
+ [ALLOC_GFX_THREAD]
219
+ Peak usage frame count: [32.0 KB-64.0 KB]: 13640 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 1
222
+ Peak Allocated memory 39.6 KB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
225
+ Peak main deferred allocation count 0
226
+ [ALLOC_BUCKET]
227
+ Large Block size 4.0 MB
228
+ Used Block count 1
229
+ Peak Allocated bytes 1.0 MB
230
+ [ALLOC_CACHEOBJECTS_MAIN]
231
+ Peak usage frame count: [0.5 MB-1.0 MB]: 13640 frames
232
+ Requested Block Size 4.0 MB
233
+ Peak Block count 1
234
+ Peak Allocated memory 0.6 MB
235
+ Peak Large allocation bytes 0 B
236
+ [ALLOC_CACHEOBJECTS_THREAD]
237
+ Peak usage frame count: [0.5 MB-1.0 MB]: 13639 frames, [2.0 MB-4.0 MB]: 1 frames
238
+ Requested Block Size 4.0 MB
239
+ Peak Block count 1
240
+ Peak Allocated memory 2.2 MB
241
+ Peak Large allocation bytes 0 B
242
+ [ALLOC_TYPETREE] Dual Thread Allocator
243
+ Peak main deferred allocation count 0
244
+ [ALLOC_BUCKET]
245
+ Large Block size 4.0 MB
246
+ Used Block count 1
247
+ Peak Allocated bytes 1.0 MB
248
+ [ALLOC_TYPETREE_MAIN]
249
+ Peak usage frame count: [0-1.0 KB]: 13640 frames
250
+ Requested Block Size 2.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 1.0 KB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_TYPETREE_THREAD]
255
+ Peak usage frame count: [1.0 KB-2.0 KB]: 13640 frames
256
+ Requested Block Size 2.0 MB
257
+ Peak Block count 1
258
+ Peak Allocated memory 1.7 KB
259
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,410 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 1.1493377685546875,
6
+ "min": 1.1493377685546875,
7
+ "max": 2.864180564880371,
8
+ "count": 10
9
+ },
10
+ "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 57347.35546875,
12
+ "min": 57347.35546875,
13
+ "max": 144675.484375,
14
+ "count": 10
15
+ },
16
+ "SnowballTarget.Step.mean": {
17
+ "value": 499976.0,
18
+ "min": 49936.0,
19
+ "max": 499976.0,
20
+ "count": 10
21
+ },
22
+ "SnowballTarget.Step.sum": {
23
+ "value": 499976.0,
24
+ "min": 49936.0,
25
+ "max": 499976.0,
26
+ "count": 10
27
+ },
28
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 12.845760345458984,
30
+ "min": 0.3540566861629486,
31
+ "max": 12.845760345458984,
32
+ "count": 10
33
+ },
34
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 12884.2978515625,
36
+ "min": 351.2242431640625,
37
+ "max": 12884.2978515625,
38
+ "count": 10
39
+ },
40
+ "SnowballTarget.Policy.CuriosityValueEstimate.mean": {
41
+ "value": 0.8443097472190857,
42
+ "min": 0.21610280871391296,
43
+ "max": 1.0515366792678833,
44
+ "count": 10
45
+ },
46
+ "SnowballTarget.Policy.CuriosityValueEstimate.sum": {
47
+ "value": 846.8426513671875,
48
+ "min": 214.37399291992188,
49
+ "max": 1044.1759033203125,
50
+ "count": 10
51
+ },
52
+ "SnowballTarget.Environment.EpisodeLength.mean": {
53
+ "value": 199.0,
54
+ "min": 199.0,
55
+ "max": 199.0,
56
+ "count": 10
57
+ },
58
+ "SnowballTarget.Environment.EpisodeLength.sum": {
59
+ "value": 50347.0,
60
+ "min": 48158.0,
61
+ "max": 50347.0,
62
+ "count": 10
63
+ },
64
+ "SnowballTarget.Environment.CumulativeReward.mean": {
65
+ "value": 25.893280632411066,
66
+ "min": 3.855371900826446,
67
+ "max": 25.893280632411066,
68
+ "count": 10
69
+ },
70
+ "SnowballTarget.Environment.CumulativeReward.sum": {
71
+ "value": 6551.0,
72
+ "min": 933.0,
73
+ "max": 6551.0,
74
+ "count": 10
75
+ },
76
+ "SnowballTarget.Policy.ExtrinsicReward.mean": {
77
+ "value": 25.893280632411066,
78
+ "min": 3.855371900826446,
79
+ "max": 25.893280632411066,
80
+ "count": 10
81
+ },
82
+ "SnowballTarget.Policy.ExtrinsicReward.sum": {
83
+ "value": 6551.0,
84
+ "min": 933.0,
85
+ "max": 6551.0,
86
+ "count": 10
87
+ },
88
+ "SnowballTarget.Policy.CuriosityReward.mean": {
89
+ "value": 1.624363026246723,
90
+ "min": 1.624363026246723,
91
+ "max": 2.892317029639832,
92
+ "count": 10
93
+ },
94
+ "SnowballTarget.Policy.CuriosityReward.sum": {
95
+ "value": 410.9638456404209,
96
+ "min": 410.9638456404209,
97
+ "max": 699.9407211728394,
98
+ "count": 10
99
+ },
100
+ "SnowballTarget.Losses.PolicyLoss.mean": {
101
+ "value": 0.022228808685273785,
102
+ "min": 0.0222080560298006,
103
+ "max": 0.026353130527180232,
104
+ "count": 10
105
+ },
106
+ "SnowballTarget.Losses.PolicyLoss.sum": {
107
+ "value": 0.08891523474109514,
108
+ "min": 0.08891523474109514,
109
+ "max": 0.12910080968249532,
110
+ "count": 10
111
+ },
112
+ "SnowballTarget.Losses.ValueLoss.mean": {
113
+ "value": 0.13977829820166032,
114
+ "min": 0.07806220607211192,
115
+ "max": 0.19508210450410843,
116
+ "count": 10
117
+ },
118
+ "SnowballTarget.Losses.ValueLoss.sum": {
119
+ "value": 0.5591131928066413,
120
+ "min": 0.3122488242884477,
121
+ "max": 0.9754105225205422,
122
+ "count": 10
123
+ },
124
+ "SnowballTarget.Policy.LearningRate.mean": {
125
+ "value": 1.4576495141199999e-05,
126
+ "min": 1.4576495141199999e-05,
127
+ "max": 0.0002841864052712,
128
+ "count": 10
129
+ },
130
+ "SnowballTarget.Policy.LearningRate.sum": {
131
+ "value": 5.8305980564799996e-05,
132
+ "min": 5.8305980564799996e-05,
133
+ "max": 0.0012797184734271998,
134
+ "count": 10
135
+ },
136
+ "SnowballTarget.Policy.Epsilon.mean": {
137
+ "value": 0.1048588,
138
+ "min": 0.1048588,
139
+ "max": 0.19472879999999998,
140
+ "count": 10
141
+ },
142
+ "SnowballTarget.Policy.Epsilon.sum": {
143
+ "value": 0.4194352,
144
+ "min": 0.4194352,
145
+ "max": 0.9265728000000001,
146
+ "count": 10
147
+ },
148
+ "SnowballTarget.Policy.Beta.mean": {
149
+ "value": 0.00025245412000000005,
150
+ "min": 0.00025245412000000005,
151
+ "max": 0.004736967120000001,
152
+ "count": 10
153
+ },
154
+ "SnowballTarget.Policy.Beta.sum": {
155
+ "value": 0.0010098164800000002,
156
+ "min": 0.0010098164800000002,
157
+ "max": 0.02133598272,
158
+ "count": 10
159
+ },
160
+ "SnowballTarget.Losses.CuriosityForwardLoss.mean": {
161
+ "value": 0.04066641284152865,
162
+ "min": 0.04066641284152865,
163
+ "max": 0.15649448223412038,
164
+ "count": 10
165
+ },
166
+ "SnowballTarget.Losses.CuriosityForwardLoss.sum": {
167
+ "value": 0.1626656513661146,
168
+ "min": 0.1626656513661146,
169
+ "max": 0.6259779289364815,
170
+ "count": 10
171
+ },
172
+ "SnowballTarget.Losses.CuriosityInverseLoss.mean": {
173
+ "value": 1.054714846611023,
174
+ "min": 1.054714846611023,
175
+ "max": 2.801060312986374,
176
+ "count": 10
177
+ },
178
+ "SnowballTarget.Losses.CuriosityInverseLoss.sum": {
179
+ "value": 4.218859386444092,
180
+ "min": 4.218859386444092,
181
+ "max": 12.449160003662112,
182
+ "count": 10
183
+ },
184
+ "SnowballTarget.IsTraining.mean": {
185
+ "value": 1.0,
186
+ "min": 1.0,
187
+ "max": 1.0,
188
+ "count": 10
189
+ },
190
+ "SnowballTarget.IsTraining.sum": {
191
+ "value": 1.0,
192
+ "min": 1.0,
193
+ "max": 1.0,
194
+ "count": 10
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1711530713",
200
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget3 --no-graphics",
202
+ "mlagents_version": "1.1.0.dev0",
203
+ "mlagents_envs_version": "1.1.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.2.1+cu121",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1711531767"
208
+ },
209
+ "total": 1053.6621658160002,
210
+ "count": 1,
211
+ "self": 0.42601278500069384,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.06015482199973121,
215
+ "count": 1,
216
+ "self": 0.06015482199973121
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 1053.1759982089998,
220
+ "count": 1,
221
+ "self": 0.8691430139365366,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.0402573049996136,
225
+ "count": 1,
226
+ "self": 2.0402573049996136
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 1050.1352405880639,
230
+ "count": 45464,
231
+ "self": 0.9238774870291309,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 752.7561935750673,
235
+ "count": 45464,
236
+ "self": 584.8651935689213,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 167.33226991003266,
240
+ "count": 45464,
241
+ "self": 3.134988525036988,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 164.19728138499568,
245
+ "count": 45464,
246
+ "self": 164.19728138499568
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.5587300961133224,
252
+ "count": 45464,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 1049.6666539140938,
257
+ "count": 45464,
258
+ "is_parallel": true,
259
+ "self": 537.8826951320802,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.0022327749998112267,
269
+ "count": 1,
270
+ "is_parallel": true,
271
+ "self": 0.0006461329994635889,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0015866420003476378,
275
+ "count": 10,
276
+ "is_parallel": true,
277
+ "self": 0.0015866420003476378
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.034909802000129275,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0006885730003887147,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.000443045999872993,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.000443045999872993
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.03193026799999643,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.03193026799999643
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0018479149998711364,
301
+ "count": 1,
302
+ "is_parallel": true,
303
+ "self": 0.000360121000539948,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0014877939993311884,
307
+ "count": 10,
308
+ "is_parallel": true,
309
+ "self": 0.0014877939993311884
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 511.78395878201354,
319
+ "count": 45463,
320
+ "is_parallel": true,
321
+ "self": 25.870365160052643,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 13.876963266005987,
325
+ "count": 45463,
326
+ "is_parallel": true,
327
+ "self": 13.876963266005987
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 390.81473614399374,
331
+ "count": 45463,
332
+ "is_parallel": true,
333
+ "self": 390.81473614399374
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 81.22189421196117,
337
+ "count": 45463,
338
+ "is_parallel": true,
339
+ "self": 14.647346818277128,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 66.57454739368404,
343
+ "count": 454630,
344
+ "is_parallel": true,
345
+ "self": 66.57454739368404
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 296.45516952596745,
359
+ "count": 45464,
360
+ "self": 1.0763309329308868,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 119.15690446203689,
364
+ "count": 45464,
365
+ "self": 119.00658910103766,
366
+ "children": {
367
+ "RLTrainer._checkpoint": {
368
+ "total": 0.1503153609992296,
369
+ "count": 1,
370
+ "self": 0.1503153609992296
371
+ }
372
+ }
373
+ },
374
+ "_update_policy": {
375
+ "total": 176.22193413099967,
376
+ "count": 47,
377
+ "self": 146.0050128549974,
378
+ "children": {
379
+ "TorchPPOOptimizer.update": {
380
+ "total": 30.216921276002267,
381
+ "count": 1410,
382
+ "self": 30.216921276002267
383
+ }
384
+ }
385
+ }
386
+ }
387
+ }
388
+ }
389
+ },
390
+ "trainer_threads": {
391
+ "total": 8.010001693037339e-07,
392
+ "count": 1,
393
+ "self": 8.010001693037339e-07
394
+ },
395
+ "TrainerController._save_models": {
396
+ "total": 0.13135650099957275,
397
+ "count": 1,
398
+ "self": 0.0007333689991355641,
399
+ "children": {
400
+ "RLTrainer._checkpoint": {
401
+ "total": 0.13062313200043718,
402
+ "count": 1,
403
+ "self": 0.13062313200043718
404
+ }
405
+ }
406
+ }
407
+ }
408
+ }
409
+ }
410
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SnowballTarget": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499976,
6
+ "file_path": "results/SnowballTarget3/SnowballTarget/SnowballTarget-499976.onnx",
7
+ "reward": 25.818181818181817,
8
+ "creation_time": 1711531766.5351207,
9
+ "auxillary_file_paths": [
10
+ "results/SnowballTarget3/SnowballTarget/SnowballTarget-499976.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 500104,
15
+ "file_path": "results/SnowballTarget3/SnowballTarget/SnowballTarget-500104.onnx",
16
+ "reward": 25.818181818181817,
17
+ "creation_time": 1711531766.6884472,
18
+ "auxillary_file_paths": [
19
+ "results/SnowballTarget3/SnowballTarget/SnowballTarget-500104.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 500104,
25
+ "file_path": "results/SnowballTarget3/SnowballTarget.onnx",
26
+ "reward": 25.818181818181817,
27
+ "creation_time": 1711531766.6884472,
28
+ "auxillary_file_paths": [
29
+ "results/SnowballTarget3/SnowballTarget/SnowballTarget-500104.pt"
30
+ ]
31
+ }
32
+ },
33
+ "metadata": {
34
+ "stats_format_version": "0.3.0",
35
+ "mlagents_version": "1.1.0.dev0",
36
+ "torch_version": "2.2.1+cu121"
37
+ }
38
+ }