drilbo commited on
Commit
a78e22c
1 Parent(s): 25eca9e
Huggy.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f7b0181cccaba022e496a1df8cfbe5e127f47923a203202e3d782034f1fa211
3
+ size 2273984
Huggy/Huggy-199982.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ac4d3f5410a15b9c48992e0342495a8330257284c115d535f2a099fe384dbfd
3
+ size 2273984
Huggy/Huggy-199982.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4513236e89e1547bbd1ab0ba2357dce7bbcfcc0bfca477fc73f21e3fa29e1ce
3
+ size 13509388
Huggy/Huggy-200270.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f7b0181cccaba022e496a1df8cfbe5e127f47923a203202e3d782034f1fa211
3
+ size 2273984
Huggy/Huggy-200270.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54fb22bf8034511200cae504c79f2d2f822595d9807ca29140702c13a04aed1a
3
+ size 13509388
Huggy/Huggy-98789.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84007b66e0cd18ba9d7ceca85cc879a1a485f7ff9d4f9918d98f48122cd2e9cc
3
+ size 2273984
Huggy/Huggy-98789.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0abe2f5807ad4290eb00d5e919dfb2d6c6507c2e903cc46280c9d7444133202
3
+ size 13509303
Huggy/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20030ed4d4317137360d501a13b1c08dc786f8bc46178c34334f6b726d41a815
3
+ size 13509218
Huggy/events.out.tfevents.1698546653.3eb61d00d208.21190.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40a1b577a6a86befbb35e18b9eb7b63aa73e73763d4bb2a27ae8b1d56086b39d
3
+ size 14720
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: Drilbo/ppo-Huggy2
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.0009, "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": 200000, "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}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Huggy2", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.0009
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: 200000
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
+ environment_parameters: null
67
+ checkpoint_settings:
68
+ run_id: Huggy2
69
+ initialize_from: null
70
+ load_model: false
71
+ resume: false
72
+ force: true
73
+ train_model: false
74
+ inference: false
75
+ results_dir: results
76
+ torch_settings:
77
+ device: null
78
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/ml-agents/trained-envs-executables/linux/Huggy/Huggy_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
15
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
21
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
22
+ 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
23
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
25
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
31
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
32
+ FMOD initialized on nosound output
33
+ Begin MonoManager ReloadAssembly
34
+ - Completed reload, in 0.096 seconds
35
+ ERROR: Shader Hidden/Universal Render Pipeline/Blit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ ERROR: Shader Hidden/Universal Render Pipeline/CopyDepth shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Hidden/Universal Render Pipeline/ScreenSpaceShadows shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Hidden/Universal Render Pipeline/Sampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderLdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderHdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ ERROR: Shader Hidden/Universal Render Pipeline/UberPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ ERROR: Shader Hidden/Universal Render Pipeline/FallbackError shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
46
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - All subshaders removed
47
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
48
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
49
+ ERROR: Shader Hidden/Universal Render Pipeline/Stop NaN shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
50
+ ERROR: Shader Hidden/Universal Render Pipeline/SubpixelMorphologicalAntialiasing shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ ERROR: Shader Hidden/Universal Render Pipeline/GaussianDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
52
+ ERROR: Shader Hidden/Universal Render Pipeline/BokehDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
53
+ ERROR: Shader Hidden/Universal Render Pipeline/CameraMotionBlur shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
54
+ ERROR: Shader Hidden/Universal Render Pipeline/PaniniProjection shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
55
+ ERROR: Shader Hidden/Universal Render Pipeline/Bloom shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
56
+ ERROR: Shader Hidden/Universal Render Pipeline/FinalPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
57
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/StencilDeferred' - All subshaders removed
58
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
59
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
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
+ ERROR: Shader Hidden/Universal Render Pipeline/LensFlareDataDriven shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
64
+ ERROR: Shader Hidden/Universal Render Pipeline/Scaling Setup shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ ERROR: Shader Hidden/Universal Render Pipeline/Edge Adaptive Spatial Upsampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
66
+ ERROR: Shader Hidden/Universal Render Pipeline/Debug/DebugReplacement shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
67
+ ERROR: Shader Hidden/kMotion/CameraMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
68
+ ERROR: Shader Hidden/kMotion/ObjectMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
69
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
71
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
72
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
73
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
74
+ ERROR: Shader Universal Render Pipeline/Lit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
75
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
76
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
77
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
78
+ UnloadTime: 0.747017 ms
79
+ requesting resize 84 x 84
80
+ Setting up 1 worker threads for Enlighten.
81
+ Memory Statistics:
82
+ [ALLOC_TEMP_TLS] TLS Allocator
83
+ StackAllocators :
84
+ [ALLOC_TEMP_MAIN]
85
+ Peak usage frame count: [4.0 KB-8.0 KB]: 2705 frames, [2.0 MB-4.0 MB]: 1 frames
86
+ Initial Block Size 4.0 MB
87
+ Current Block Size 4.0 MB
88
+ Peak Allocated Bytes 3.6 MB
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Loading.AsyncRead]
91
+ Initial Block Size 64.0 KB
92
+ Current Block Size 64.0 KB
93
+ Peak Allocated Bytes 136 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Loading.PreloadManager]
96
+ Initial Block Size 256.0 KB
97
+ Current Block Size 296.0 KB
98
+ Peak Allocated Bytes 211.5 KB
99
+ Overflow Count 4
100
+ [ALLOC_TEMP_Background Job.Worker 8]
101
+ Initial Block Size 32.0 KB
102
+ Current Block Size 32.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_Background Job.Worker 9]
106
+ Initial Block Size 32.0 KB
107
+ Current Block Size 32.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Job.Worker 0]
111
+ Initial Block Size 256.0 KB
112
+ Current Block Size 256.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 10]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 14]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Background Job.Worker 6]
126
+ Initial Block Size 32.0 KB
127
+ Current Block Size 32.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Background Job.Worker 12]
131
+ Initial Block Size 32.0 KB
132
+ Current Block Size 32.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_EnlightenWorker]
136
+ Initial Block Size 64.0 KB
137
+ Current Block Size 64.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Background Job.Worker 15]
141
+ Initial Block Size 32.0 KB
142
+ Current Block Size 32.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Background Job.Worker 1]
146
+ Initial Block Size 32.0 KB
147
+ Current Block Size 32.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 2]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 7]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
161
+ Initial Block Size 64.0 KB
162
+ Current Block Size 64.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Background Job.Worker 5]
166
+ Initial Block Size 32.0 KB
167
+ Current Block Size 32.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Background Job.Worker 13]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Background Job.Worker 11]
176
+ Initial Block Size 32.0 KB
177
+ Current Block Size 32.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_Background Job.Worker 3]
181
+ Initial Block Size 32.0 KB
182
+ Current Block Size 32.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Background Job.Worker 0]
186
+ Initial Block Size 32.0 KB
187
+ Current Block Size 32.0 KB
188
+ Peak Allocated Bytes 0 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Background Job.Worker 4]
191
+ Initial Block Size 32.0 KB
192
+ Current Block Size 32.0 KB
193
+ Peak Allocated Bytes 0 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_BatchDeleteObjects]
196
+ Initial Block Size 64.0 KB
197
+ Current Block Size 64.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_DEFAULT] Dual Thread Allocator
201
+ Peak main deferred allocation count 66
202
+ [ALLOC_BUCKET]
203
+ Large Block size 4.0 MB
204
+ Used Block count 1
205
+ Peak Allocated bytes 1.4 MB
206
+ [ALLOC_DEFAULT_MAIN]
207
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2706 frames
208
+ Requested Block Size 16.0 MB
209
+ Peak Block count 1
210
+ Peak Allocated memory 22.3 MB
211
+ Peak Large allocation bytes 16.0 MB
212
+ [ALLOC_DEFAULT_THREAD]
213
+ Peak usage frame count: [1.0 MB-2.0 MB]: 1106 frames, [2.0 MB-4.0 MB]: 1600 frames
214
+ Requested Block Size 16.0 MB
215
+ Peak Block count 1
216
+ Peak Allocated memory 2.2 MB
217
+ Peak Large allocation bytes 0 B
218
+ [ALLOC_TEMP_JOB_1_FRAME]
219
+ Initial Block Size 2.0 MB
220
+ Used Block Count 1
221
+ Overflow Count (too large) 0
222
+ Overflow Count (full) 0
223
+ [ALLOC_TEMP_JOB_2_FRAMES]
224
+ Initial Block Size 2.0 MB
225
+ Used Block Count 1
226
+ Overflow Count (too large) 0
227
+ Overflow Count (full) 0
228
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
229
+ Initial Block Size 2.0 MB
230
+ Used Block Count 2
231
+ Overflow Count (too large) 0
232
+ Overflow Count (full) 0
233
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
234
+ Initial Block Size 1.0 MB
235
+ Used Block Count 3
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_GFX] Dual Thread Allocator
239
+ Peak main deferred allocation count 0
240
+ [ALLOC_BUCKET]
241
+ Large Block size 4.0 MB
242
+ Used Block count 1
243
+ Peak Allocated bytes 1.4 MB
244
+ [ALLOC_GFX_MAIN]
245
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2705 frames, [64.0 KB-128.0 KB]: 1 frames
246
+ Requested Block Size 16.0 MB
247
+ Peak Block count 1
248
+ Peak Allocated memory 65.6 KB
249
+ Peak Large allocation bytes 0 B
250
+ [ALLOC_GFX_THREAD]
251
+ Peak usage frame count: [64.0 KB-128.0 KB]: 2706 frames
252
+ Requested Block Size 16.0 MB
253
+ Peak Block count 1
254
+ Peak Allocated memory 81.8 KB
255
+ Peak Large allocation bytes 0 B
256
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
257
+ Peak main deferred allocation count 0
258
+ [ALLOC_BUCKET]
259
+ Large Block size 4.0 MB
260
+ Used Block count 1
261
+ Peak Allocated bytes 1.4 MB
262
+ [ALLOC_CACHEOBJECTS_MAIN]
263
+ Peak usage frame count: [1.0 MB-2.0 MB]: 2705 frames, [16.0 MB-32.0 MB]: 1 frames
264
+ Requested Block Size 4.0 MB
265
+ Peak Block count 2
266
+ Peak Allocated memory 30.6 MB
267
+ Peak Large allocation bytes 24.9 MB
268
+ [ALLOC_CACHEOBJECTS_THREAD]
269
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2705 frames, [2.0 MB-4.0 MB]: 1 frames
270
+ Requested Block Size 4.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 2.6 MB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_TYPETREE] Dual Thread Allocator
275
+ Peak main deferred allocation count 0
276
+ [ALLOC_BUCKET]
277
+ Large Block size 4.0 MB
278
+ Used Block count 1
279
+ Peak Allocated bytes 1.4 MB
280
+ [ALLOC_TYPETREE_MAIN]
281
+ Peak usage frame count: [0-1.0 KB]: 2706 frames
282
+ Requested Block Size 2.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 1.0 KB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE_THREAD]
287
+ Peak usage frame count: [4.0 KB-8.0 KB]: 2706 frames
288
+ Requested Block Size 2.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 7.3 KB
291
+ 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.4191619157791138,
6
+ "min": 1.4179415702819824,
7
+ "max": 1.4191619157791138,
8
+ "count": 4
9
+ },
10
+ "Huggy.Policy.Entropy.sum": {
11
+ "value": 70340.7578125,
12
+ "min": 69248.4453125,
13
+ "max": 76497.3203125,
14
+ "count": 4
15
+ },
16
+ "Huggy.Environment.EpisodeLength.mean": {
17
+ "value": 241.94174757281553,
18
+ "min": 241.94174757281553,
19
+ "max": 415.77685950413223,
20
+ "count": 4
21
+ },
22
+ "Huggy.Environment.EpisodeLength.sum": {
23
+ "value": 49840.0,
24
+ "min": 49702.0,
25
+ "max": 50309.0,
26
+ "count": 4
27
+ },
28
+ "Huggy.Step.mean": {
29
+ "value": 199982.0,
30
+ "min": 49680.0,
31
+ "max": 199982.0,
32
+ "count": 4
33
+ },
34
+ "Huggy.Step.sum": {
35
+ "value": 199982.0,
36
+ "min": 49680.0,
37
+ "max": 199982.0,
38
+ "count": 4
39
+ },
40
+ "Huggy.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 0.7942177653312683,
42
+ "min": 0.03482276573777199,
43
+ "max": 0.7942177653312683,
44
+ "count": 4
45
+ },
46
+ "Huggy.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 163.60885620117188,
48
+ "min": 4.178731918334961,
49
+ "max": 163.60885620117188,
50
+ "count": 4
51
+ },
52
+ "Huggy.Environment.CumulativeReward.mean": {
53
+ "value": 3.074964238023295,
54
+ "min": 1.772062095751365,
55
+ "max": 3.1007703384266625,
56
+ "count": 4
57
+ },
58
+ "Huggy.Environment.CumulativeReward.sum": {
59
+ "value": 633.4426330327988,
60
+ "min": 212.6474514901638,
61
+ "max": 633.4426330327988,
62
+ "count": 4
63
+ },
64
+ "Huggy.Policy.ExtrinsicReward.mean": {
65
+ "value": 3.074964238023295,
66
+ "min": 1.772062095751365,
67
+ "max": 3.1007703384266625,
68
+ "count": 4
69
+ },
70
+ "Huggy.Policy.ExtrinsicReward.sum": {
71
+ "value": 633.4426330327988,
72
+ "min": 212.6474514901638,
73
+ "max": 633.4426330327988,
74
+ "count": 4
75
+ },
76
+ "Huggy.Losses.PolicyLoss.mean": {
77
+ "value": 0.017838396100948256,
78
+ "min": 0.014196641495315514,
79
+ "max": 0.018418121311212114,
80
+ "count": 4
81
+ },
82
+ "Huggy.Losses.PolicyLoss.sum": {
83
+ "value": 0.03567679220189651,
84
+ "min": 0.028393282990631027,
85
+ "max": 0.047739142139713905,
86
+ "count": 4
87
+ },
88
+ "Huggy.Losses.ValueLoss.mean": {
89
+ "value": 0.02598852797721823,
90
+ "min": 0.022510622752209504,
91
+ "max": 0.04715321566909551,
92
+ "count": 4
93
+ },
94
+ "Huggy.Losses.ValueLoss.sum": {
95
+ "value": 0.05197705595443646,
96
+ "min": 0.04502124550441901,
97
+ "max": 0.09430643133819103,
98
+ "count": 4
99
+ },
100
+ "Huggy.Policy.LearningRate.mean": {
101
+ "value": 0.00010603133821874996,
102
+ "min": 0.00010603133821874996,
103
+ "max": 0.0007585425157175002,
104
+ "count": 4
105
+ },
106
+ "Huggy.Policy.LearningRate.sum": {
107
+ "value": 0.00021206267643749993,
108
+ "min": 0.00021206267643749993,
109
+ "max": 0.0015170850314350005,
110
+ "count": 4
111
+ },
112
+ "Huggy.Policy.Epsilon.mean": {
113
+ "value": 0.11178124999999998,
114
+ "min": 0.11178124999999998,
115
+ "max": 0.18428250000000004,
116
+ "count": 4
117
+ },
118
+ "Huggy.Policy.Epsilon.sum": {
119
+ "value": 0.22356249999999997,
120
+ "min": 0.22356249999999997,
121
+ "max": 0.412661,
122
+ "count": 4
123
+ },
124
+ "Huggy.Policy.Beta.mean": {
125
+ "value": 0.0005978843750000002,
126
+ "min": 0.0005978843750000002,
127
+ "max": 0.004215696749999999,
128
+ "count": 4
129
+ },
130
+ "Huggy.Policy.Beta.sum": {
131
+ "value": 0.0011957687500000003,
132
+ "min": 0.0011957687500000003,
133
+ "max": 0.008431393499999999,
134
+ "count": 4
135
+ },
136
+ "Huggy.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 4
141
+ },
142
+ "Huggy.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 4
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1698546652",
152
+ "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
153
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/hug2.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy2 --no-graphics --force",
154
+ "mlagents_version": "1.1.0.dev0",
155
+ "mlagents_envs_version": "1.1.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "2.1.0+cu118",
158
+ "numpy_version": "1.23.5",
159
+ "end_time_seconds": "1698546896"
160
+ },
161
+ "total": 243.9998988159996,
162
+ "count": 1,
163
+ "self": 0.7840141649994621,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.04510211399974651,
167
+ "count": 1,
168
+ "self": 0.04510211399974651
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 243.17078253700038,
172
+ "count": 1,
173
+ "self": 0.4371802510077032,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 3.5379424259999723,
177
+ "count": 1,
178
+ "self": 3.5379424259999723
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 239.03246085999308,
182
+ "count": 22863,
183
+ "self": 0.4701989039349428,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 192.37389533806618,
187
+ "count": 22863,
188
+ "self": 157.30643823807713,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 34.79615350499171,
192
+ "count": 22863,
193
+ "self": 1.7888166529974114,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 33.007336851994296,
197
+ "count": 22546,
198
+ "self": 33.007336851994296
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.2713035949973346,
204
+ "count": 22863,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 242.06845651999538,
209
+ "count": 22863,
210
+ "is_parallel": true,
211
+ "self": 113.4074236321112,
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.0007972010007506469,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.00021794700023747282,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0005792540005131741,
227
+ "count": 2,
228
+ "is_parallel": true,
229
+ "self": 0.0005792540005131741
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.042558520999591565,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.0003132409992758767,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.00019790900023508584,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.00019790900023508584
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.041266338000241376,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.041266338000241376
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.0007810329998392262,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00020996900002501206,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0005710639998142142,
259
+ "count": 2,
260
+ "is_parallel": true,
261
+ "self": 0.0005710639998142142
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 128.66103288788418,
271
+ "count": 22862,
272
+ "is_parallel": true,
273
+ "self": 4.07709718886872,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 8.787568622012259,
277
+ "count": 22862,
278
+ "is_parallel": true,
279
+ "self": 8.787568622012259
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 106.71250116203464,
283
+ "count": 22862,
284
+ "is_parallel": true,
285
+ "self": 106.71250116203464
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 9.083865914968555,
289
+ "count": 22862,
290
+ "is_parallel": true,
291
+ "self": 3.1854861480142063,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 5.898379766954349,
295
+ "count": 45724,
296
+ "is_parallel": true,
297
+ "self": 5.898379766954349
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 46.18836661799196,
311
+ "count": 22863,
312
+ "self": 0.6485221068696774,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 11.282518707122108,
316
+ "count": 22863,
317
+ "self": 11.08529934012222,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.19721936699988873,
321
+ "count": 1,
322
+ "self": 0.19721936699988873
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 34.257325804000175,
328
+ "count": 9,
329
+ "self": 28.502380665995588,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 5.754945138004587,
333
+ "count": 270,
334
+ "self": 5.754945138004587
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 1.532999704068061e-06,
344
+ "count": 1,
345
+ "self": 1.532999704068061e-06
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.1631974669999181,
349
+ "count": 1,
350
+ "self": 0.0049524969999765744,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.15824496999994153,
354
+ "count": 1,
355
+ "self": 0.15824496999994153
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Huggy": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 199982,
6
+ "file_path": "results/Huggy2/Huggy/Huggy-199982.onnx",
7
+ "reward": 2.9483122600883735,
8
+ "creation_time": 1698546895.8180568,
9
+ "auxillary_file_paths": [
10
+ "results/Huggy2/Huggy/Huggy-199982.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 200270,
15
+ "file_path": "results/Huggy2/Huggy/Huggy-200270.onnx",
16
+ "reward": 2.9634221763380113,
17
+ "creation_time": 1698546896.004131,
18
+ "auxillary_file_paths": [
19
+ "results/Huggy2/Huggy/Huggy-200270.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 200270,
25
+ "file_path": "results/Huggy2/Huggy.onnx",
26
+ "reward": 2.9634221763380113,
27
+ "creation_time": 1698546896.004131,
28
+ "auxillary_file_paths": [
29
+ "results/Huggy2/Huggy/Huggy-200270.pt"
30
+ ]
31
+ }
32
+ },
33
+ "metadata": {
34
+ "stats_format_version": "0.3.0",
35
+ "mlagents_version": "1.1.0.dev0",
36
+ "torch_version": "2.1.0+cu118"
37
+ }
38
+ }