mbertheau commited on
Commit
58404a1
1 Parent(s): ce239d9

Go and explore the world! Be free, Huggy!

Browse files
Huggy.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a0386fd89c75059ac6627bd74348d798f42f481b1d2a0c2a8b4ba250f879878
3
+ size 2271327
Huggy/Huggy-1499963.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a10331dba95c621c019f55f87363320c48239c7820c93280fbe2bd0e3675504d
3
+ size 2271327
Huggy/Huggy-1499963.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15c90f042f1d3dce8dfce974815c76c68a28fa895503995047d39bda549c04be
3
+ size 13502693
Huggy/Huggy-1999981.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2056006d8b30ea0c712d23188f14e258c8234475341b03dc3a42cdba1fb1e0ce
3
+ size 2271327
Huggy/Huggy-1999981.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf37896f790c71cd966dd9eebd8cf6a39f31c7e36f7922c747612aa08eedd814
3
+ size 13502693
Huggy/Huggy-2000046.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a0386fd89c75059ac6627bd74348d798f42f481b1d2a0c2a8b4ba250f879878
3
+ size 2271327
Huggy/Huggy-2000046.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92e7f38da0f1cb76cfacb9d7e167bf42b31b954b4af38e2598e0acdc34a8b11c
3
+ size 13502693
Huggy/Huggy-499921.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab9fcb8cdbe090dc07f68b4cccfaa540785500e0762a77aceb31141e4a6ebd94
3
+ size 2271327
Huggy/Huggy-499921.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1bfb3918c7ce32f38035d59625bc3d34a6d78b40aa424758e21cf6dc6e74981
3
+ size 13502693
Huggy/Huggy-999991.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbbdb94bf26a7fc58f02022a74cafca788c2de59a3839d73389ee1b058d0e608
3
+ size 2271327
Huggy/Huggy-999991.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20364c6d59ec4bbad86e6e691e7e01b8fa9ec07e8ed7526c72badf74315e6d55
3
+ size 13502693
Huggy/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92e7f38da0f1cb76cfacb9d7e167bf42b31b954b4af38e2598e0acdc34a8b11c
3
+ size 13502693
Huggy/events.out.tfevents.1670953809.ubuntu2204.580654.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b570ae4929de994fef28593523b4e4b6ea36562a2ebf1c241b1827033672494
3
+ size 416615
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-Huggy
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **Huggy**
13
+ This is a trained model of a **ppo** agent playing **Huggy** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-Huggy
28
+ 2. Step 1: Write your model_id: mbertheau/hf-drl-course-1x-huggy
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
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"}, "network_settings": {"normalize": true, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.995, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "checkpoint_interval": 500000, "max_steps": 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, "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": "Huggy", "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,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ network_settings:
18
+ normalize: true
19
+ hidden_units: 512
20
+ num_layers: 3
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.995
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ checkpoint_interval: 500000
40
+ max_steps: 2000000
41
+ time_horizon: 1000
42
+ summary_freq: 50000
43
+ threaded: false
44
+ self_play: null
45
+ behavioral_cloning: null
46
+ env_settings:
47
+ env_path: ./trained-envs-executables/linux/Huggy/Huggy
48
+ env_args: null
49
+ base_port: 5005
50
+ num_envs: 1
51
+ num_areas: 1
52
+ seed: -1
53
+ max_lifetime_restarts: 10
54
+ restarts_rate_limit_n: 1
55
+ restarts_rate_limit_period_s: 60
56
+ engine_settings:
57
+ width: 84
58
+ height: 84
59
+ quality_level: 5
60
+ time_scale: 20
61
+ target_frame_rate: -1
62
+ capture_frame_rate: 60
63
+ no_graphics: true
64
+ environment_parameters: null
65
+ checkpoint_settings:
66
+ run_id: Huggy
67
+ initialize_from: null
68
+ load_model: false
69
+ resume: false
70
+ force: false
71
+ train_model: false
72
+ inference: false
73
+ results_dir: results
74
+ torch_settings:
75
+ device: null
76
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/markus/src/ai/ml-agents/trained-envs-executables/linux/Huggy/Huggy_Data/Managed'
2
+ Mono config path = '/home/markus/src/ai/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: /home/markus/.config/unity3d/Hugging Face
6
+ PlayerPrefs - Creating folder: /home/markus/.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 /home/markus/src/ai/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
+ Begin MonoManager ReloadAssembly
17
+ - Completed reload, in 0.278 seconds
18
+ ERROR: Shader Hidden/Universal Render Pipeline/Blit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ ERROR: Shader Hidden/Universal Render Pipeline/CopyDepth shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Hidden/Universal Render Pipeline/ScreenSpaceShadows shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ ERROR: Shader Hidden/Universal Render Pipeline/Sampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderLdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderHdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
24
+ ERROR: Shader Hidden/Universal Render Pipeline/UberPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
25
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ ERROR: Shader Hidden/Universal Render Pipeline/FallbackError shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - All subshaders removed
30
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
31
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
32
+ ERROR: Shader Hidden/Universal Render Pipeline/Stop NaN shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
33
+ ERROR: Shader Hidden/Universal Render Pipeline/SubpixelMorphologicalAntialiasing shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
34
+ ERROR: Shader Hidden/Universal Render Pipeline/GaussianDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ ERROR: Shader Hidden/Universal Render Pipeline/BokehDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ ERROR: Shader Hidden/Universal Render Pipeline/CameraMotionBlur shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Hidden/Universal Render Pipeline/PaniniProjection shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Hidden/Universal Render Pipeline/Bloom shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Hidden/Universal Render Pipeline/FinalPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/StencilDeferred' - All subshaders removed
41
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
42
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
43
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/StencilDeferred' - All subshaders removed
44
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
45
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
46
+ ERROR: Shader Hidden/Universal Render Pipeline/LensFlareDataDriven shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
47
+ ERROR: Shader Hidden/Universal Render Pipeline/Scaling Setup shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
48
+ ERROR: Shader Hidden/Universal Render Pipeline/Edge Adaptive Spatial Upsampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ ERROR: Shader Hidden/Universal Render Pipeline/Debug/DebugReplacement shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
50
+ ERROR: Shader Hidden/kMotion/CameraMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ ERROR: Shader Hidden/kMotion/ObjectMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
52
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
53
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
54
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
55
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
56
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
57
+ ERROR: Shader Universal Render Pipeline/Lit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
59
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
60
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
61
+ UnloadTime: 0.953377 ms
62
+ requesting resize 84 x 84
63
+ Setting up 2 worker threads for Enlighten.
64
+ Memory Statistics:
65
+ [ALLOC_TEMP_TLS] TLS Allocator
66
+ StackAllocators :
67
+ [ALLOC_TEMP_MAIN]
68
+ Peak usage frame count: [4.0 KB-8.0 KB]: 26743 frames, [2.0 MB-4.0 MB]: 1 frames
69
+ Initial Block Size 4.0 MB
70
+ Current Block Size 4.0 MB
71
+ Peak Allocated Bytes 3.6 MB
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Loading.AsyncRead]
74
+ Initial Block Size 64.0 KB
75
+ Current Block Size 64.0 KB
76
+ Peak Allocated Bytes 256 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Loading.PreloadManager]
79
+ Initial Block Size 256.0 KB
80
+ Current Block Size 296.0 KB
81
+ Peak Allocated Bytes 211.6 KB
82
+ Overflow Count 4
83
+ [ALLOC_TEMP_Background Job.Worker 8]
84
+ Initial Block Size 32.0 KB
85
+ Current Block Size 32.0 KB
86
+ Peak Allocated Bytes 0 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Background Job.Worker 9]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Job.Worker 0]
94
+ Initial Block Size 256.0 KB
95
+ Current Block Size 256.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 10]
99
+ Initial Block Size 32.0 KB
100
+ Current Block Size 32.0 KB
101
+ Peak Allocated Bytes 0 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Background Job.Worker 14]
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 6]
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_Background Job.Worker 12]
114
+ Initial Block Size 32.0 KB
115
+ Current Block Size 32.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_EnlightenWorker] x 2
119
+ Initial Block Size 64.0 KB
120
+ Current Block Size 64.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 15]
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 1]
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 2]
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_Background Job.Worker 7]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
144
+ Initial Block Size 64.0 KB
145
+ Current Block Size 64.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Job.Worker 1]
159
+ Initial Block Size 256.0 KB
160
+ Current Block Size 256.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Job.Worker 2]
164
+ Initial Block Size 256.0 KB
165
+ Current Block Size 256.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 3]
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 11]
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 0]
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 4]
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_BatchDeleteObjects]
189
+ Initial Block Size 64.0 KB
190
+ Current Block Size 64.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_DEFAULT] Dual Thread Allocator
194
+ Peak main deferred allocation count 38
195
+ [ALLOC_BUCKET]
196
+ Large Block size 4.0 MB
197
+ Used Block count 1
198
+ Peak Allocated bytes 1.4 MB
199
+ [ALLOC_DEFAULT_MAIN]
200
+ Peak usage frame count: [16.0 MB-32.0 MB]: 26744 frames
201
+ Requested Block Size 16.0 MB
202
+ Peak Block count 1
203
+ Peak Allocated memory 24.0 MB
204
+ Peak Large allocation bytes 16.0 MB
205
+ [ALLOC_DEFAULT_THREAD]
206
+ Peak usage frame count: [2.0 MB-4.0 MB]: 26744 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 2.4 MB
210
+ Peak Large allocation bytes 0 B
211
+ [ALLOC_TEMP_JOB_1_FRAME]
212
+ Initial Block Size 2.0 MB
213
+ Used Block Count 1
214
+ Overflow Count (too large) 0
215
+ Overflow Count (full) 0
216
+ [ALLOC_TEMP_JOB_2_FRAMES]
217
+ Initial Block Size 2.0 MB
218
+ Used Block Count 1
219
+ Overflow Count (too large) 0
220
+ Overflow Count (full) 0
221
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 2
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
227
+ Initial Block Size 1.0 MB
228
+ Used Block Count 3
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_GFX] Dual Thread Allocator
232
+ Peak main deferred allocation count 0
233
+ [ALLOC_BUCKET]
234
+ Large Block size 4.0 MB
235
+ Used Block count 1
236
+ Peak Allocated bytes 1.4 MB
237
+ [ALLOC_GFX_MAIN]
238
+ Peak usage frame count: [32.0 KB-64.0 KB]: 26743 frames, [64.0 KB-128.0 KB]: 1 frames
239
+ Requested Block Size 16.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 65.6 KB
242
+ Peak Large allocation bytes 0 B
243
+ [ALLOC_GFX_THREAD]
244
+ Peak usage frame count: [64.0 KB-128.0 KB]: 26744 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 81.8 KB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
250
+ Peak main deferred allocation count 0
251
+ [ALLOC_BUCKET]
252
+ Large Block size 4.0 MB
253
+ Used Block count 1
254
+ Peak Allocated bytes 1.4 MB
255
+ [ALLOC_CACHEOBJECTS_MAIN]
256
+ Peak usage frame count: [1.0 MB-2.0 MB]: 26743 frames, [16.0 MB-32.0 MB]: 1 frames
257
+ Requested Block Size 4.0 MB
258
+ Peak Block count 2
259
+ Peak Allocated memory 30.6 MB
260
+ Peak Large allocation bytes 24.9 MB
261
+ [ALLOC_CACHEOBJECTS_THREAD]
262
+ Peak usage frame count: [0.5 MB-1.0 MB]: 26743 frames, [2.0 MB-4.0 MB]: 1 frames
263
+ Requested Block Size 4.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 2.6 MB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_TYPETREE] Dual Thread Allocator
268
+ Peak main deferred allocation count 0
269
+ [ALLOC_BUCKET]
270
+ Large Block size 4.0 MB
271
+ Used Block count 1
272
+ Peak Allocated bytes 1.4 MB
273
+ [ALLOC_TYPETREE_MAIN]
274
+ Peak usage frame count: [0-1.0 KB]: 26744 frames
275
+ Requested Block Size 2.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 1.0 KB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_TYPETREE_THREAD]
280
+ Peak usage frame count: [4.0 KB-8.0 KB]: 26744 frames
281
+ Requested Block Size 2.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 7.3 KB
284
+ 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.4011577367782593,
6
+ "min": 1.4011577367782593,
7
+ "max": 1.429830551147461,
8
+ "count": 40
9
+ },
10
+ "Huggy.Policy.Entropy.sum": {
11
+ "value": 68667.9375,
12
+ "min": 67766.921875,
13
+ "max": 76576.875,
14
+ "count": 40
15
+ },
16
+ "Huggy.Environment.EpisodeLength.mean": {
17
+ "value": 80.98360655737704,
18
+ "min": 78.60932475884245,
19
+ "max": 433.17241379310343,
20
+ "count": 40
21
+ },
22
+ "Huggy.Environment.EpisodeLength.sum": {
23
+ "value": 49400.0,
24
+ "min": 48895.0,
25
+ "max": 50311.0,
26
+ "count": 40
27
+ },
28
+ "Huggy.Step.mean": {
29
+ "value": 1999981.0,
30
+ "min": 49618.0,
31
+ "max": 1999981.0,
32
+ "count": 40
33
+ },
34
+ "Huggy.Step.sum": {
35
+ "value": 1999981.0,
36
+ "min": 49618.0,
37
+ "max": 1999981.0,
38
+ "count": 40
39
+ },
40
+ "Huggy.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 2.425565481185913,
42
+ "min": 0.026429228484630585,
43
+ "max": 2.46152400970459,
44
+ "count": 40
45
+ },
46
+ "Huggy.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 1479.594970703125,
48
+ "min": 3.0393612384796143,
49
+ "max": 1479.594970703125,
50
+ "count": 40
51
+ },
52
+ "Huggy.Environment.CumulativeReward.mean": {
53
+ "value": 3.7444462868033863,
54
+ "min": 1.7746146082878114,
55
+ "max": 3.903396407220316,
56
+ "count": 40
57
+ },
58
+ "Huggy.Environment.CumulativeReward.sum": {
59
+ "value": 2284.1122349500656,
60
+ "min": 204.0806799530983,
61
+ "max": 2305.8147135972977,
62
+ "count": 40
63
+ },
64
+ "Huggy.Policy.ExtrinsicReward.mean": {
65
+ "value": 3.7444462868033863,
66
+ "min": 1.7746146082878114,
67
+ "max": 3.903396407220316,
68
+ "count": 40
69
+ },
70
+ "Huggy.Policy.ExtrinsicReward.sum": {
71
+ "value": 2284.1122349500656,
72
+ "min": 204.0806799530983,
73
+ "max": 2305.8147135972977,
74
+ "count": 40
75
+ },
76
+ "Huggy.Losses.PolicyLoss.mean": {
77
+ "value": 0.01662926022391831,
78
+ "min": 0.013073581452772487,
79
+ "max": 0.02160666468747271,
80
+ "count": 40
81
+ },
82
+ "Huggy.Losses.PolicyLoss.sum": {
83
+ "value": 0.04988778067175493,
84
+ "min": 0.026147162905544974,
85
+ "max": 0.05521746926242485,
86
+ "count": 40
87
+ },
88
+ "Huggy.Losses.ValueLoss.mean": {
89
+ "value": 0.06002624606092771,
90
+ "min": 0.022363611683249473,
91
+ "max": 0.06502212348083655,
92
+ "count": 40
93
+ },
94
+ "Huggy.Losses.ValueLoss.sum": {
95
+ "value": 0.18007873818278314,
96
+ "min": 0.044727223366498946,
97
+ "max": 0.18213059355815253,
98
+ "count": 40
99
+ },
100
+ "Huggy.Policy.LearningRate.mean": {
101
+ "value": 3.216548927850003e-06,
102
+ "min": 3.216548927850003e-06,
103
+ "max": 0.0002953654515448499,
104
+ "count": 40
105
+ },
106
+ "Huggy.Policy.LearningRate.sum": {
107
+ "value": 9.649646783550009e-06,
108
+ "min": 9.649646783550009e-06,
109
+ "max": 0.0008440035186654999,
110
+ "count": 40
111
+ },
112
+ "Huggy.Policy.Epsilon.mean": {
113
+ "value": 0.10107214999999996,
114
+ "min": 0.10107214999999996,
115
+ "max": 0.19845515000000002,
116
+ "count": 40
117
+ },
118
+ "Huggy.Policy.Epsilon.sum": {
119
+ "value": 0.30321644999999986,
120
+ "min": 0.20734309999999995,
121
+ "max": 0.5813345000000001,
122
+ "count": 40
123
+ },
124
+ "Huggy.Policy.Beta.mean": {
125
+ "value": 6.350028500000007e-05,
126
+ "min": 6.350028500000007e-05,
127
+ "max": 0.004922911985,
128
+ "count": 40
129
+ },
130
+ "Huggy.Policy.Beta.sum": {
131
+ "value": 0.0001905008550000002,
132
+ "min": 0.0001905008550000002,
133
+ "max": 0.014068591549999999,
134
+ "count": 40
135
+ },
136
+ "Huggy.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 40
141
+ },
142
+ "Huggy.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 40
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1670953807",
152
+ "python_version": "3.9.16 (main, Dec 13 2022, 18:20:33) \n[GCC 11.3.0]",
153
+ "command_line_arguments": "/home/markus/src/ai/ml-agents/.venv/bin/mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy --no-graphics",
154
+ "mlagents_version": "0.31.0.dev0",
155
+ "mlagents_envs_version": "0.31.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "1.11.0+cu102",
158
+ "numpy_version": "1.21.2",
159
+ "end_time_seconds": "1670958557"
160
+ },
161
+ "total": 4749.398941110001,
162
+ "count": 1,
163
+ "self": 0.4888778460008325,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.04401721000249381,
167
+ "count": 1,
168
+ "self": 0.04401721000249381
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 4748.866046053998,
172
+ "count": 1,
173
+ "self": 10.545487796804082,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.083841329000279,
177
+ "count": 1,
178
+ "self": 2.083841329000279
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 4736.0040272541955,
182
+ "count": 231969,
183
+ "self": 11.391401876724558,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 2985.543389261493,
187
+ "count": 231969,
188
+ "self": 2480.7295454924424,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 498.3651150776641,
192
+ "count": 231969,
193
+ "self": 37.489012846872356,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 460.87610223079173,
197
+ "count": 222863,
198
+ "self": 460.87610223079173
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 6.44872869138635,
204
+ "count": 231969,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 4729.611465101341,
209
+ "count": 231969,
210
+ "is_parallel": true,
211
+ "self": 2876.212790744845,
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.001524350002000574,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.0005632829997921363,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0009610670022084378,
227
+ "count": 2,
228
+ "is_parallel": true,
229
+ "self": 0.0009610670022084378
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.032548523999139434,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.00023829399651731364,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.0002896490004786756,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.0002896490004786756
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.031307631001254776,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.031307631001254776
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.000712950000888668,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00021224399824859574,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0005007060026400723,
259
+ "count": 2,
260
+ "is_parallel": true,
261
+ "self": 0.0005007060026400723
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 1853.3986743564965,
271
+ "count": 231968,
272
+ "is_parallel": true,
273
+ "self": 58.20990138154957,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 119.30410309381477,
277
+ "count": 231968,
278
+ "is_parallel": true,
279
+ "self": 119.30410309381477
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 1537.216502549214,
283
+ "count": 231968,
284
+ "is_parallel": true,
285
+ "self": 1537.216502549214
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 138.66816733191808,
289
+ "count": 231968,
290
+ "is_parallel": true,
291
+ "self": 53.93076417197517,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 84.73740315994291,
295
+ "count": 463936,
296
+ "is_parallel": true,
297
+ "self": 84.73740315994291
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 1739.0692361159781,
311
+ "count": 231969,
312
+ "self": 14.493765790077305,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 305.1985729358894,
316
+ "count": 231969,
317
+ "self": 302.9912175118916,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 2.2073554239977966,
321
+ "count": 4,
322
+ "self": 2.2073554239977966
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 1419.3768973900114,
328
+ "count": 97,
329
+ "self": 773.1066672531088,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 646.2702301369027,
333
+ "count": 2910,
334
+ "self": 646.2702301369027
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 2.562999725341797e-06,
344
+ "count": 1,
345
+ "self": 2.562999725341797e-06
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.2326871109980857,
349
+ "count": 1,
350
+ "self": 0.003496960998745635,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.22919014999934006,
354
+ "count": 1,
355
+ "self": 0.22919014999934006
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Huggy": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499921,
6
+ "file_path": "results/Huggy/Huggy/Huggy-499921.onnx",
7
+ "reward": 3.2118453131781686,
8
+ "creation_time": 1670955053.236228,
9
+ "auxillary_file_paths": [
10
+ "results/Huggy/Huggy/Huggy-499921.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999991,
15
+ "file_path": "results/Huggy/Huggy/Huggy-999991.onnx",
16
+ "reward": 3.6121990936143056,
17
+ "creation_time": 1670956165.1175692,
18
+ "auxillary_file_paths": [
19
+ "results/Huggy/Huggy/Huggy-999991.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1499963,
24
+ "file_path": "results/Huggy/Huggy/Huggy-1499963.onnx",
25
+ "reward": 3.8014023562272388,
26
+ "creation_time": 1670957293.644588,
27
+ "auxillary_file_paths": [
28
+ "results/Huggy/Huggy/Huggy-1499963.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 1999981,
33
+ "file_path": "results/Huggy/Huggy/Huggy-1999981.onnx",
34
+ "reward": 4.102765835248507,
35
+ "creation_time": 1670958556.4652576,
36
+ "auxillary_file_paths": [
37
+ "results/Huggy/Huggy/Huggy-1999981.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 2000046,
42
+ "file_path": "results/Huggy/Huggy/Huggy-2000046.onnx",
43
+ "reward": 4.062556658472333,
44
+ "creation_time": 1670958556.703636,
45
+ "auxillary_file_paths": [
46
+ "results/Huggy/Huggy/Huggy-2000046.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "final_checkpoint": {
51
+ "steps": 2000046,
52
+ "file_path": "results/Huggy/Huggy.onnx",
53
+ "reward": 4.062556658472333,
54
+ "creation_time": 1670958556.703636,
55
+ "auxillary_file_paths": [
56
+ "results/Huggy/Huggy/Huggy-2000046.pt"
57
+ ]
58
+ }
59
+ },
60
+ "metadata": {
61
+ "stats_format_version": "0.3.0",
62
+ "mlagents_version": "0.31.0.dev0",
63
+ "torch_version": "1.11.0+cu102"
64
+ }
65
+ }