rebolforces commited on
Commit
78f098a
1 Parent(s): 137c905

First Worm

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-Worm
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **Worm**
13
+ This is a trained model of a **ppo** agent playing **Worm** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-Worm
28
+ 2. Step 1: Write your model_id: rebolforces/testworm
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
Worm.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:724d833b36d0d579a449386dce124d879fc01e8e0347d5f731b8ad9d172e8c89
3
+ size 2255979
Worm/Worm-7499000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a13a81618c018c568e3bde38b1e4d2084bad4f8d4c1cf8650c22efd2956440b
3
+ size 2255979
Worm/Worm-7499000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c48771e57033d06f44cd1f550f5eb853b0dee9e05cf2dbe93c822a043f2e921
3
+ size 13493423
Worm/Worm-7999000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e209f8215c0eb592925572f5c303394bfdf77c521ecc78b39650f04976ad89b9
3
+ size 2255979
Worm/Worm-7999000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f1151968b1a92665b8a6ca18f09e857d7b3ec5d16ddaf046acfc9d4d4f9072e
3
+ size 13493423
Worm/Worm-8499000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78c9ec8eea15ee2441ef4643d4f231ac0e189e37f43b7b0dc7ac81036b866e62
3
+ size 2255979
Worm/Worm-8499000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:110ea0f84bb979088cc535037977c4694bdb0d484855a50acefe6f60a0793ba7
3
+ size 13493423
Worm/Worm-8999000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1aef72c70ac3d504dd5a5d7170387d6196e8172687fb70de4687993946c7c858
3
+ size 2255979
Worm/Worm-8999000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e6a1ad9ab60c54cc8802b87901ec7013ac82c192ca0c035ed3d29a9e582b15a
3
+ size 13493423
Worm/Worm-9010000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:724d833b36d0d579a449386dce124d879fc01e8e0347d5f731b8ad9d172e8c89
3
+ size 2255979
Worm/Worm-9010000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b34429eb5683a8a79493c178061686bf4e46117f158f88e318c608fe5afb7008
3
+ size 13493423
Worm/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b34429eb5683a8a79493c178061686bf4e46117f158f88e318c608fe5afb7008
3
+ size 13493423
Worm/events.out.tfevents.1661031265.default.1262.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83a12efbf499d5607f17432a0edea0109c375c2b8495c73a3585ddb9952fcfeb
3
+ size 344738
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, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "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, "checkpoint_interval": 500000, "max_steps": 9000000, "time_horizon": 1000, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-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": "Worm Training", "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,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ network_settings:
17
+ normalize: true
18
+ hidden_units: 512
19
+ num_layers: 3
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.995
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ init_path: null
37
+ keep_checkpoints: 5
38
+ checkpoint_interval: 500000
39
+ max_steps: 9000000
40
+ time_horizon: 1000
41
+ summary_freq: 30000
42
+ threaded: false
43
+ self_play: null
44
+ behavioral_cloning: null
45
+ env_settings:
46
+ env_path: ./trained-envs-executables/linux/Worm/Worm
47
+ env_args: null
48
+ base_port: 5005
49
+ num_envs: 1
50
+ num_areas: 1
51
+ seed: -1
52
+ max_lifetime_restarts: 10
53
+ restarts_rate_limit_n: 1
54
+ restarts_rate_limit_period_s: 60
55
+ engine_settings:
56
+ width: 84
57
+ height: 84
58
+ quality_level: 5
59
+ time_scale: 20
60
+ target_frame_rate: -1
61
+ capture_frame_rate: 60
62
+ no_graphics: true
63
+ environment_parameters: null
64
+ checkpoint_settings:
65
+ run_id: Worm Training
66
+ initialize_from: null
67
+ load_model: false
68
+ resume: false
69
+ force: false
70
+ train_model: false
71
+ inference: false
72
+ results_dir: results
73
+ torch_settings:
74
+ device: null
75
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/studio-lab-user/deep-rl-class/unit4/ml-agents/trained-envs-executables/linux/Worm/Worm_Data/Managed'
2
+ Mono config path = '/home/studio-lab-user/deep-rl-class/unit4/ml-agents/trained-envs-executables/linux/Worm/Worm_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 169.254.255.2
4
+ Broadcasting "[IP] 169.254.255.2 [Port] 55276 [Flags] 2 [Guid] 1798152580 [EditorId] 588871222 [Version] 1048832 [Id] LinuxPlayer(13,169.254.255.2) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [169.254.255.255: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 /home/studio-lab-user/deep-rl-class/unit4/ml-agents/trained-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
+ FMOD initialized on nosound output
16
+ Begin MonoManager ReloadAssembly
17
+ - Completed reload, in 0.086 seconds
18
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
25
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
32
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
40
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
41
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
42
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
46
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
47
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
48
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
49
+ UnloadTime: 0.671621 ms
50
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ requesting resize 84 x 84
52
+ Setting up 2 worker threads for Enlighten.
53
+ PlayerConnection::CleanupMemory Statistics:
54
+ [ALLOC_TEMP_TLS] TLS Allocator
55
+ StackAllocators :
56
+ [ALLOC_TEMP_MAIN]
57
+ Peak usage frame count: [4.0 KB-8.0 KB]: 180154 frames, [2.0 MB-4.0 MB]: 1 frames
58
+ Initial Block Size 4.0 MB
59
+ Current Block Size 4.0 MB
60
+ Peak Allocated Bytes 2.0 MB
61
+ Overflow Count 0
62
+ [ALLOC_TEMP_Background Job.Worker 8]
63
+ Initial Block Size 32.0 KB
64
+ Current Block Size 32.0 KB
65
+ Peak Allocated Bytes 0 B
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Background Job.Worker 10]
68
+ Initial Block Size 32.0 KB
69
+ Current Block Size 32.0 KB
70
+ Peak Allocated Bytes 0 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Background Job.Worker 6]
73
+ Initial Block Size 32.0 KB
74
+ Current Block Size 32.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
78
+ Initial Block Size 64.0 KB
79
+ Current Block Size 64.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 1]
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 11]
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 3]
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_BatchDeleteObjects]
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_AUDIO_FMOD stream thread]
103
+ Initial Block Size 64.0 KB
104
+ Current Block Size 64.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Background Job.Worker 15]
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 7]
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_Background Job.Worker 2]
118
+ Initial Block Size 32.0 KB
119
+ Current Block Size 32.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Job.Worker 1]
123
+ Initial Block Size 256.0 KB
124
+ Current Block Size 256.0 KB
125
+ Peak Allocated Bytes 0.8 KB
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Loading.PreloadManager]
128
+ Initial Block Size 256.0 KB
129
+ Current Block Size 284.0 KB
130
+ Peak Allocated Bytes 243.4 KB
131
+ Overflow Count 4
132
+ [ALLOC_TEMP_Profiler.Dispatcher]
133
+ Initial Block Size 64.0 KB
134
+ Current Block Size 64.0 KB
135
+ Peak Allocated Bytes 480 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 12]
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_AssetGarbageCollectorHelper] x 3
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 13]
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_Job.Worker 2]
158
+ Initial Block Size 256.0 KB
159
+ Current Block Size 256.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 0]
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 4]
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_Job.Worker 0]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 9]
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_Background Job.Worker 14]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_EnlightenWorker] x 2
188
+ Initial Block Size 64.0 KB
189
+ Current Block Size 64.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Loading.AsyncRead]
193
+ Initial Block Size 64.0 KB
194
+ Current Block Size 64.0 KB
195
+ Peak Allocated Bytes 128 B
196
+ Overflow Count 0
197
+ [ALLOC_MEMORYPROFILER]
198
+ Peak usage frame count: [64.0 KB-128.0 KB]: 180155 frames
199
+ Requested Block Size 1.0 MB
200
+ Peak Block count 1
201
+ Peak Allocated memory 103.1 KB
202
+ Peak Large allocation bytes 0 B
203
+ [ALLOC_DEFAULT] Dual Thread Allocator
204
+ Peak main deferred allocation count 15
205
+ [ALLOC_BUCKET]
206
+ Large Block size 4.0 MB
207
+ Used Block count 1
208
+ Peak Allocated bytes 0.8 MB
209
+ [ALLOC_DEFAULT_MAIN]
210
+ Peak usage frame count: [4.0 MB-8.0 MB]: 180155 frames
211
+ Requested Block Size 16.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 5.3 MB
214
+ Peak Large allocation bytes 0 B
215
+ [ALLOC_DEFAULT_THREAD]
216
+ Peak usage frame count: [16.0 MB-32.0 MB]: 180155 frames
217
+ Requested Block Size 16.0 MB
218
+ Peak Block count 1
219
+ Peak Allocated memory 17.6 MB
220
+ Peak Large allocation bytes 16.0 MB
221
+ [ALLOC_TEMP_JOB_1_FRAME]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 1
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_2_FRAMES]
227
+ Initial Block Size 2.0 MB
228
+ Used Block Count 1
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
232
+ Initial Block Size 2.0 MB
233
+ Used Block Count 2
234
+ Overflow Count (too large) 0
235
+ Overflow Count (full) 0
236
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
237
+ Initial Block Size 1.0 MB
238
+ Used Block Count 3
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_GFX] Dual Thread Allocator
242
+ Peak main deferred allocation count 0
243
+ [ALLOC_BUCKET]
244
+ Large Block size 4.0 MB
245
+ Used Block count 1
246
+ Peak Allocated bytes 0.8 MB
247
+ [ALLOC_GFX_MAIN]
248
+ Peak usage frame count: [32.0 KB-64.0 KB]: 180154 frames, [64.0 KB-128.0 KB]: 1 frames
249
+ Requested Block Size 16.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 67.0 KB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_GFX_THREAD]
254
+ Peak usage frame count: [128.0 KB-256.0 KB]: 180155 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 151.2 KB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
260
+ Peak main deferred allocation count 0
261
+ [ALLOC_BUCKET]
262
+ Large Block size 4.0 MB
263
+ Used Block count 1
264
+ Peak Allocated bytes 0.8 MB
265
+ [ALLOC_CACHEOBJECTS_MAIN]
266
+ Peak usage frame count: [0.5 MB-1.0 MB]: 180155 frames
267
+ Requested Block Size 4.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 0.6 MB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_CACHEOBJECTS_THREAD]
272
+ Peak usage frame count: [256.0 KB-0.5 MB]: 180154 frames, [4.0 MB-8.0 MB]: 1 frames
273
+ Requested Block Size 4.0 MB
274
+ Peak Block count 2
275
+ Peak Allocated memory 4.2 MB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_TYPETREE] Dual Thread Allocator
278
+ Peak main deferred allocation count 0
279
+ [ALLOC_BUCKET]
280
+ Large Block size 4.0 MB
281
+ Used Block count 1
282
+ Peak Allocated bytes 0.8 MB
283
+ [ALLOC_TYPETREE_MAIN]
284
+ Peak usage frame count: [0-1.0 KB]: 180155 frames
285
+ Requested Block Size 2.0 MB
286
+ Peak Block count 1
287
+ Peak Allocated memory 1.0 KB
288
+ Peak Large allocation bytes 0 B
289
+ [ALLOC_TYPETREE_THREAD]
290
+ Peak usage frame count: [4.0 KB-8.0 KB]: 180154 frames, [8.0 KB-16.0 KB]: 1 frames
291
+ Requested Block Size 2.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 9.3 KB
294
+ Peak Large allocation bytes 0 B
295
+ [ALLOC_PROFILER]
296
+ Peak usage frame count: [16.0 KB-32.0 KB]: 180155 frames
297
+ Requested Block Size 16.0 MB
298
+ Peak Block count 1
299
+ Peak Allocated memory 29.5 KB
300
+ Peak Large allocation bytes 0 B
301
+ [ALLOC_PROFILER_BUCKET]
302
+ Large Block size 4.0 MB
303
+ Used Block count 1
304
+ Peak Allocated bytes 332 B
305
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1661040767814,"processId":1276,"allocatedMemory":1972251,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34516},{"Manager":11723},{"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":3573},{"DynamicArray":30868},{"HashMap":7680},{"Utility":2176},{"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,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Worm.Policy.Entropy.mean": {
5
+ "value": 0.6781819462776184,
6
+ "min": 0.6781819462776184,
7
+ "max": 1.4220836162567139,
8
+ "count": 300
9
+ },
10
+ "Worm.Policy.Entropy.sum": {
11
+ "value": 20345.458984375,
12
+ "min": 20345.458984375,
13
+ "max": 42662.5078125,
14
+ "count": 300
15
+ },
16
+ "Worm.Environment.EpisodeLength.mean": {
17
+ "value": 999.0,
18
+ "min": 999.0,
19
+ "max": 999.0,
20
+ "count": 300
21
+ },
22
+ "Worm.Environment.EpisodeLength.sum": {
23
+ "value": 29970.0,
24
+ "min": 29970.0,
25
+ "max": 29970.0,
26
+ "count": 300
27
+ },
28
+ "Worm.Step.mean": {
29
+ "value": 8999000.0,
30
+ "min": 29000.0,
31
+ "max": 8999000.0,
32
+ "count": 300
33
+ },
34
+ "Worm.Step.sum": {
35
+ "value": 8999000.0,
36
+ "min": 29000.0,
37
+ "max": 8999000.0,
38
+ "count": 300
39
+ },
40
+ "Worm.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 251.33346557617188,
42
+ "min": -0.006610119715332985,
43
+ "max": 252.6289825439453,
44
+ "count": 300
45
+ },
46
+ "Worm.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 7540.00390625,
48
+ "min": -0.1916934698820114,
49
+ "max": 7578.86962890625,
50
+ "count": 300
51
+ },
52
+ "Worm.Environment.CumulativeReward.mean": {
53
+ "value": 1233.4677083333333,
54
+ "min": 0.06768914084913659,
55
+ "max": 1259.4235717773438,
56
+ "count": 300
57
+ },
58
+ "Worm.Environment.CumulativeReward.sum": {
59
+ "value": 37004.03125,
60
+ "min": 1.962985084624961,
61
+ "max": 37782.70715332031,
62
+ "count": 300
63
+ },
64
+ "Worm.Policy.ExtrinsicReward.mean": {
65
+ "value": 1233.4677083333333,
66
+ "min": 0.06768914084913659,
67
+ "max": 1259.4235717773438,
68
+ "count": 300
69
+ },
70
+ "Worm.Policy.ExtrinsicReward.sum": {
71
+ "value": 37004.03125,
72
+ "min": 1.962985084624961,
73
+ "max": 37782.70715332031,
74
+ "count": 300
75
+ },
76
+ "Worm.IsTraining.mean": {
77
+ "value": 1.0,
78
+ "min": 1.0,
79
+ "max": 1.0,
80
+ "count": 300
81
+ },
82
+ "Worm.IsTraining.sum": {
83
+ "value": 1.0,
84
+ "min": 1.0,
85
+ "max": 1.0,
86
+ "count": 300
87
+ },
88
+ "Worm.Losses.PolicyLoss.mean": {
89
+ "value": 0.018020539853577724,
90
+ "min": 0.011846781015589971,
91
+ "max": 0.02364583143692774,
92
+ "count": 299
93
+ },
94
+ "Worm.Losses.PolicyLoss.sum": {
95
+ "value": 0.018020539853577724,
96
+ "min": 0.011846781015589971,
97
+ "max": 0.02364583143692774,
98
+ "count": 299
99
+ },
100
+ "Worm.Losses.ValueLoss.mean": {
101
+ "value": 13.22553893498012,
102
+ "min": 0.0010078260785944405,
103
+ "max": 16.18698805854434,
104
+ "count": 299
105
+ },
106
+ "Worm.Losses.ValueLoss.sum": {
107
+ "value": 13.22553893498012,
108
+ "min": 0.0010078260785944405,
109
+ "max": 16.18698805854434,
110
+ "count": 299
111
+ },
112
+ "Worm.Policy.LearningRate.mean": {
113
+ "value": 1.0000996666666565e-06,
114
+ "min": 1.0000996666666565e-06,
115
+ "max": 0.0002990000003333333,
116
+ "count": 299
117
+ },
118
+ "Worm.Policy.LearningRate.sum": {
119
+ "value": 1.0000996666666565e-06,
120
+ "min": 1.0000996666666565e-06,
121
+ "max": 0.0002990000003333333,
122
+ "count": 299
123
+ },
124
+ "Worm.Policy.Epsilon.mean": {
125
+ "value": 0.10033333333333334,
126
+ "min": 0.10033333333333334,
127
+ "max": 0.1996666666666667,
128
+ "count": 299
129
+ },
130
+ "Worm.Policy.Epsilon.sum": {
131
+ "value": 0.10033333333333334,
132
+ "min": 0.10033333333333334,
133
+ "max": 0.1996666666666667,
134
+ "count": 299
135
+ },
136
+ "Worm.Policy.Beta.mean": {
137
+ "value": 2.663333333333317e-05,
138
+ "min": 2.663333333333317e-05,
139
+ "max": 0.004983366666666666,
140
+ "count": 299
141
+ },
142
+ "Worm.Policy.Beta.sum": {
143
+ "value": 2.663333333333317e-05,
144
+ "min": 2.663333333333317e-05,
145
+ "max": 0.004983366666666666,
146
+ "count": 299
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1661031262",
152
+ "python_version": "3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:23:11) \n[GCC 9.4.0]",
153
+ "command_line_arguments": "/home/studio-lab-user/.conda/envs/d2l/bin/mlagents-learn ./config/ppo/Worm.yaml --env=./trained-envs-executables/linux/Worm/Worm --run-id=Worm Training --no-graphics",
154
+ "mlagents_version": "0.29.0.dev0",
155
+ "mlagents_envs_version": "0.29.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "1.8.1+cu102",
158
+ "numpy_version": "1.21.4",
159
+ "end_time_seconds": "1661040767"
160
+ },
161
+ "total": 9505.179301352,
162
+ "count": 1,
163
+ "self": 0.3217640480015689,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.07546858199975759,
167
+ "count": 1,
168
+ "self": 0.07546858199975759
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 9504.782068722,
172
+ "count": 1,
173
+ "self": 13.714989212308865,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 5.901572881999982,
177
+ "count": 1,
178
+ "self": 5.901572881999982
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 9485.044856490691,
182
+ "count": 901000,
183
+ "self": 14.444147275373325,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 7610.621874060705,
187
+ "count": 901000,
188
+ "self": 6590.342770350579,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 1010.656432815174,
192
+ "count": 901000,
193
+ "self": 78.82304082228848,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 931.8333919928855,
197
+ "count": 901000,
198
+ "self": 226.2188572364612,
199
+ "children": {
200
+ "TorchPolicy.sample_actions": {
201
+ "total": 705.6145347564243,
202
+ "count": 901000,
203
+ "self": 705.6145347564243
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "workers": {
210
+ "total": 9.622670894952535,
211
+ "count": 901000,
212
+ "self": 0.0,
213
+ "children": {
214
+ "worker_root": {
215
+ "total": 9473.380714820823,
216
+ "count": 901000,
217
+ "is_parallel": true,
218
+ "self": 3752.8072850167464,
219
+ "children": {
220
+ "run_training.setup": {
221
+ "total": 0.0,
222
+ "count": 0,
223
+ "is_parallel": true,
224
+ "self": 0.0,
225
+ "children": {
226
+ "steps_from_proto": {
227
+ "total": 0.0008158149998962472,
228
+ "count": 1,
229
+ "is_parallel": true,
230
+ "self": 0.0002778989996841119,
231
+ "children": {
232
+ "_process_rank_one_or_two_observation": {
233
+ "total": 0.0005379160002121353,
234
+ "count": 2,
235
+ "is_parallel": true,
236
+ "self": 0.0005379160002121353
237
+ }
238
+ }
239
+ },
240
+ "UnityEnvironment.step": {
241
+ "total": 0.022193953999703808,
242
+ "count": 1,
243
+ "is_parallel": true,
244
+ "self": 0.000174381999840989,
245
+ "children": {
246
+ "UnityEnvironment._generate_step_input": {
247
+ "total": 0.00043153000024176436,
248
+ "count": 1,
249
+ "is_parallel": true,
250
+ "self": 0.00043153000024176436
251
+ },
252
+ "communicator.exchange": {
253
+ "total": 0.02115404899996065,
254
+ "count": 1,
255
+ "is_parallel": true,
256
+ "self": 0.02115404899996065
257
+ },
258
+ "steps_from_proto": {
259
+ "total": 0.00043399299966040417,
260
+ "count": 1,
261
+ "is_parallel": true,
262
+ "self": 0.0001865719996203552,
263
+ "children": {
264
+ "_process_rank_one_or_two_observation": {
265
+ "total": 0.00024742100004004897,
266
+ "count": 2,
267
+ "is_parallel": true,
268
+ "self": 0.00024742100004004897
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 5720.573429804077,
278
+ "count": 900999,
279
+ "is_parallel": true,
280
+ "self": 124.22179808574037,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 204.84250038642995,
284
+ "count": 900999,
285
+ "is_parallel": true,
286
+ "self": 204.84250038642995
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 5091.96472193835,
290
+ "count": 900999,
291
+ "is_parallel": true,
292
+ "self": 5091.96472193835
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 299.54440939355663,
296
+ "count": 900999,
297
+ "is_parallel": true,
298
+ "self": 126.6684532889949,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 172.87595610456174,
302
+ "count": 1801998,
303
+ "is_parallel": true,
304
+ "self": 172.87595610456174
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ },
316
+ "trainer_advance": {
317
+ "total": 1859.978835154613,
318
+ "count": 901000,
319
+ "self": 17.128216481557047,
320
+ "children": {
321
+ "process_trajectory": {
322
+ "total": 474.90927054705253,
323
+ "count": 901000,
324
+ "self": 472.75272370705125,
325
+ "children": {
326
+ "RLTrainer._checkpoint": {
327
+ "total": 2.1565468400012833,
328
+ "count": 18,
329
+ "self": 2.1565468400012833
330
+ }
331
+ }
332
+ },
333
+ "_update_policy": {
334
+ "total": 1367.9413481260035,
335
+ "count": 300,
336
+ "self": 1155.0510788920096,
337
+ "children": {
338
+ "TorchPPOOptimizer.update": {
339
+ "total": 212.89026923399388,
340
+ "count": 12600,
341
+ "self": 212.89026923399388
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ },
349
+ "trainer_threads": {
350
+ "total": 8.879997039912269e-07,
351
+ "count": 1,
352
+ "self": 8.879997039912269e-07
353
+ },
354
+ "TrainerController._save_models": {
355
+ "total": 0.1206492490000528,
356
+ "count": 1,
357
+ "self": 0.0013527459996112157,
358
+ "children": {
359
+ "RLTrainer._checkpoint": {
360
+ "total": 0.11929650300044159,
361
+ "count": 1,
362
+ "self": 0.11929650300044159
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Worm": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 7499000,
6
+ "file_path": "results/Worm Training/Worm/Worm-7499000.onnx",
7
+ "reward": 1190.3019935344828,
8
+ "creation_time": 1661039185.8909411,
9
+ "auxillary_file_paths": [
10
+ "results/Worm Training/Worm/Worm-7499000.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 7999000,
15
+ "file_path": "results/Worm Training/Worm/Worm-7999000.onnx",
16
+ "reward": 1221.5968210320723,
17
+ "creation_time": 1661039709.4939492,
18
+ "auxillary_file_paths": [
19
+ "results/Worm Training/Worm/Worm-7999000.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 8499000,
24
+ "file_path": "results/Worm Training/Worm/Worm-8499000.onnx",
25
+ "reward": 1256.8942057291667,
26
+ "creation_time": 1661040229.7039847,
27
+ "auxillary_file_paths": [
28
+ "results/Worm Training/Worm/Worm-8499000.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 8999000,
33
+ "file_path": "results/Worm Training/Worm/Worm-8999000.onnx",
34
+ "reward": 1233.487447804418,
35
+ "creation_time": 1661040753.9643555,
36
+ "auxillary_file_paths": [
37
+ "results/Worm Training/Worm/Worm-8999000.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 9010000,
42
+ "file_path": "results/Worm Training/Worm/Worm-9010000.onnx",
43
+ "reward": 1249.322021484375,
44
+ "creation_time": 1661040767.5248241,
45
+ "auxillary_file_paths": [
46
+ "results/Worm Training/Worm/Worm-9010000.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "final_checkpoint": {
51
+ "steps": 9010000,
52
+ "file_path": "results/Worm Training/Worm.onnx",
53
+ "reward": 1249.322021484375,
54
+ "creation_time": 1661040767.5248241,
55
+ "auxillary_file_paths": [
56
+ "results/Worm Training/Worm/Worm-9010000.pt"
57
+ ]
58
+ }
59
+ },
60
+ "metadata": {
61
+ "stats_format_version": "0.3.0",
62
+ "mlagents_version": "0.29.0.dev0",
63
+ "torch_version": "1.8.1+cu102"
64
+ }
65
+ }