Alyia commited on
Commit
d6a8c7c
1 Parent(s): 822f46e
Huggy.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54926e3f7bc408a3c697bcfde5b71a834423d3c6f1436bec2431a74c815b4910
3
+ size 2270006
Huggy/Huggy-10905.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54926e3f7bc408a3c697bcfde5b71a834423d3c6f1436bec2431a74c815b4910
3
+ size 2270006
Huggy/Huggy-10905.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5995e948a6d7ef8ea135493e7e8fb60977c7e13ee137d5bdaf203128a4772bd
3
+ size 4507908
Huggy/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:953268c946a9a83844b848f82e81349dd7690a35d51b3ef66154486f93e4730c
3
+ size 4507874
Huggy/events.out.tfevents.1719692765.0288aae9865c.1649.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a73a3721a1cb013ccb6cec4779c47007f8dd23c5662ee72f192a95dd7b2acb8
3
+ size 1121
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - Huggy
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-Huggy
8
+ ---
9
+
10
+ # **ppo** Agent playing **Huggy**
11
+ This is a trained model of a **ppo** agent playing **Huggy**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: Alyia/ppo-Huggy
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Huggy": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 200000, "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": 15, "even_checkpoints": false, "max_steps": 2000000, "time_horizon": 1000, "summary_freq": 50000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-envs-executables/linux/Huggy/Huggy", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Huggy2", "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,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Huggy:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ shared_critic: false
14
+ learning_rate_schedule: linear
15
+ beta_schedule: linear
16
+ epsilon_schedule: linear
17
+ checkpoint_interval: 200000
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: 15
40
+ even_checkpoints: false
41
+ max_steps: 2000000
42
+ time_horizon: 1000
43
+ summary_freq: 50000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: ./trained-envs-executables/linux/Huggy/Huggy
49
+ env_args: null
50
+ base_port: 5005
51
+ num_envs: 1
52
+ num_areas: 1
53
+ timeout_wait: 60
54
+ seed: -1
55
+ max_lifetime_restarts: 10
56
+ restarts_rate_limit_n: 1
57
+ restarts_rate_limit_period_s: 60
58
+ engine_settings:
59
+ width: 84
60
+ height: 84
61
+ quality_level: 5
62
+ time_scale: 20
63
+ target_frame_rate: -1
64
+ capture_frame_rate: 60
65
+ no_graphics: true
66
+ no_graphics_monitor: false
67
+ environment_parameters: null
68
+ checkpoint_settings:
69
+ run_id: Huggy2
70
+ initialize_from: null
71
+ load_model: false
72
+ resume: false
73
+ force: false
74
+ train_model: false
75
+ inference: false
76
+ results_dir: results
77
+ torch_settings:
78
+ device: null
79
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/trained-envs-executables/linux/Huggy/Huggy_Data/Managed'
2
+ Mono config path = '/content/ml-agents/trained-envs-executables/linux/Huggy/Huggy_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Hugging Face
6
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Hugging Face/Huggy
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /content/ml-agents/trained-envs-executables/linux/Huggy/Huggy_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:855:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
18
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2664:(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:855:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
28
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2664:(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.134 seconds
38
+ ERROR: Shader Hidden/Universal Render Pipeline/Blit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Hidden/Universal Render Pipeline/CopyDepth shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ ERROR: Shader Hidden/Universal Render Pipeline/ScreenSpaceShadows shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ ERROR: Shader Hidden/Universal Render Pipeline/Sampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderLdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
43
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderHdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ ERROR: Shader Hidden/Universal Render Pipeline/UberPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - 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
+ ERROR: Shader Hidden/Universal Render Pipeline/FallbackError shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - All subshaders removed
50
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
51
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
52
+ ERROR: Shader Hidden/Universal Render Pipeline/Stop NaN shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
53
+ ERROR: Shader Hidden/Universal Render Pipeline/SubpixelMorphologicalAntialiasing shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
54
+ ERROR: Shader Hidden/Universal Render Pipeline/GaussianDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
55
+ ERROR: Shader Hidden/Universal Render Pipeline/BokehDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
56
+ ERROR: Shader Hidden/Universal Render Pipeline/CameraMotionBlur shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
57
+ ERROR: Shader Hidden/Universal Render Pipeline/PaniniProjection shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ ERROR: Shader Hidden/Universal Render Pipeline/Bloom shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
59
+ ERROR: Shader Hidden/Universal Render Pipeline/FinalPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
60
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/StencilDeferred' - All subshaders removed
61
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
62
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
63
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/StencilDeferred' - All subshaders removed
64
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
65
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
66
+ ERROR: Shader Hidden/Universal Render Pipeline/LensFlareDataDriven shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
67
+ ERROR: Shader Hidden/Universal Render Pipeline/Scaling Setup shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
68
+ ERROR: Shader Hidden/Universal Render Pipeline/Edge Adaptive Spatial Upsampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
69
+ ERROR: Shader Hidden/Universal Render Pipeline/Debug/DebugReplacement shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ ERROR: Shader Hidden/kMotion/CameraMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
71
+ ERROR: Shader Hidden/kMotion/ObjectMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
72
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
73
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
74
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
75
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
76
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
77
+ ERROR: Shader Universal Render Pipeline/Lit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
78
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
79
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
80
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
81
+ UnloadTime: 1.020778 ms
82
+ requesting resize 84 x 84
83
+ Setting up 1 worker threads for Enlighten.
84
+ Memory Statistics:
85
+ [ALLOC_TEMP_TLS] TLS Allocator
86
+ StackAllocators :
87
+ [ALLOC_TEMP_MAIN]
88
+ Peak usage frame count: [4.0 KB-8.0 KB]: 210 frames, [2.0 MB-4.0 MB]: 1 frames
89
+ Initial Block Size 4.0 MB
90
+ Current Block Size 4.0 MB
91
+ Peak Allocated Bytes 3.6 MB
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Loading.AsyncRead]
94
+ Initial Block Size 64.0 KB
95
+ Current Block Size 64.0 KB
96
+ Peak Allocated Bytes 128 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Loading.PreloadManager]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 296.0 KB
101
+ Peak Allocated Bytes 211.5 KB
102
+ Overflow Count 4
103
+ [ALLOC_TEMP_Background Job.Worker 8]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 9]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 0]
114
+ Initial Block Size 256.0 KB
115
+ Current Block Size 256.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 10]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 14]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 6]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 12]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_EnlightenWorker]
139
+ Initial Block Size 64.0 KB
140
+ Current Block Size 64.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 15]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 1]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 2]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 7]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
164
+ Initial Block Size 64.0 KB
165
+ Current Block Size 64.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 5]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 13]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 11]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 3]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 0]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Background Job.Worker 4]
194
+ Initial Block Size 32.0 KB
195
+ Current Block Size 32.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_BatchDeleteObjects]
199
+ Initial Block Size 64.0 KB
200
+ Current Block Size 64.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_DEFAULT] Dual Thread Allocator
204
+ Peak main deferred allocation count 250
205
+ [ALLOC_BUCKET]
206
+ Large Block size 4.0 MB
207
+ Used Block count 1
208
+ Peak Allocated bytes 1.4 MB
209
+ [ALLOC_DEFAULT_MAIN]
210
+ Peak usage frame count: [16.0 MB-32.0 MB]: 211 frames
211
+ Requested Block Size 16.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 21.8 MB
214
+ Peak Large allocation bytes 16.0 MB
215
+ [ALLOC_DEFAULT_THREAD]
216
+ Peak usage frame count: [2.0 MB-4.0 MB]: 211 frames
217
+ Requested Block Size 16.0 MB
218
+ Peak Block count 1
219
+ Peak Allocated memory 2.8 MB
220
+ Peak Large allocation bytes 0 B
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 1.4 MB
247
+ [ALLOC_GFX_MAIN]
248
+ Peak usage frame count: [32.0 KB-64.0 KB]: 210 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 65.6 KB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_GFX_THREAD]
254
+ Peak usage frame count: [64.0 KB-128.0 KB]: 211 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 81.8 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 1.4 MB
265
+ [ALLOC_CACHEOBJECTS_MAIN]
266
+ Peak usage frame count: [1.0 MB-2.0 MB]: 210 frames, [16.0 MB-32.0 MB]: 1 frames
267
+ Requested Block Size 4.0 MB
268
+ Peak Block count 2
269
+ Peak Allocated memory 30.6 MB
270
+ Peak Large allocation bytes 24.9 MB
271
+ [ALLOC_CACHEOBJECTS_THREAD]
272
+ Peak usage frame count: [0.5 MB-1.0 MB]: 210 frames, [2.0 MB-4.0 MB]: 1 frames
273
+ Requested Block Size 4.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 2.6 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 1.4 MB
283
+ [ALLOC_TYPETREE_MAIN]
284
+ Peak usage frame count: [0-1.0 KB]: 211 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]: 211 frames
291
+ Requested Block Size 2.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 7.3 KB
294
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1719692763",
6
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
7
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy2 --no-graphics",
8
+ "mlagents_version": "1.1.0.dev0",
9
+ "mlagents_envs_version": "1.1.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "2.3.0+cu121",
12
+ "numpy_version": "1.23.5",
13
+ "end_time_seconds": "1719692786"
14
+ },
15
+ "total": 22.705131220999988,
16
+ "count": 1,
17
+ "self": 0.11543725000001359,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.06594533399999136,
21
+ "count": 1,
22
+ "self": 0.06594533399999136
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 22.523748636999983,
26
+ "count": 1,
27
+ "self": 0.03983243999914521,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 3.762785345999987,
31
+ "count": 1,
32
+ "self": 3.762785345999987
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 18.41035779200081,
36
+ "count": 1777,
37
+ "self": 0.04060938900073552,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 17.39093616999901,
41
+ "count": 1777,
42
+ "self": 13.974356000000853,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 3.3868926169993756,
46
+ "count": 1777,
47
+ "self": 0.1523391900005322,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 3.2345534269988434,
51
+ "count": 1758,
52
+ "self": 3.2345534269988434
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.02968755299878012,
58
+ "count": 1776,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 22.19931574600008,
63
+ "count": 1776,
64
+ "is_parallel": true,
65
+ "self": 10.902334457999189,
66
+ "children": {
67
+ "run_training.setup": {
68
+ "total": 0.0,
69
+ "count": 0,
70
+ "is_parallel": true,
71
+ "self": 0.0,
72
+ "children": {
73
+ "steps_from_proto": {
74
+ "total": 0.0011444459999552237,
75
+ "count": 1,
76
+ "is_parallel": true,
77
+ "self": 0.00033189699996682975,
78
+ "children": {
79
+ "_process_rank_one_or_two_observation": {
80
+ "total": 0.0008125489999883939,
81
+ "count": 2,
82
+ "is_parallel": true,
83
+ "self": 0.0008125489999883939
84
+ }
85
+ }
86
+ },
87
+ "UnityEnvironment.step": {
88
+ "total": 0.03317076799999086,
89
+ "count": 1,
90
+ "is_parallel": true,
91
+ "self": 0.00043220099996688077,
92
+ "children": {
93
+ "UnityEnvironment._generate_step_input": {
94
+ "total": 0.0002327380000224366,
95
+ "count": 1,
96
+ "is_parallel": true,
97
+ "self": 0.0002327380000224366
98
+ },
99
+ "communicator.exchange": {
100
+ "total": 0.03161667599999873,
101
+ "count": 1,
102
+ "is_parallel": true,
103
+ "self": 0.03161667599999873
104
+ },
105
+ "steps_from_proto": {
106
+ "total": 0.000889153000002807,
107
+ "count": 1,
108
+ "is_parallel": true,
109
+ "self": 0.00024860500002432673,
110
+ "children": {
111
+ "_process_rank_one_or_two_observation": {
112
+ "total": 0.0006405479999784802,
113
+ "count": 2,
114
+ "is_parallel": true,
115
+ "self": 0.0006405479999784802
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "UnityEnvironment.step": {
124
+ "total": 11.296981288000893,
125
+ "count": 1775,
126
+ "is_parallel": true,
127
+ "self": 0.33851320000218266,
128
+ "children": {
129
+ "UnityEnvironment._generate_step_input": {
130
+ "total": 0.7721709029998465,
131
+ "count": 1775,
132
+ "is_parallel": true,
133
+ "self": 0.7721709029998465
134
+ },
135
+ "communicator.exchange": {
136
+ "total": 9.387491322000471,
137
+ "count": 1775,
138
+ "is_parallel": true,
139
+ "self": 9.387491322000471
140
+ },
141
+ "steps_from_proto": {
142
+ "total": 0.7988058629983925,
143
+ "count": 1775,
144
+ "is_parallel": true,
145
+ "self": 0.30130324399743813,
146
+ "children": {
147
+ "_process_rank_one_or_two_observation": {
148
+ "total": 0.4975026190009544,
149
+ "count": 3550,
150
+ "is_parallel": true,
151
+ "self": 0.4975026190009544
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "trainer_advance": {
164
+ "total": 0.9788122330010651,
165
+ "count": 1776,
166
+ "self": 0.05418094199967527,
167
+ "children": {
168
+ "process_trajectory": {
169
+ "total": 0.9246312910013899,
170
+ "count": 1776,
171
+ "self": 0.9246312910013899
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "trainer_threads": {
178
+ "total": 1.6150000305970025e-06,
179
+ "count": 1,
180
+ "self": 1.6150000305970025e-06
181
+ },
182
+ "TrainerController._save_models": {
183
+ "total": 0.3107714440000109,
184
+ "count": 1,
185
+ "self": 0.003153284999996231,
186
+ "children": {
187
+ "RLTrainer._checkpoint": {
188
+ "total": 0.30761815900001466,
189
+ "count": 1,
190
+ "self": 0.30761815900001466
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Huggy": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 10905,
6
+ "file_path": "results/Huggy2/Huggy/Huggy-10905.onnx",
7
+ "reward": 1.563771633638276,
8
+ "creation_time": 1719692786.4835095,
9
+ "auxillary_file_paths": [
10
+ "results/Huggy2/Huggy/Huggy-10905.pt"
11
+ ]
12
+ }
13
+ ],
14
+ "final_checkpoint": {
15
+ "steps": 10905,
16
+ "file_path": "results/Huggy2/Huggy.onnx",
17
+ "reward": 1.563771633638276,
18
+ "creation_time": 1719692786.4835095,
19
+ "auxillary_file_paths": [
20
+ "results/Huggy2/Huggy/Huggy-10905.pt"
21
+ ]
22
+ }
23
+ },
24
+ "metadata": {
25
+ "stats_format_version": "0.3.0",
26
+ "mlagents_version": "1.1.0.dev0",
27
+ "torch_version": "2.3.0+cu121"
28
+ }
29
+ }