akanametov commited on
Commit
d884c83
1 Parent(s): ca56bfc

Trained Worm agent upload

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: akanametov/MLAgents-Worm
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:bf35a7985eb4c86bbf11e0e1e587f71b173e1d04dcf42d3e60cb90317d131661
3
+ size 2255979
Worm/Worm-1499000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecc91ede6058d09d46da0ecebcdda0a3fbdb0ce1230c6d4cc8dbfc2b759dd559
3
+ size 2255979
Worm/Worm-1499000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34f6007e3446fdd3264d20dcc6b09e2a9ddd29db43eef72757d299ac46b35c36
3
+ size 13492846
Worm/Worm-1510000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf35a7985eb4c86bbf11e0e1e587f71b173e1d04dcf42d3e60cb90317d131661
3
+ size 2255979
Worm/Worm-1510000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4251f45cc186933221cad9864db3bca388d049e8a51d38d9bf7f5c9c2ff224c
3
+ size 13492846
Worm/Worm-499000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93d5431ac8e0bd729447257547a4f83393b3a58808b9f543729c28679582853b
3
+ size 2255979
Worm/Worm-499000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bbc1878a3bd9143d3635811a57965f1431819675cbc033dfe4ef73a963ba827
3
+ size 13492846
Worm/Worm-999000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d325b5b4fa29fefff7e03ce48df7d1c089f14ce3f08a3daed254fe5470b5b93
3
+ size 2255979
Worm/Worm-999000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2feb39b499506b76958b60b54bac8b4ace90c60aeb1f671d81efa7d2f15afbea
3
+ size 13492846
Worm/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4251f45cc186933221cad9864db3bca388d049e8a51d38d9bf7f5c9c2ff224c
3
+ size 13492846
Worm/events.out.tfevents.1671968415.72a184cf6cc7.5085.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f656abbdf1c4f90e8d302f2ae62568baa935595aa904ff715ab0131e417f9dea
3
+ size 114063
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": 1500000, "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: 1500000
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,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/trained-envs-executables/linux/Worm/Worm_Data/Managed'
2
+ Mono config path = '/content/ml-agents/trained-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] 55088 [Flags] 2 [Guid] 4268047822 [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/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
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
16
+ ALSA lib conf.c:4528:(_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:4528:(_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:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
21
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
22
+ ALSA lib pcm.c:2495:(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:4528:(_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:4528:(_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:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
32
+ ALSA lib pcm.c:2495:(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.084 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.704515 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]: 30192 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 7]
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 15]
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 0 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 9]
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 14]
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]: 30193 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 22
214
+ [ALLOC_BUCKET]
215
+ Large Block size 4.0 MB
216
+ Used Block count 1
217
+ Peak Allocated bytes 0.7 MB
218
+ [ALLOC_DEFAULT_MAIN]
219
+ Peak usage frame count: [4.0 MB-8.0 MB]: 30193 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 1
222
+ Peak Allocated memory 4.9 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 30193 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 17.9 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.7 MB
256
+ [ALLOC_GFX_MAIN]
257
+ Peak usage frame count: [32.0 KB-64.0 KB]: 30192 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]: 30193 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.7 MB
274
+ [ALLOC_CACHEOBJECTS_MAIN]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 30193 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]: 30192 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.7 MB
292
+ [ALLOC_TYPETREE_MAIN]
293
+ Peak usage frame count: [0-1.0 KB]: 30193 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]: 30192 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]: 30193 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 29.2 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":1671970237546,"processId":5106,"allocatedMemory":1957305,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"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":3420},{"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,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Worm.Policy.Entropy.mean": {
5
+ "value": 1.3431179523468018,
6
+ "min": 1.3431179523468018,
7
+ "max": 1.4233607053756714,
8
+ "count": 50
9
+ },
10
+ "Worm.Policy.Entropy.sum": {
11
+ "value": 40293.5390625,
12
+ "min": 40293.5390625,
13
+ "max": 42700.8203125,
14
+ "count": 50
15
+ },
16
+ "Worm.Environment.EpisodeLength.mean": {
17
+ "value": 999.0,
18
+ "min": 999.0,
19
+ "max": 999.0,
20
+ "count": 50
21
+ },
22
+ "Worm.Environment.EpisodeLength.sum": {
23
+ "value": 29970.0,
24
+ "min": 29970.0,
25
+ "max": 29970.0,
26
+ "count": 50
27
+ },
28
+ "Worm.Step.mean": {
29
+ "value": 1499000.0,
30
+ "min": 29000.0,
31
+ "max": 1499000.0,
32
+ "count": 50
33
+ },
34
+ "Worm.Step.sum": {
35
+ "value": 1499000.0,
36
+ "min": 29000.0,
37
+ "max": 1499000.0,
38
+ "count": 50
39
+ },
40
+ "Worm.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 28.128171920776367,
42
+ "min": -0.049589935690164566,
43
+ "max": 28.128171920776367,
44
+ "count": 50
45
+ },
46
+ "Worm.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 843.8451538085938,
48
+ "min": -1.4381080865859985,
49
+ "max": 843.8451538085938,
50
+ "count": 50
51
+ },
52
+ "Worm.Environment.CumulativeReward.mean": {
53
+ "value": 181.98054911295574,
54
+ "min": 0.2684007525444031,
55
+ "max": 184.13802388509114,
56
+ "count": 50
57
+ },
58
+ "Worm.Environment.CumulativeReward.sum": {
59
+ "value": 5459.416473388672,
60
+ "min": 8.052022576332092,
61
+ "max": 5524.140716552734,
62
+ "count": 50
63
+ },
64
+ "Worm.Policy.ExtrinsicReward.mean": {
65
+ "value": 181.98054911295574,
66
+ "min": 0.2684007525444031,
67
+ "max": 184.13802388509114,
68
+ "count": 50
69
+ },
70
+ "Worm.Policy.ExtrinsicReward.sum": {
71
+ "value": 5459.416473388672,
72
+ "min": 8.052022576332092,
73
+ "max": 5524.140716552734,
74
+ "count": 50
75
+ },
76
+ "Worm.IsTraining.mean": {
77
+ "value": 1.0,
78
+ "min": 1.0,
79
+ "max": 1.0,
80
+ "count": 50
81
+ },
82
+ "Worm.IsTraining.sum": {
83
+ "value": 1.0,
84
+ "min": 1.0,
85
+ "max": 1.0,
86
+ "count": 50
87
+ },
88
+ "Worm.Losses.PolicyLoss.mean": {
89
+ "value": 0.016066309097888216,
90
+ "min": 0.012886544306682134,
91
+ "max": 0.021075325824009877,
92
+ "count": 49
93
+ },
94
+ "Worm.Losses.PolicyLoss.sum": {
95
+ "value": 0.016066309097888216,
96
+ "min": 0.012886544306682134,
97
+ "max": 0.021075325824009877,
98
+ "count": 49
99
+ },
100
+ "Worm.Losses.ValueLoss.mean": {
101
+ "value": 2.9034164178939093,
102
+ "min": 0.0015053260555889989,
103
+ "max": 2.9034164178939093,
104
+ "count": 49
105
+ },
106
+ "Worm.Losses.ValueLoss.sum": {
107
+ "value": 2.9034164178939093,
108
+ "min": 0.0015053260555889989,
109
+ "max": 2.9034164178939093,
110
+ "count": 49
111
+ },
112
+ "Worm.Policy.LearningRate.mean": {
113
+ "value": 6.000098000000006e-06,
114
+ "min": 6.000098000000006e-06,
115
+ "max": 0.000294000002,
116
+ "count": 49
117
+ },
118
+ "Worm.Policy.LearningRate.sum": {
119
+ "value": 6.000098000000006e-06,
120
+ "min": 6.000098000000006e-06,
121
+ "max": 0.000294000002,
122
+ "count": 49
123
+ },
124
+ "Worm.Policy.Epsilon.mean": {
125
+ "value": 0.10200000000000002,
126
+ "min": 0.10200000000000002,
127
+ "max": 0.198,
128
+ "count": 49
129
+ },
130
+ "Worm.Policy.Epsilon.sum": {
131
+ "value": 0.10200000000000002,
132
+ "min": 0.10200000000000002,
133
+ "max": 0.198,
134
+ "count": 49
135
+ },
136
+ "Worm.Policy.Beta.mean": {
137
+ "value": 0.0001098000000000001,
138
+ "min": 0.0001098000000000001,
139
+ "max": 0.0049002,
140
+ "count": 49
141
+ },
142
+ "Worm.Policy.Beta.sum": {
143
+ "value": 0.0001098000000000001,
144
+ "min": 0.0001098000000000001,
145
+ "max": 0.0049002,
146
+ "count": 49
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1671968412",
152
+ "python_version": "3.8.16 (default, Dec 7 2022, 01:12:13) \n[GCC 7.5.0]",
153
+ "command_line_arguments": "/usr/local/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.6",
159
+ "end_time_seconds": "1671970237"
160
+ },
161
+ "total": 1825.334337814,
162
+ "count": 1,
163
+ "self": 0.42431275300009474,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.10706777899986264,
167
+ "count": 1,
168
+ "self": 0.10706777899986264
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 1824.802957282,
172
+ "count": 1,
173
+ "self": 2.4575373880334155,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 6.3716269389999525,
177
+ "count": 1,
178
+ "self": 6.3716269389999525
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 1815.8591879749672,
182
+ "count": 151000,
183
+ "self": 2.5582386229966687,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 1479.5933154009717,
187
+ "count": 151000,
188
+ "self": 1290.8111871769404,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 187.14185654601965,
192
+ "count": 151000,
193
+ "self": 12.090324133031118,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 175.05153241298854,
197
+ "count": 151000,
198
+ "self": 44.50808285204357,
199
+ "children": {
200
+ "TorchPolicy.sample_actions": {
201
+ "total": 130.54344956094496,
202
+ "count": 151000,
203
+ "self": 130.54344956094496
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "workers": {
210
+ "total": 1.6402716780116862,
211
+ "count": 151000,
212
+ "self": 0.0,
213
+ "children": {
214
+ "worker_root": {
215
+ "total": 1819.4336571359856,
216
+ "count": 151000,
217
+ "is_parallel": true,
218
+ "self": 697.61935399699,
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.0010792420000598213,
228
+ "count": 1,
229
+ "is_parallel": true,
230
+ "self": 0.00028113000007579103,
231
+ "children": {
232
+ "_process_rank_one_or_two_observation": {
233
+ "total": 0.0007981119999840303,
234
+ "count": 2,
235
+ "is_parallel": true,
236
+ "self": 0.0007981119999840303
237
+ }
238
+ }
239
+ },
240
+ "UnityEnvironment.step": {
241
+ "total": 0.028807444999984,
242
+ "count": 1,
243
+ "is_parallel": true,
244
+ "self": 0.0002292980002494005,
245
+ "children": {
246
+ "UnityEnvironment._generate_step_input": {
247
+ "total": 0.0003817369999978837,
248
+ "count": 1,
249
+ "is_parallel": true,
250
+ "self": 0.0003817369999978837
251
+ },
252
+ "communicator.exchange": {
253
+ "total": 0.027590266999823143,
254
+ "count": 1,
255
+ "is_parallel": true,
256
+ "self": 0.027590266999823143
257
+ },
258
+ "steps_from_proto": {
259
+ "total": 0.0006061429999135726,
260
+ "count": 1,
261
+ "is_parallel": true,
262
+ "self": 0.00023001199997452204,
263
+ "children": {
264
+ "_process_rank_one_or_two_observation": {
265
+ "total": 0.0003761309999390505,
266
+ "count": 2,
267
+ "is_parallel": true,
268
+ "self": 0.0003761309999390505
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 1121.8143031389957,
278
+ "count": 150999,
279
+ "is_parallel": true,
280
+ "self": 24.372718621929607,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 45.66290728593685,
284
+ "count": 150999,
285
+ "is_parallel": true,
286
+ "self": 45.66290728593685
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 986.347926977023,
290
+ "count": 150999,
291
+ "is_parallel": true,
292
+ "self": 986.347926977023
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 65.43075025410621,
296
+ "count": 150999,
297
+ "is_parallel": true,
298
+ "self": 25.40858833710581,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 40.0221619170004,
302
+ "count": 301998,
303
+ "is_parallel": true,
304
+ "self": 40.0221619170004
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ },
316
+ "trainer_advance": {
317
+ "total": 333.7076339509988,
318
+ "count": 151000,
319
+ "self": 3.081711164936678,
320
+ "children": {
321
+ "process_trajectory": {
322
+ "total": 87.07625051506261,
323
+ "count": 151000,
324
+ "self": 86.71208963506228,
325
+ "children": {
326
+ "RLTrainer._checkpoint": {
327
+ "total": 0.36416088000032687,
328
+ "count": 3,
329
+ "self": 0.36416088000032687
330
+ }
331
+ }
332
+ },
333
+ "_update_policy": {
334
+ "total": 243.5496722709995,
335
+ "count": 50,
336
+ "self": 205.65002695400335,
337
+ "children": {
338
+ "TorchPPOOptimizer.update": {
339
+ "total": 37.89964531699616,
340
+ "count": 2100,
341
+ "self": 37.89964531699616
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ },
349
+ "trainer_threads": {
350
+ "total": 9.229997885995544e-07,
351
+ "count": 1,
352
+ "self": 9.229997885995544e-07
353
+ },
354
+ "TrainerController._save_models": {
355
+ "total": 0.11460405699972398,
356
+ "count": 1,
357
+ "self": 0.0024294829995596956,
358
+ "children": {
359
+ "RLTrainer._checkpoint": {
360
+ "total": 0.11217457400016428,
361
+ "count": 1,
362
+ "self": 0.11217457400016428
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Worm": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499000,
6
+ "file_path": "results/Worm Training/Worm/Worm-499000.onnx",
7
+ "reward": 16.883685061806126,
8
+ "creation_time": 1671969019.44984,
9
+ "auxillary_file_paths": [
10
+ "results/Worm Training/Worm/Worm-499000.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999000,
15
+ "file_path": "results/Worm Training/Worm/Worm-999000.onnx",
16
+ "reward": 126.84090762668185,
17
+ "creation_time": 1671969624.3072174,
18
+ "auxillary_file_paths": [
19
+ "results/Worm Training/Worm/Worm-999000.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1499000,
24
+ "file_path": "results/Worm Training/Worm/Worm-1499000.onnx",
25
+ "reward": 181.17187815699083,
26
+ "creation_time": 1671970222.1989696,
27
+ "auxillary_file_paths": [
28
+ "results/Worm Training/Worm/Worm-1499000.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 1510000,
33
+ "file_path": "results/Worm Training/Worm/Worm-1510000.onnx",
34
+ "reward": 169.66315002441405,
35
+ "creation_time": 1671970237.1830504,
36
+ "auxillary_file_paths": [
37
+ "results/Worm Training/Worm/Worm-1510000.pt"
38
+ ]
39
+ }
40
+ ],
41
+ "final_checkpoint": {
42
+ "steps": 1510000,
43
+ "file_path": "results/Worm Training/Worm.onnx",
44
+ "reward": 169.66315002441405,
45
+ "creation_time": 1671970237.1830504,
46
+ "auxillary_file_paths": [
47
+ "results/Worm Training/Worm/Worm-1510000.pt"
48
+ ]
49
+ }
50
+ },
51
+ "metadata": {
52
+ "stats_format_version": "0.3.0",
53
+ "mlagents_version": "0.29.0.dev0",
54
+ "torch_version": "1.8.1+cu102"
55
+ }
56
+ }