nnilayy commited on
Commit
dad6733
·
verified ·
1 Parent(s): 718fa68
Huggy.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fddbb8d02145261c3d9e0b6ddb04a5a3bb2374ef476633e98cc3c8b687ba5e3a
3
+ size 2274020
Huggy/Huggy-199947.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52bc983302c4663d7a7e6e5e9ffedd58468cb7a3a5296016f1c2fc881772dca5
3
+ size 2274020
Huggy/Huggy-199947.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b76ad481faf45e46745c00528748245aaae7f83338d4206fa02f60219dca118
3
+ size 13509388
Huggy/Huggy-399997.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c302f8326d922ed4636deec317d4f98a5a852820b054eb7d03a1fe4f7a754c2d
3
+ size 2274020
Huggy/Huggy-399997.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2e89c7eb743353b2d7e474af634c07f173ada6b913489f484933b134a429716
3
+ size 13509388
Huggy/Huggy-440205.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fddbb8d02145261c3d9e0b6ddb04a5a3bb2374ef476633e98cc3c8b687ba5e3a
3
+ size 2274020
Huggy/Huggy-440205.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51ff4f539e31c4f0a4e57a8d36fc2b11820fed2af79a9d7a8971e0b163dc9f62
3
+ size 13509388
Huggy/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:179b358cf5cca286e4b37e3daaf6ff67497647221ec386790e92da0fc7f1bf6a
3
+ size 13509218
Huggy/events.out.tfevents.1737179544.e0ea2fc60c6f.4192.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7070c957389da5d31c1d754392feb3dfbfd8325ee856d373da72176dfd88dfe
3
+ size 37889
README.md CHANGED
@@ -1,3 +1,35 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: nnilayy/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,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.094 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: 0.731308 ms
82
+ requesting resize 84 x 84
83
+ GRPC Exception: Status(StatusCode=Cancelled, Detail="CANCELLED"). Disconnecting from trainer.
84
+ Setting up 1 worker threads for Enlighten.
85
+ Memory Statistics:
86
+ [ALLOC_TEMP_TLS] TLS Allocator
87
+ StackAllocators :
88
+ [ALLOC_TEMP_MAIN]
89
+ Peak usage frame count: [4.0 KB-8.0 KB]: 5905 frames, [2.0 MB-4.0 MB]: 1 frames
90
+ Initial Block Size 4.0 MB
91
+ Current Block Size 4.0 MB
92
+ Peak Allocated Bytes 3.6 MB
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Loading.AsyncRead]
95
+ Initial Block Size 64.0 KB
96
+ Current Block Size 64.0 KB
97
+ Peak Allocated Bytes 136 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Loading.PreloadManager]
100
+ Initial Block Size 256.0 KB
101
+ Current Block Size 296.0 KB
102
+ Peak Allocated Bytes 211.5 KB
103
+ Overflow Count 4
104
+ [ALLOC_TEMP_Background Job.Worker 8]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 9]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Job.Worker 0]
115
+ Initial Block Size 256.0 KB
116
+ Current Block Size 256.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Background Job.Worker 10]
120
+ Initial Block Size 32.0 KB
121
+ Current Block Size 32.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 14]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 6]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 12]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_EnlightenWorker]
140
+ Initial Block Size 64.0 KB
141
+ Current Block Size 64.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Background Job.Worker 15]
145
+ Initial Block Size 32.0 KB
146
+ Current Block Size 32.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 1]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 2]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 7]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
165
+ Initial Block Size 64.0 KB
166
+ Current Block Size 64.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 5]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 13]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 11]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 3]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 0]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 4]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_BatchDeleteObjects]
200
+ Initial Block Size 64.0 KB
201
+ Current Block Size 64.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_DEFAULT] Dual Thread Allocator
205
+ Peak main deferred allocation count 326
206
+ [ALLOC_BUCKET]
207
+ Large Block size 4.0 MB
208
+ Used Block count 1
209
+ Peak Allocated bytes 1.4 MB
210
+ [ALLOC_DEFAULT_MAIN]
211
+ Peak usage frame count: [16.0 MB-32.0 MB]: 5906 frames
212
+ Requested Block Size 16.0 MB
213
+ Peak Block count 1
214
+ Peak Allocated memory 21.8 MB
215
+ Peak Large allocation bytes 16.0 MB
216
+ [ALLOC_DEFAULT_THREAD]
217
+ Peak usage frame count: [2.0 MB-4.0 MB]: 5906 frames
218
+ Requested Block Size 16.0 MB
219
+ Peak Block count 1
220
+ Peak Allocated memory 2.7 MB
221
+ Peak Large allocation bytes 0 B
222
+ [ALLOC_TEMP_JOB_1_FRAME]
223
+ Initial Block Size 2.0 MB
224
+ Used Block Count 1
225
+ Overflow Count (too large) 0
226
+ Overflow Count (full) 0
227
+ [ALLOC_TEMP_JOB_2_FRAMES]
228
+ Initial Block Size 2.0 MB
229
+ Used Block Count 1
230
+ Overflow Count (too large) 0
231
+ Overflow Count (full) 0
232
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
233
+ Initial Block Size 2.0 MB
234
+ Used Block Count 2
235
+ Overflow Count (too large) 0
236
+ Overflow Count (full) 0
237
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
238
+ Initial Block Size 1.0 MB
239
+ Used Block Count 3
240
+ Overflow Count (too large) 0
241
+ Overflow Count (full) 0
242
+ [ALLOC_GFX] Dual Thread Allocator
243
+ Peak main deferred allocation count 0
244
+ [ALLOC_BUCKET]
245
+ Large Block size 4.0 MB
246
+ Used Block count 1
247
+ Peak Allocated bytes 1.4 MB
248
+ [ALLOC_GFX_MAIN]
249
+ Peak usage frame count: [32.0 KB-64.0 KB]: 5905 frames, [64.0 KB-128.0 KB]: 1 frames
250
+ Requested Block Size 16.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 65.6 KB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_GFX_THREAD]
255
+ Peak usage frame count: [64.0 KB-128.0 KB]: 5906 frames
256
+ Requested Block Size 16.0 MB
257
+ Peak Block count 1
258
+ Peak Allocated memory 81.8 KB
259
+ Peak Large allocation bytes 0 B
260
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
261
+ Peak main deferred allocation count 0
262
+ [ALLOC_BUCKET]
263
+ Large Block size 4.0 MB
264
+ Used Block count 1
265
+ Peak Allocated bytes 1.4 MB
266
+ [ALLOC_CACHEOBJECTS_MAIN]
267
+ Peak usage frame count: [1.0 MB-2.0 MB]: 5905 frames, [16.0 MB-32.0 MB]: 1 frames
268
+ Requested Block Size 4.0 MB
269
+ Peak Block count 2
270
+ Peak Allocated memory 30.6 MB
271
+ Peak Large allocation bytes 24.9 MB
272
+ [ALLOC_CACHEOBJECTS_THREAD]
273
+ Peak usage frame count: [0.5 MB-1.0 MB]: 5905 frames, [2.0 MB-4.0 MB]: 1 frames
274
+ Requested Block Size 4.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 2.6 MB
277
+ Peak Large allocation bytes 0 B
278
+ [ALLOC_TYPETREE] Dual Thread Allocator
279
+ Peak main deferred allocation count 0
280
+ [ALLOC_BUCKET]
281
+ Large Block size 4.0 MB
282
+ Used Block count 1
283
+ Peak Allocated bytes 1.4 MB
284
+ [ALLOC_TYPETREE_MAIN]
285
+ Peak usage frame count: [0-1.0 KB]: 5906 frames
286
+ Requested Block Size 2.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 1.0 KB
289
+ Peak Large allocation bytes 0 B
290
+ [ALLOC_TYPETREE_THREAD]
291
+ Peak usage frame count: [4.0 KB-8.0 KB]: 5906 frames
292
+ Requested Block Size 2.0 MB
293
+ Peak Block count 1
294
+ Peak Allocated memory 7.3 KB
295
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Huggy.Policy.Entropy.mean": {
5
+ "value": 1.4286702871322632,
6
+ "min": 1.4199600219726562,
7
+ "max": 1.42892587184906,
8
+ "count": 8
9
+ },
10
+ "Huggy.Policy.Entropy.sum": {
11
+ "value": 72397.8671875,
12
+ "min": 68739.7109375,
13
+ "max": 79016.515625,
14
+ "count": 8
15
+ },
16
+ "Huggy.Environment.EpisodeLength.mean": {
17
+ "value": 132.49202127659575,
18
+ "min": 132.49202127659575,
19
+ "max": 442.08849557522126,
20
+ "count": 8
21
+ },
22
+ "Huggy.Environment.EpisodeLength.sum": {
23
+ "value": 49817.0,
24
+ "min": 49465.0,
25
+ "max": 50057.0,
26
+ "count": 8
27
+ },
28
+ "Huggy.Step.mean": {
29
+ "value": 399997.0,
30
+ "min": 49530.0,
31
+ "max": 399997.0,
32
+ "count": 8
33
+ },
34
+ "Huggy.Step.sum": {
35
+ "value": 399997.0,
36
+ "min": 49530.0,
37
+ "max": 399997.0,
38
+ "count": 8
39
+ },
40
+ "Huggy.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 1.9352076053619385,
42
+ "min": 0.08124340325593948,
43
+ "max": 1.9352076053619385,
44
+ "count": 8
45
+ },
46
+ "Huggy.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 727.6380615234375,
48
+ "min": 9.099261283874512,
49
+ "max": 727.6380615234375,
50
+ "count": 8
51
+ },
52
+ "Huggy.Environment.CumulativeReward.mean": {
53
+ "value": 3.639995573207419,
54
+ "min": 1.917764582737748,
55
+ "max": 3.7224938275032144,
56
+ "count": 8
57
+ },
58
+ "Huggy.Environment.CumulativeReward.sum": {
59
+ "value": 1368.6383355259895,
60
+ "min": 214.7896332666278,
61
+ "max": 1384.7677038311958,
62
+ "count": 8
63
+ },
64
+ "Huggy.Policy.ExtrinsicReward.mean": {
65
+ "value": 3.639995573207419,
66
+ "min": 1.917764582737748,
67
+ "max": 3.7224938275032144,
68
+ "count": 8
69
+ },
70
+ "Huggy.Policy.ExtrinsicReward.sum": {
71
+ "value": 1368.6383355259895,
72
+ "min": 214.7896332666278,
73
+ "max": 1384.7677038311958,
74
+ "count": 8
75
+ },
76
+ "Huggy.Losses.PolicyLoss.mean": {
77
+ "value": 0.020298336031555664,
78
+ "min": 0.013096721309314791,
79
+ "max": 0.020298336031555664,
80
+ "count": 8
81
+ },
82
+ "Huggy.Losses.PolicyLoss.sum": {
83
+ "value": 0.06089500809466699,
84
+ "min": 0.026193442618629582,
85
+ "max": 0.06089500809466699,
86
+ "count": 8
87
+ },
88
+ "Huggy.Losses.ValueLoss.mean": {
89
+ "value": 0.04714947740236918,
90
+ "min": 0.021889758399791185,
91
+ "max": 0.04714947740236918,
92
+ "count": 8
93
+ },
94
+ "Huggy.Losses.ValueLoss.sum": {
95
+ "value": 0.14144843220710754,
96
+ "min": 0.0442455967888236,
97
+ "max": 0.14144843220710754,
98
+ "count": 8
99
+ },
100
+ "Huggy.Policy.LearningRate.mean": {
101
+ "value": 0.00024414061861980003,
102
+ "min": 0.00024414061861980003,
103
+ "max": 0.000295294276568575,
104
+ "count": 8
105
+ },
106
+ "Huggy.Policy.LearningRate.sum": {
107
+ "value": 0.0007324218558594001,
108
+ "min": 0.0005037283820905499,
109
+ "max": 0.0008438206687264498,
110
+ "count": 8
111
+ },
112
+ "Huggy.Policy.Epsilon.mean": {
113
+ "value": 0.1813802,
114
+ "min": 0.1813802,
115
+ "max": 0.19843142500000008,
116
+ "count": 8
117
+ },
118
+ "Huggy.Policy.Epsilon.sum": {
119
+ "value": 0.5441406,
120
+ "min": 0.36790944999999997,
121
+ "max": 0.5812735500000001,
122
+ "count": 8
123
+ },
124
+ "Huggy.Policy.Beta.mean": {
125
+ "value": 0.004070871980000001,
126
+ "min": 0.004070871980000001,
127
+ "max": 0.004921728107499999,
128
+ "count": 8
129
+ },
130
+ "Huggy.Policy.Beta.sum": {
131
+ "value": 0.012212615940000001,
132
+ "min": 0.008398681555000002,
133
+ "max": 0.014065550145000001,
134
+ "count": 8
135
+ },
136
+ "Huggy.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 8
141
+ },
142
+ "Huggy.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 8
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1737179544",
152
+ "python_version": "3.10.16 (main, Dec 11 2024, 16:24:50) [GCC 11.2.0]",
153
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy2 --no-graphics",
154
+ "mlagents_version": "1.2.0.dev0",
155
+ "mlagents_envs_version": "1.2.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "2.5.1+cu124",
158
+ "numpy_version": "1.23.5",
159
+ "end_time_seconds": "1737180098"
160
+ },
161
+ "total": 554.1060871909999,
162
+ "count": 1,
163
+ "self": 0.23062341299987565,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.023644662000037897,
167
+ "count": 1,
168
+ "self": 0.023644662000037897
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 553.851819116,
172
+ "count": 1,
173
+ "self": 1.003780873993037,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.70906846999992,
177
+ "count": 1,
178
+ "self": 2.70906846999992
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 549.938911015007,
182
+ "count": 50324,
183
+ "self": 1.0340057939830558,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 443.6317279960109,
187
+ "count": 50324,
188
+ "self": 345.3632101249724,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 97.65133420903385,
192
+ "count": 50324,
193
+ "self": 3.642540326011158,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 94.00879388302269,
197
+ "count": 49215,
198
+ "self": 94.00879388302269
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.6171836620046633,
204
+ "count": 50323,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 552.0335426909783,
209
+ "count": 50323,
210
+ "is_parallel": true,
211
+ "self": 272.4094790109616,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.0,
215
+ "count": 0,
216
+ "is_parallel": true,
217
+ "self": 0.0,
218
+ "children": {
219
+ "steps_from_proto": {
220
+ "total": 0.0009399650000432302,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.00027245300009326456,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0006675119999499657,
227
+ "count": 2,
228
+ "is_parallel": true,
229
+ "self": 0.0006675119999499657
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.029859801000043262,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.0003348760001244955,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.00018351799997162743,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.00018351799997162743
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.028495035999981155,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.028495035999981155
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.0008463709999659841,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00020964899999853515,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0006367219999674489,
259
+ "count": 2,
260
+ "is_parallel": true,
261
+ "self": 0.0006367219999674489
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 279.62406368001666,
271
+ "count": 50322,
272
+ "is_parallel": true,
273
+ "self": 8.21841611804814,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 18.357888244008564,
277
+ "count": 50322,
278
+ "is_parallel": true,
279
+ "self": 18.357888244008564
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 233.5790928669761,
283
+ "count": 50322,
284
+ "is_parallel": true,
285
+ "self": 233.5790928669761
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 19.468666450983847,
289
+ "count": 50322,
290
+ "is_parallel": true,
291
+ "self": 7.12578649398904,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 12.342879956994807,
295
+ "count": 100644,
296
+ "is_parallel": true,
297
+ "self": 12.342879956994807
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 105.273177225013,
311
+ "count": 50323,
312
+ "self": 1.6048644180038991,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 31.496483343009686,
316
+ "count": 50323,
317
+ "self": 31.19081396900947,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.30566937400021743,
321
+ "count": 2,
322
+ "self": 0.30566937400021743
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 72.17182946399942,
328
+ "count": 21,
329
+ "self": 57.21321974299735,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 14.958609721002063,
333
+ "count": 630,
334
+ "self": 14.958609721002063
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 1.3859998944099061e-06,
344
+ "count": 1,
345
+ "self": 1.3859998944099061e-06
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.2000573710001845,
349
+ "count": 1,
350
+ "self": 0.002750426000375228,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.19730694499980928,
354
+ "count": 1,
355
+ "self": 0.19730694499980928
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Huggy": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 199947,
6
+ "file_path": "results/Huggy2/Huggy/Huggy-199947.onnx",
7
+ "reward": 3.395415804078502,
8
+ "creation_time": 1737179793.9930885,
9
+ "auxillary_file_paths": [
10
+ "results/Huggy2/Huggy/Huggy-199947.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 399997,
15
+ "file_path": "results/Huggy2/Huggy/Huggy-399997.onnx",
16
+ "reward": 3.1900647448938946,
17
+ "creation_time": 1737180045.853158,
18
+ "auxillary_file_paths": [
19
+ "results/Huggy2/Huggy/Huggy-399997.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 440205,
24
+ "file_path": "results/Huggy2/Huggy/Huggy-440205.onnx",
25
+ "reward": 3.5279405027627946,
26
+ "creation_time": 1737180098.0414584,
27
+ "auxillary_file_paths": [
28
+ "results/Huggy2/Huggy/Huggy-440205.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 440205,
34
+ "file_path": "results/Huggy2/Huggy.onnx",
35
+ "reward": 3.5279405027627946,
36
+ "creation_time": 1737180098.0414584,
37
+ "auxillary_file_paths": [
38
+ "results/Huggy2/Huggy/Huggy-440205.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "1.2.0.dev0",
45
+ "torch_version": "2.5.1+cu124"
46
+ }
47
+ }