AliCampbellKhaya commited on
Commit
205aaf2
1 Parent(s): d01b0f6

First Training

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: AliCampbellKhaya/ppo-WormV2
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:fafd5f6380178148edea2ca28f0757afb2e960124e9fa2998f8deaf62aa833cf
3
+ size 2256933
Worm/Worm-1010000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fafd5f6380178148edea2ca28f0757afb2e960124e9fa2998f8deaf62aa833cf
3
+ size 2256933
Worm/Worm-1010000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dbc5ddf1d81924a2ca1423ad4fccec22b545e5d99215e186b7a3c97ae5192fe
3
+ size 13490149
Worm/Worm-499000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93cb3df5293422b24148d6979b40449887d422bcba5dae885f6a5dcdddf2d64f
3
+ size 2256933
Worm/Worm-499000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3699a05b3635aa9dded1a9870bedd700315e031039526dd182ce099491508d70
3
+ size 13490149
Worm/Worm-999000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21662a552d759985faae113c90a3bc602b60ae5d5718d83ef012589b947c24db
3
+ size 2256933
Worm/Worm-999000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:660b21c8cbdf8bf69fbdf739a8646b3148015efe974f22f9217d68940ccdf3a5
3
+ size 13490149
Worm/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dbc5ddf1d81924a2ca1423ad4fccec22b545e5d99215e186b7a3c97ae5192fe
3
+ size 13490149
Worm/events.out.tfevents.1683736598.2e4aae5731e2.2981.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:669070045466505b6c24ed2b9091b9e1adf23c440f2cd09035892b6f8eedd892
3
+ size 40126
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Worm": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.001, "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": 1000000, "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": "WormV2", "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: 128
7
+ buffer_size: 2048
8
+ learning_rate: 0.0003
9
+ beta: 0.001
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: 1000000
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: WormV2
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,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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] 55091 [Flags] 2 [Guid] 2706190316 [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
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
9
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/Worm/Worm_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
18
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
24
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
25
+ 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
26
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
28
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
34
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
35
+ FMOD initialized on nosound output
36
+ Begin MonoManager ReloadAssembly
37
+ - Completed reload, in 0.157 seconds
38
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
42
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
43
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
44
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
46
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
49
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
50
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
51
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
52
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
53
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
54
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
55
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
56
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
57
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
58
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
59
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
60
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
61
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
62
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
63
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
64
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
65
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
66
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
67
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
68
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
69
+ UnloadTime: 1.804966 ms
70
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
71
+ requesting resize 84 x 84
72
+ Setting up 1 worker threads for Enlighten.
73
+ PlayerConnection::CleanupMemory Statistics:
74
+ [ALLOC_TEMP_TLS] TLS Allocator
75
+ StackAllocators :
76
+ [ALLOC_TEMP_MAIN]
77
+ Peak usage frame count: [4.0 KB-8.0 KB]: 20194 frames, [2.0 MB-4.0 MB]: 1 frames
78
+ Initial Block Size 4.0 MB
79
+ Current Block Size 4.0 MB
80
+ Peak Allocated Bytes 2.0 MB
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 8]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Background Job.Worker 10]
88
+ Initial Block Size 32.0 KB
89
+ Current Block Size 32.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 6]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
98
+ Initial Block Size 64.0 KB
99
+ Current Block Size 64.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Background Job.Worker 1]
103
+ Initial Block Size 32.0 KB
104
+ Current Block Size 32.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Background Job.Worker 11]
108
+ Initial Block Size 32.0 KB
109
+ Current Block Size 32.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 3]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_BatchDeleteObjects]
118
+ Initial Block Size 64.0 KB
119
+ Current Block Size 64.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
123
+ Initial Block Size 64.0 KB
124
+ Current Block Size 64.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 2]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 15]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 7]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Loading.PreloadManager]
143
+ Initial Block Size 256.0 KB
144
+ Current Block Size 284.0 KB
145
+ Peak Allocated Bytes 243.3 KB
146
+ Overflow Count 4
147
+ [ALLOC_TEMP_Profiler.Dispatcher]
148
+ Initial Block Size 64.0 KB
149
+ Current Block Size 64.0 KB
150
+ Peak Allocated Bytes 240 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 12]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 5]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Background Job.Worker 13]
168
+ Initial Block Size 32.0 KB
169
+ Current Block Size 32.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 0]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 4]
178
+ Initial Block Size 32.0 KB
179
+ Current Block Size 32.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Job.Worker 0]
183
+ Initial Block Size 256.0 KB
184
+ Current Block Size 256.0 KB
185
+ Peak Allocated Bytes 0.8 KB
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 14]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 9]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_EnlightenWorker]
198
+ Initial Block Size 64.0 KB
199
+ Current Block Size 64.0 KB
200
+ Peak Allocated Bytes 0 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Loading.AsyncRead]
203
+ Initial Block Size 64.0 KB
204
+ Current Block Size 64.0 KB
205
+ Peak Allocated Bytes 128 B
206
+ Overflow Count 0
207
+ [ALLOC_MEMORYPROFILER]
208
+ Peak usage frame count: [64.0 KB-128.0 KB]: 20195 frames
209
+ Requested Block Size 1.0 MB
210
+ Peak Block count 1
211
+ Peak Allocated memory 103.1 KB
212
+ Peak Large allocation bytes 0 B
213
+ [ALLOC_DEFAULT] Dual Thread Allocator
214
+ Peak main deferred allocation count 83
215
+ [ALLOC_BUCKET]
216
+ Large Block size 4.0 MB
217
+ Used Block count 1
218
+ Peak Allocated bytes 0.8 MB
219
+ [ALLOC_DEFAULT_MAIN]
220
+ Peak usage frame count: [4.0 MB-8.0 MB]: 20195 frames
221
+ Requested Block Size 16.0 MB
222
+ Peak Block count 1
223
+ Peak Allocated memory 5.1 MB
224
+ Peak Large allocation bytes 0 B
225
+ [ALLOC_DEFAULT_THREAD]
226
+ Peak usage frame count: [16.0 MB-32.0 MB]: 20195 frames
227
+ Requested Block Size 16.0 MB
228
+ Peak Block count 1
229
+ Peak Allocated memory 17.8 MB
230
+ Peak Large allocation bytes 16.0 MB
231
+ [ALLOC_TEMP_JOB_1_FRAME]
232
+ Initial Block Size 2.0 MB
233
+ Used Block Count 1
234
+ Overflow Count (too large) 0
235
+ Overflow Count (full) 0
236
+ [ALLOC_TEMP_JOB_2_FRAMES]
237
+ Initial Block Size 2.0 MB
238
+ Used Block Count 1
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
242
+ Initial Block Size 2.0 MB
243
+ Used Block Count 2
244
+ Overflow Count (too large) 0
245
+ Overflow Count (full) 0
246
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
247
+ Initial Block Size 1.0 MB
248
+ Used Block Count 3
249
+ Overflow Count (too large) 0
250
+ Overflow Count (full) 0
251
+ [ALLOC_GFX] Dual Thread Allocator
252
+ Peak main deferred allocation count 0
253
+ [ALLOC_BUCKET]
254
+ Large Block size 4.0 MB
255
+ Used Block count 1
256
+ Peak Allocated bytes 0.8 MB
257
+ [ALLOC_GFX_MAIN]
258
+ Peak usage frame count: [32.0 KB-64.0 KB]: 20194 frames, [64.0 KB-128.0 KB]: 1 frames
259
+ Requested Block Size 16.0 MB
260
+ Peak Block count 1
261
+ Peak Allocated memory 67.0 KB
262
+ Peak Large allocation bytes 0 B
263
+ [ALLOC_GFX_THREAD]
264
+ Peak usage frame count: [128.0 KB-256.0 KB]: 20195 frames
265
+ Requested Block Size 16.0 MB
266
+ Peak Block count 1
267
+ Peak Allocated memory 151.2 KB
268
+ Peak Large allocation bytes 0 B
269
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
270
+ Peak main deferred allocation count 0
271
+ [ALLOC_BUCKET]
272
+ Large Block size 4.0 MB
273
+ Used Block count 1
274
+ Peak Allocated bytes 0.8 MB
275
+ [ALLOC_CACHEOBJECTS_MAIN]
276
+ Peak usage frame count: [0.5 MB-1.0 MB]: 20195 frames
277
+ Requested Block Size 4.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 0.6 MB
280
+ Peak Large allocation bytes 0 B
281
+ [ALLOC_CACHEOBJECTS_THREAD]
282
+ Peak usage frame count: [256.0 KB-0.5 MB]: 20194 frames, [4.0 MB-8.0 MB]: 1 frames
283
+ Requested Block Size 4.0 MB
284
+ Peak Block count 2
285
+ Peak Allocated memory 4.2 MB
286
+ Peak Large allocation bytes 0 B
287
+ [ALLOC_TYPETREE] Dual Thread Allocator
288
+ Peak main deferred allocation count 0
289
+ [ALLOC_BUCKET]
290
+ Large Block size 4.0 MB
291
+ Used Block count 1
292
+ Peak Allocated bytes 0.8 MB
293
+ [ALLOC_TYPETREE_MAIN]
294
+ Peak usage frame count: [0-1.0 KB]: 20195 frames
295
+ Requested Block Size 2.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 1.0 KB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_TYPETREE_THREAD]
300
+ Peak usage frame count: [4.0 KB-8.0 KB]: 20194 frames, [8.0 KB-16.0 KB]: 1 frames
301
+ Requested Block Size 2.0 MB
302
+ Peak Block count 1
303
+ Peak Allocated memory 9.3 KB
304
+ Peak Large allocation bytes 0 B
305
+ [ALLOC_PROFILER]
306
+ Peak usage frame count: [16.0 KB-32.0 KB]: 20195 frames
307
+ Requested Block Size 16.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 29.2 KB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_PROFILER_BUCKET]
312
+ Large Block size 4.0 MB
313
+ Used Block count 1
314
+ Peak Allocated bytes 332 B
315
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1683739340054,"processId":2996,"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,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Worm.Policy.Entropy.mean": {
5
+ "value": 0.9332621693611145,
6
+ "min": 0.9332621693611145,
7
+ "max": 1.4094127416610718,
8
+ "count": 33
9
+ },
10
+ "Worm.Policy.Entropy.sum": {
11
+ "value": 27997.865234375,
12
+ "min": 27997.865234375,
13
+ "max": 42282.3828125,
14
+ "count": 33
15
+ },
16
+ "Worm.Environment.EpisodeLength.mean": {
17
+ "value": 999.0,
18
+ "min": 999.0,
19
+ "max": 999.0,
20
+ "count": 33
21
+ },
22
+ "Worm.Environment.EpisodeLength.sum": {
23
+ "value": 29970.0,
24
+ "min": 29970.0,
25
+ "max": 29970.0,
26
+ "count": 33
27
+ },
28
+ "Worm.Step.mean": {
29
+ "value": 989000.0,
30
+ "min": 29000.0,
31
+ "max": 989000.0,
32
+ "count": 33
33
+ },
34
+ "Worm.Step.sum": {
35
+ "value": 989000.0,
36
+ "min": 29000.0,
37
+ "max": 989000.0,
38
+ "count": 33
39
+ },
40
+ "Worm.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 92.3568344116211,
42
+ "min": -0.1041359081864357,
43
+ "max": 92.3568344116211,
44
+ "count": 33
45
+ },
46
+ "Worm.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 2770.705078125,
48
+ "min": -3.0199413299560547,
49
+ "max": 2770.705078125,
50
+ "count": 33
51
+ },
52
+ "Worm.Environment.CumulativeReward.mean": {
53
+ "value": 499.41368509928384,
54
+ "min": 0.37275360582460615,
55
+ "max": 499.41368509928384,
56
+ "count": 33
57
+ },
58
+ "Worm.Environment.CumulativeReward.sum": {
59
+ "value": 14982.410552978516,
60
+ "min": 10.809854568913579,
61
+ "max": 14982.410552978516,
62
+ "count": 33
63
+ },
64
+ "Worm.Policy.ExtrinsicReward.mean": {
65
+ "value": 499.41368509928384,
66
+ "min": 0.37275360582460615,
67
+ "max": 499.41368509928384,
68
+ "count": 33
69
+ },
70
+ "Worm.Policy.ExtrinsicReward.sum": {
71
+ "value": 14982.410552978516,
72
+ "min": 10.809854568913579,
73
+ "max": 14982.410552978516,
74
+ "count": 33
75
+ },
76
+ "Worm.Losses.PolicyLoss.mean": {
77
+ "value": 0.06862876058307471,
78
+ "min": 0.06610843558188632,
79
+ "max": 0.07451005635872035,
80
+ "count": 33
81
+ },
82
+ "Worm.Losses.PolicyLoss.sum": {
83
+ "value": 0.20588628174922413,
84
+ "min": 0.1490201127174407,
85
+ "max": 0.2194609105479794,
86
+ "count": 33
87
+ },
88
+ "Worm.Losses.ValueLoss.mean": {
89
+ "value": 8.798186574906026,
90
+ "min": 0.0015538716646464558,
91
+ "max": 8.798186574906026,
92
+ "count": 33
93
+ },
94
+ "Worm.Losses.ValueLoss.sum": {
95
+ "value": 26.39455972471808,
96
+ "min": 0.004661614993939367,
97
+ "max": 26.39455972471808,
98
+ "count": 33
99
+ },
100
+ "Worm.Policy.LearningRate.mean": {
101
+ "value": 9.000097000000007e-06,
102
+ "min": 9.000097000000007e-06,
103
+ "max": 0.00029550000149999997,
104
+ "count": 33
105
+ },
106
+ "Worm.Policy.LearningRate.sum": {
107
+ "value": 2.7000291000000022e-05,
108
+ "min": 2.7000291000000022e-05,
109
+ "max": 0.0008640000120000001,
110
+ "count": 33
111
+ },
112
+ "Worm.Policy.Epsilon.mean": {
113
+ "value": 0.10300000000000002,
114
+ "min": 0.10300000000000002,
115
+ "max": 0.1985,
116
+ "count": 33
117
+ },
118
+ "Worm.Policy.Epsilon.sum": {
119
+ "value": 0.30900000000000005,
120
+ "min": 0.30900000000000005,
121
+ "max": 0.588,
122
+ "count": 33
123
+ },
124
+ "Worm.Policy.Beta.mean": {
125
+ "value": 3.970000000000002e-05,
126
+ "min": 3.970000000000002e-05,
127
+ "max": 0.0009851500000000002,
128
+ "count": 33
129
+ },
130
+ "Worm.Policy.Beta.sum": {
131
+ "value": 0.00011910000000000008,
132
+ "min": 0.00011910000000000008,
133
+ "max": 0.0028812,
134
+ "count": 33
135
+ },
136
+ "Worm.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 33
141
+ },
142
+ "Worm.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 33
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1683736597",
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=WormV2 --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": "1683739340"
160
+ },
161
+ "total": 2743.056461904,
162
+ "count": 1,
163
+ "self": 1.0102541579999524,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.05324982699994507,
167
+ "count": 1,
168
+ "self": 0.05324982699994507
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 2741.992957919,
172
+ "count": 1,
173
+ "self": 3.4830233229154146,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 1.1505563129999246,
177
+ "count": 1,
178
+ "self": 1.1505563129999246
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 2737.157325843085,
182
+ "count": 101000,
183
+ "self": 3.4175357641261144,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 1624.230164187003,
187
+ "count": 101000,
188
+ "self": 1417.2375906089464,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 204.78081145904434,
192
+ "count": 101000,
193
+ "self": 12.839693968966003,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 191.94111749007834,
197
+ "count": 101000,
198
+ "self": 191.94111749007834
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 2.2117621190124055,
204
+ "count": 101000,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 2734.1545727949488,
209
+ "count": 101000,
210
+ "is_parallel": true,
211
+ "self": 1528.1773430689332,
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.001635250000049382,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.00039917100002639927,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0012360790000229827,
227
+ "count": 2,
228
+ "is_parallel": true,
229
+ "self": 0.0012360790000229827
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.04429163600002539,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.0002626279999731196,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.00036722900006225245,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.00036722900006225245
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.04296338500000729,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.04296338500000729
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.0006983939999827271,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00021564599990142597,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.00048274800008130114,
259
+ "count": 2,
260
+ "is_parallel": true,
261
+ "self": 0.00048274800008130114
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 1205.9772297260156,
271
+ "count": 100999,
272
+ "is_parallel": true,
273
+ "self": 27.8129571820225,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 34.688485329957985,
277
+ "count": 100999,
278
+ "is_parallel": true,
279
+ "self": 34.688485329957985
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 1076.7973445380107,
283
+ "count": 100999,
284
+ "is_parallel": true,
285
+ "self": 1076.7973445380107
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 66.67844267602436,
289
+ "count": 100999,
290
+ "is_parallel": true,
291
+ "self": 20.653043490092728,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 46.02539918593163,
295
+ "count": 201998,
296
+ "is_parallel": true,
297
+ "self": 46.02539918593163
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 1109.5096258919557,
311
+ "count": 101000,
312
+ "self": 4.704174843883266,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 88.69639221906948,
316
+ "count": 101000,
317
+ "self": 88.16224313506939,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.5341490840000915,
321
+ "count": 2,
322
+ "self": 0.5341490840000915
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 1016.109058829003,
328
+ "count": 100,
329
+ "self": 206.09358887700375,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 810.0154699519992,
333
+ "count": 23400,
334
+ "self": 810.0154699519992
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 1.4620000001741573e-06,
344
+ "count": 1,
345
+ "self": 1.4620000001741573e-06
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.2020509779999884,
349
+ "count": 1,
350
+ "self": 0.004155509000156599,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.1978954689998318,
354
+ "count": 1,
355
+ "self": 0.1978954689998318
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Worm": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499000,
6
+ "file_path": "results/WormV2/Worm/Worm-499000.onnx",
7
+ "reward": 238.66766696506076,
8
+ "creation_time": 1683737929.4365053,
9
+ "auxillary_file_paths": [
10
+ "results/WormV2/Worm/Worm-499000.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999000,
15
+ "file_path": "results/WormV2/Worm/Worm-999000.onnx",
16
+ "reward": 503.5287848578559,
17
+ "creation_time": 1683739312.7149417,
18
+ "auxillary_file_paths": [
19
+ "results/WormV2/Worm/Worm-999000.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1010000,
24
+ "file_path": "results/WormV2/Worm/Worm-1010000.onnx",
25
+ "reward": 514.484487915039,
26
+ "creation_time": 1683739339.105799,
27
+ "auxillary_file_paths": [
28
+ "results/WormV2/Worm/Worm-1010000.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1010000,
34
+ "file_path": "results/WormV2/Worm.onnx",
35
+ "reward": 514.484487915039,
36
+ "creation_time": 1683739339.105799,
37
+ "auxillary_file_paths": [
38
+ "results/WormV2/Worm/Worm-1010000.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "0.31.0.dev0",
45
+ "torch_version": "1.11.0+cu102"
46
+ }
47
+ }