vind commited on
Commit
c2365e1
1 Parent(s): f40fe47

Upload model

Browse files
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - Worm
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-Worm
8
+ ---
9
+
10
+ # **ppo** Agent playing **Worm**
11
+ This is a trained model of a **ppo** agent playing **Worm** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
12
+
13
+ ## Usage (with ML-Agents)
14
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
15
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
16
+
17
+
18
+ ### Resume the training
19
+ ```
20
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
21
+ ```
22
+ ### Watch your Agent play
23
+ You can watch your agent **playing directly in your browser:**.
24
+
25
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-Worm
26
+ 2. Step 1: Find your model_id: vind/ppo-Worm
27
+ 3. Step 2: Select your *.nn /*.onnx file
28
+ 4. Click on Watch the agent play 👀
29
+
Worm.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6214fe5ec7f0b2725f37bbab99f59af6b2f88eda7067672cb070656e62e4e773
3
+ size 2256933
Worm/Worm-450000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6214fe5ec7f0b2725f37bbab99f59af6b2f88eda7067672cb070656e62e4e773
3
+ size 2256933
Worm/Worm-450000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2c66d631f51bfbd4766068a9955153bf0f0a6e08b27f285fa47bff740da385f
3
+ size 13491173
Worm/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2c66d631f51bfbd4766068a9955153bf0f0a6e08b27f285fa47bff740da385f
3
+ size 13491173
Worm/events.out.tfevents.1684746634.54e24ec62e66.21782.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8e0022fb01d66adfb364481ac0c1e87e74f7e610b8a15c7c822be5514895cc9
3
+ size 85161
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Worm": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 2024, "buffer_size": 20240, "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": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.995, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 2000000, "time_horizon": 1000, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Worm/Worm", "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": "WormTrain1", "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,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Worm:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 2024
7
+ buffer_size: 20240
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: 512
21
+ num_layers: 3
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.995
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: 5
40
+ even_checkpoints: false
41
+ max_steps: 2000000
42
+ time_horizon: 1000
43
+ summary_freq: 30000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: ./training-envs-executables/linux/Worm/Worm
49
+ env_args: null
50
+ base_port: 5005
51
+ num_envs: 1
52
+ num_areas: 1
53
+ seed: -1
54
+ max_lifetime_restarts: 10
55
+ restarts_rate_limit_n: 1
56
+ restarts_rate_limit_period_s: 60
57
+ engine_settings:
58
+ width: 84
59
+ height: 84
60
+ quality_level: 5
61
+ time_scale: 20
62
+ target_frame_rate: -1
63
+ capture_frame_rate: 60
64
+ no_graphics: true
65
+ environment_parameters: null
66
+ checkpoint_settings:
67
+ run_id: WormTrain1
68
+ initialize_from: null
69
+ load_model: false
70
+ resume: false
71
+ force: false
72
+ train_model: false
73
+ inference: false
74
+ results_dir: results
75
+ torch_settings:
76
+ device: null
77
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/Worm/Worm_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/Worm/Worm_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.28.0.12
4
+ Multi-casting "[IP] 172.28.0.12 [Port] 55080 [Flags] 2 [Guid] 3798124974 [EditorId] 588871222 [Version] 1048832 [Id] LinuxPlayer(13,172.28.0.12) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ Preloaded 'lib_burst_generated.so'
6
+ Preloaded 'libgrpc_csharp_ext.x64.so'
7
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
8
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/Worm/Worm_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
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
16
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
17
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
18
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
19
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
20
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
21
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
22
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
23
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
24
+ 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
25
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
26
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
27
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
28
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
29
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
30
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
32
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
33
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
34
+ FMOD initialized on nosound output
35
+ Begin MonoManager ReloadAssembly
36
+ - Completed reload, in 0.091 seconds
37
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
41
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
42
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
43
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
45
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
46
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
47
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
48
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
49
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
50
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
52
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
53
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
54
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
55
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
56
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
57
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
59
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
60
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
61
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
62
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
63
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
64
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
66
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
67
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
68
+ UnloadTime: 0.750663 ms
69
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ requesting resize 84 x 84
71
+ Setting up 1 worker threads for Enlighten.
72
+ PlayerConnection::CleanupMemory Statistics:
73
+ [ALLOC_TEMP_TLS] TLS Allocator
74
+ StackAllocators :
75
+ [ALLOC_TEMP_MAIN]
76
+ Peak usage frame count: [4.0 KB-8.0 KB]: 8997 frames, [2.0 MB-4.0 MB]: 1 frames
77
+ Initial Block Size 4.0 MB
78
+ Current Block Size 4.0 MB
79
+ Peak Allocated Bytes 2.0 MB
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 8]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 10]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 6]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 1]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 11]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 3]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_BatchDeleteObjects]
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 2]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 15]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 7]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Loading.PreloadManager]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 284.0 KB
144
+ Peak Allocated Bytes 243.3 KB
145
+ Overflow Count 4
146
+ [ALLOC_TEMP_Profiler.Dispatcher]
147
+ Initial Block Size 64.0 KB
148
+ Current Block Size 64.0 KB
149
+ Peak Allocated Bytes 480 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 12]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 5]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 13]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 0]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 4]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 0]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0.8 KB
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 14]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 9]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_EnlightenWorker]
197
+ Initial Block Size 64.0 KB
198
+ Current Block Size 64.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Loading.AsyncRead]
202
+ Initial Block Size 64.0 KB
203
+ Current Block Size 64.0 KB
204
+ Peak Allocated Bytes 128 B
205
+ Overflow Count 0
206
+ [ALLOC_MEMORYPROFILER]
207
+ Peak usage frame count: [64.0 KB-128.0 KB]: 8998 frames
208
+ Requested Block Size 1.0 MB
209
+ Peak Block count 1
210
+ Peak Allocated memory 103.1 KB
211
+ Peak Large allocation bytes 0 B
212
+ [ALLOC_DEFAULT] Dual Thread Allocator
213
+ Peak main deferred allocation count 65
214
+ [ALLOC_BUCKET]
215
+ Large Block size 4.0 MB
216
+ Used Block count 1
217
+ Peak Allocated bytes 0.8 MB
218
+ [ALLOC_DEFAULT_MAIN]
219
+ Peak usage frame count: [4.0 MB-8.0 MB]: 8998 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 1
222
+ Peak Allocated memory 5.1 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 8998 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 17.8 MB
229
+ Peak Large allocation bytes 16.0 MB
230
+ [ALLOC_TEMP_JOB_1_FRAME]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 1
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_2_FRAMES]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 2
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
246
+ Initial Block Size 1.0 MB
247
+ Used Block Count 3
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_GFX] Dual Thread Allocator
251
+ Peak main deferred allocation count 0
252
+ [ALLOC_BUCKET]
253
+ Large Block size 4.0 MB
254
+ Used Block count 1
255
+ Peak Allocated bytes 0.8 MB
256
+ [ALLOC_GFX_MAIN]
257
+ Peak usage frame count: [32.0 KB-64.0 KB]: 8997 frames, [64.0 KB-128.0 KB]: 1 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 67.0 KB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_GFX_THREAD]
263
+ Peak usage frame count: [128.0 KB-256.0 KB]: 8998 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 151.2 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
269
+ Peak main deferred allocation count 0
270
+ [ALLOC_BUCKET]
271
+ Large Block size 4.0 MB
272
+ Used Block count 1
273
+ Peak Allocated bytes 0.8 MB
274
+ [ALLOC_CACHEOBJECTS_MAIN]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 8998 frames
276
+ Requested Block Size 4.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 0.6 MB
279
+ Peak Large allocation bytes 0 B
280
+ [ALLOC_CACHEOBJECTS_THREAD]
281
+ Peak usage frame count: [256.0 KB-0.5 MB]: 8997 frames, [4.0 MB-8.0 MB]: 1 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 2
284
+ Peak Allocated memory 4.2 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE] Dual Thread Allocator
287
+ Peak main deferred allocation count 0
288
+ [ALLOC_BUCKET]
289
+ Large Block size 4.0 MB
290
+ Used Block count 1
291
+ Peak Allocated bytes 0.8 MB
292
+ [ALLOC_TYPETREE_MAIN]
293
+ Peak usage frame count: [0-1.0 KB]: 8998 frames
294
+ Requested Block Size 2.0 MB
295
+ Peak Block count 1
296
+ Peak Allocated memory 1.0 KB
297
+ Peak Large allocation bytes 0 B
298
+ [ALLOC_TYPETREE_THREAD]
299
+ Peak usage frame count: [4.0 KB-8.0 KB]: 8997 frames, [8.0 KB-16.0 KB]: 1 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 9.3 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_PROFILER]
305
+ Peak usage frame count: [16.0 KB-32.0 KB]: 8998 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 29.0 KB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_PROFILER_BUCKET]
311
+ Large Block size 4.0 MB
312
+ Used Block count 1
313
+ Peak Allocated bytes 332 B
314
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1684747293317,"processId":21800,"allocatedMemory":1970109,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34460},{"Manager":10603},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":69173},{"Material":24},{"GfxDevice":35248},{"Animation":304},{"Audio":3976},{"Physics":288},{"Serialization":216},{"Input":9176},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1609212},{"Resource":592},{"Renderer":1936},{"Transform":48},{"File":800},{"WebCam":24},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3423},{"DynamicArray":30868},{"HashMap":7680},{"Utility":1360},{"PoolAlloc":1160},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3272},{"Unet":16},{"Director":7760},{"WebRequest":720},{"VR":45473},{"SceneManager":424},{"Video":32},{"LazyScriptCache":32},{"NativeArray":384},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57552},{"AssetReference":32}]}
run_logs/timers.json ADDED
@@ -0,0 +1,355 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Worm.Policy.Entropy.mean": {
5
+ "value": 1.411466360092163,
6
+ "min": 1.411466360092163,
7
+ "max": 1.4194236993789673,
8
+ "count": 15
9
+ },
10
+ "Worm.Policy.Entropy.sum": {
11
+ "value": 42343.9921875,
12
+ "min": 42343.9921875,
13
+ "max": 42582.7109375,
14
+ "count": 15
15
+ },
16
+ "Worm.Environment.EpisodeLength.mean": {
17
+ "value": 999.0,
18
+ "min": 999.0,
19
+ "max": 999.0,
20
+ "count": 15
21
+ },
22
+ "Worm.Environment.EpisodeLength.sum": {
23
+ "value": 29970.0,
24
+ "min": 29970.0,
25
+ "max": 29970.0,
26
+ "count": 15
27
+ },
28
+ "Worm.Step.mean": {
29
+ "value": 449000.0,
30
+ "min": 29000.0,
31
+ "max": 449000.0,
32
+ "count": 15
33
+ },
34
+ "Worm.Step.sum": {
35
+ "value": 449000.0,
36
+ "min": 29000.0,
37
+ "max": 449000.0,
38
+ "count": 15
39
+ },
40
+ "Worm.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 0.315215528011322,
42
+ "min": -0.0712854266166687,
43
+ "max": 0.315215528011322,
44
+ "count": 15
45
+ },
46
+ "Worm.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 9.456465721130371,
48
+ "min": -2.067277431488037,
49
+ "max": 9.456465721130371,
50
+ "count": 15
51
+ },
52
+ "Worm.Environment.CumulativeReward.mean": {
53
+ "value": 5.783343554954627,
54
+ "min": 0.24587436616420746,
55
+ "max": 5.783343554954627,
56
+ "count": 15
57
+ },
58
+ "Worm.Environment.CumulativeReward.sum": {
59
+ "value": 173.5003066486388,
60
+ "min": 7.376230984926224,
61
+ "max": 173.5003066486388,
62
+ "count": 15
63
+ },
64
+ "Worm.Policy.ExtrinsicReward.mean": {
65
+ "value": 5.783343554954627,
66
+ "min": 0.24587436616420746,
67
+ "max": 5.783343554954627,
68
+ "count": 15
69
+ },
70
+ "Worm.Policy.ExtrinsicReward.sum": {
71
+ "value": 173.5003066486388,
72
+ "min": 7.376230984926224,
73
+ "max": 173.5003066486388,
74
+ "count": 15
75
+ },
76
+ "Worm.IsTraining.mean": {
77
+ "value": 1.0,
78
+ "min": 1.0,
79
+ "max": 1.0,
80
+ "count": 15
81
+ },
82
+ "Worm.IsTraining.sum": {
83
+ "value": 1.0,
84
+ "min": 1.0,
85
+ "max": 1.0,
86
+ "count": 15
87
+ },
88
+ "Worm.Losses.PolicyLoss.mean": {
89
+ "value": 0.01633231126054722,
90
+ "min": 0.012337169088173791,
91
+ "max": 0.01912836736023781,
92
+ "count": 14
93
+ },
94
+ "Worm.Losses.PolicyLoss.sum": {
95
+ "value": 0.01633231126054722,
96
+ "min": 0.012337169088173791,
97
+ "max": 0.01912836736023781,
98
+ "count": 14
99
+ },
100
+ "Worm.Losses.ValueLoss.mean": {
101
+ "value": 0.017203831113874912,
102
+ "min": 0.0008591748704756832,
103
+ "max": 0.017203831113874912,
104
+ "count": 14
105
+ },
106
+ "Worm.Losses.ValueLoss.sum": {
107
+ "value": 0.017203831113874912,
108
+ "min": 0.0008591748704756832,
109
+ "max": 0.017203831113874912,
110
+ "count": 14
111
+ },
112
+ "Worm.Policy.LearningRate.mean": {
113
+ "value": 0.000237000021,
114
+ "min": 0.000237000021,
115
+ "max": 0.00029550000149999997,
116
+ "count": 14
117
+ },
118
+ "Worm.Policy.LearningRate.sum": {
119
+ "value": 0.000237000021,
120
+ "min": 0.000237000021,
121
+ "max": 0.00029550000149999997,
122
+ "count": 14
123
+ },
124
+ "Worm.Policy.Epsilon.mean": {
125
+ "value": 0.17900000000000005,
126
+ "min": 0.17900000000000005,
127
+ "max": 0.19849999999999998,
128
+ "count": 14
129
+ },
130
+ "Worm.Policy.Epsilon.sum": {
131
+ "value": 0.17900000000000005,
132
+ "min": 0.17900000000000005,
133
+ "max": 0.19849999999999998,
134
+ "count": 14
135
+ },
136
+ "Worm.Policy.Beta.mean": {
137
+ "value": 0.003952100000000001,
138
+ "min": 0.003952100000000001,
139
+ "max": 0.004925149999999999,
140
+ "count": 14
141
+ },
142
+ "Worm.Policy.Beta.sum": {
143
+ "value": 0.003952100000000001,
144
+ "min": 0.003952100000000001,
145
+ "max": 0.004925149999999999,
146
+ "count": 14
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1684746633",
152
+ "python_version": "3.10.11 (main, Apr 5 2023, 14:15:10) [GCC 9.4.0]",
153
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Worm.yaml --env=./training-envs-executables/linux/Worm/Worm --run-id=WormTrain1 --no-graphics",
154
+ "mlagents_version": "0.31.0.dev0",
155
+ "mlagents_envs_version": "0.31.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "1.11.0+cu102",
158
+ "numpy_version": "1.21.2",
159
+ "end_time_seconds": "1684747293"
160
+ },
161
+ "total": 659.9180999760001,
162
+ "count": 1,
163
+ "self": 0.07352231300046697,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.03818426799989538,
167
+ "count": 1,
168
+ "self": 0.03818426799989538
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 659.8063933949998,
172
+ "count": 1,
173
+ "self": 1.080842194138313,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 3.745757297999262,
177
+ "count": 1,
178
+ "self": 3.745757297999262
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 654.6150779138625,
182
+ "count": 45000,
183
+ "self": 1.049170173818311,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 544.8430088800224,
187
+ "count": 45000,
188
+ "self": 478.02870215404164,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 66.17165337202641,
192
+ "count": 45000,
193
+ "self": 3.7014823060490016,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 62.47017106597741,
197
+ "count": 45000,
198
+ "self": 62.47017106597741
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.6426533539543016,
204
+ "count": 45000,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 655.3147396391323,
209
+ "count": 45000,
210
+ "is_parallel": true,
211
+ "self": 244.27402511121,
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.0009211650003635441,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.00026100900140590966,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0006601559989576344,
227
+ "count": 2,
228
+ "is_parallel": true,
229
+ "self": 0.0006601559989576344
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.033931656000277144,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.00027725200015993323,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.0005037299997638911,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.0005037299997638911
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.0325767630001792,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.0325767630001792
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.000573911000174121,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.0001916840001285891,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0003822270000455319,
259
+ "count": 2,
260
+ "is_parallel": true,
261
+ "self": 0.0003822270000455319
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 411.0407145279223,
271
+ "count": 44999,
272
+ "is_parallel": true,
273
+ "self": 8.739806431796751,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 15.630739528060076,
277
+ "count": 44999,
278
+ "is_parallel": true,
279
+ "self": 15.630739528060076
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 364.5179583861009,
283
+ "count": 44999,
284
+ "is_parallel": true,
285
+ "self": 364.5179583861009
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 22.15221018196462,
289
+ "count": 44999,
290
+ "is_parallel": true,
291
+ "self": 8.000385195856325,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 14.151824986108295,
295
+ "count": 89998,
296
+ "is_parallel": true,
297
+ "self": 14.151824986108295
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 108.72289886002181,
311
+ "count": 45000,
312
+ "self": 1.1560883401452884,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 21.401296547876882,
316
+ "count": 45000,
317
+ "self": 21.401296547876882
318
+ },
319
+ "_update_policy": {
320
+ "total": 86.16551397199964,
321
+ "count": 15,
322
+ "self": 73.76439783298156,
323
+ "children": {
324
+ "TorchPPOOptimizer.update": {
325
+ "total": 12.401116139018086,
326
+ "count": 602,
327
+ "self": 12.401116139018086
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
334
+ },
335
+ "trainer_threads": {
336
+ "total": 1.4360002751345746e-06,
337
+ "count": 1,
338
+ "self": 1.4360002751345746e-06
339
+ },
340
+ "TrainerController._save_models": {
341
+ "total": 0.36471455299943045,
342
+ "count": 1,
343
+ "self": 0.0060506109994094,
344
+ "children": {
345
+ "RLTrainer._checkpoint": {
346
+ "total": 0.35866394200002105,
347
+ "count": 1,
348
+ "self": 0.35866394200002105
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Worm": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 450000,
6
+ "file_path": "results/WormTrain1/Worm/Worm-450000.onnx",
7
+ "reward": null,
8
+ "creation_time": 1684747293.2603023,
9
+ "auxillary_file_paths": [
10
+ "results/WormTrain1/Worm/Worm-450000.pt"
11
+ ]
12
+ }
13
+ ],
14
+ "final_checkpoint": {
15
+ "steps": 450000,
16
+ "file_path": "results/WormTrain1/Worm.onnx",
17
+ "reward": null,
18
+ "creation_time": 1684747293.2603023,
19
+ "auxillary_file_paths": [
20
+ "results/WormTrain1/Worm/Worm-450000.pt"
21
+ ]
22
+ }
23
+ },
24
+ "metadata": {
25
+ "stats_format_version": "0.3.0",
26
+ "mlagents_version": "0.31.0.dev0",
27
+ "torch_version": "1.11.0+cu102"
28
+ }
29
+ }