joen2010 commited on
Commit
5b7e7f9
1 Parent(s): f6281e5
Huggy.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f852a894a611a93d68bb267bfc7b14886576188bdfeb68146cfe1fc535cc392d
3
+ size 2273984
Huggy/Huggy-1399977.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4df4136ea0bca5d37be2d6ef0273573154f9e7dbd6a6655949983b9234116bd
3
+ size 2273984
Huggy/Huggy-1399977.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8c3e6f28abfded1c28659ae45bab86310f14632b9a55491799acebcce666ccb
3
+ size 13509473
Huggy/Huggy-1599934.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:793ae309bce9b342d3f6fb6638c5dc8046760c2846a8136a9477e71e47effdf0
3
+ size 2273984
Huggy/Huggy-1599934.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ba8a2bf6c7215a7b6f24bc1e325608c206f6ff8938282c31c00f71b9653b820
3
+ size 13509473
Huggy/Huggy-1799955.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f28fadc5c99d0add4a072f6b85c61dd6516be2370581d50b5670001c04066d0
3
+ size 2273984
Huggy/Huggy-1799955.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da6cb15698ad9dd73ba2da88f552006f19acd0a9d126d1f56be6862da80148bf
3
+ size 13509473
Huggy/Huggy-1999986.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:248e47e40feaf3d5b235924b8257431bada9e3061544fbc63fac3c44b79de3b4
3
+ size 2273984
Huggy/Huggy-1999986.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:363d4afbffab468922f575945876ef1983246e2b47f9d03875abdca9eb2c77d1
3
+ size 13509473
Huggy/Huggy-2000031.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f852a894a611a93d68bb267bfc7b14886576188bdfeb68146cfe1fc535cc392d
3
+ size 2273984
Huggy/Huggy-2000031.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f35a3aca7d3d7219e403d2d3e126524a486c778fd23ac31a432e570248d7d564
3
+ size 13509473
Huggy/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81e2d64cb0666730d23f9f1f0ef52e2016243b6fe321cdffbf13ee5675ba8942
3
+ size 13509218
Huggy/events.out.tfevents.1711410042.joeny-dev.6799.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41a0e443c61ace37b0f766a2f3685c5dfe5be656f83ac312e567bfceca1d0293
3
+ size 398128
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: joen2010/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": 5, "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: 5
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,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/joeny/projects/rl-learning/trained-envs-executables/linux/Huggy/Huggy_Data/Managed'
2
+ Mono config path = '/home/joeny/projects/rl-learning/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/joeny/.config/unity3d/Hugging Face
6
+ PlayerPrefs - Creating folder: /home/joeny/.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/joeny/projects/rl-learning/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.069 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.573976 ms
62
+ requesting resize 84 x 84
63
+ Setting up 4 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]: 26765 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_Job.Worker 6]
89
+ Initial Block Size 256.0 KB
90
+ Current Block Size 256.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 9]
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_Job.Worker 5]
109
+ Initial Block Size 256.0 KB
110
+ Current Block Size 256.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Background Job.Worker 14]
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_Background Job.Worker 6]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Job.Worker 4]
124
+ Initial Block Size 256.0 KB
125
+ Current Block Size 256.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Job.Worker 3]
129
+ Initial Block Size 256.0 KB
130
+ Current Block Size 256.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 12]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_EnlightenWorker] x 4
139
+ Initial Block Size 64.0 KB
140
+ Current Block Size 64.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 15]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 1]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 2]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 7]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
164
+ Initial Block Size 64.0 KB
165
+ Current Block Size 64.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 5]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 13]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Job.Worker 1]
179
+ Initial Block Size 256.0 KB
180
+ Current Block Size 256.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Job.Worker 2]
184
+ Initial Block Size 256.0 KB
185
+ Current Block Size 256.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 3]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Background Job.Worker 11]
194
+ Initial Block Size 32.0 KB
195
+ Current Block Size 32.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Background Job.Worker 0]
199
+ Initial Block Size 32.0 KB
200
+ Current Block Size 32.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 4]
204
+ Initial Block Size 32.0 KB
205
+ Current Block Size 32.0 KB
206
+ Peak Allocated Bytes 0 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_BatchDeleteObjects]
209
+ Initial Block Size 64.0 KB
210
+ Current Block Size 64.0 KB
211
+ Peak Allocated Bytes 0 B
212
+ Overflow Count 0
213
+ [ALLOC_DEFAULT] Dual Thread Allocator
214
+ Peak main deferred allocation count 38
215
+ [ALLOC_BUCKET]
216
+ Large Block size 4.0 MB
217
+ Used Block count 1
218
+ Peak Allocated bytes 1.4 MB
219
+ [ALLOC_DEFAULT_MAIN]
220
+ Peak usage frame count: [16.0 MB-32.0 MB]: 26766 frames
221
+ Requested Block Size 16.0 MB
222
+ Peak Block count 1
223
+ Peak Allocated memory 23.7 MB
224
+ Peak Large allocation bytes 16.0 MB
225
+ [ALLOC_DEFAULT_THREAD]
226
+ Peak usage frame count: [2.0 MB-4.0 MB]: 26766 frames
227
+ Requested Block Size 16.0 MB
228
+ Peak Block count 1
229
+ Peak Allocated memory 2.6 MB
230
+ Peak Large allocation bytes 0 B
231
+ [ALLOC_TEMP_JOB_1_FRAME]
232
+ Initial Block Size 2.0 MB
233
+ Used Block Count 1
234
+ Overflow Count (too large) 0
235
+ Overflow Count (full) 0
236
+ [ALLOC_TEMP_JOB_2_FRAMES]
237
+ Initial Block Size 2.0 MB
238
+ Used Block Count 1
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
242
+ Initial Block Size 2.0 MB
243
+ Used Block Count 2
244
+ Overflow Count (too large) 0
245
+ Overflow Count (full) 0
246
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
247
+ Initial Block Size 1.0 MB
248
+ Used Block Count 3
249
+ Overflow Count (too large) 0
250
+ Overflow Count (full) 0
251
+ [ALLOC_GFX] Dual Thread Allocator
252
+ Peak main deferred allocation count 0
253
+ [ALLOC_BUCKET]
254
+ Large Block size 4.0 MB
255
+ Used Block count 1
256
+ Peak Allocated bytes 1.4 MB
257
+ [ALLOC_GFX_MAIN]
258
+ Peak usage frame count: [32.0 KB-64.0 KB]: 26765 frames, [64.0 KB-128.0 KB]: 1 frames
259
+ Requested Block Size 16.0 MB
260
+ Peak Block count 1
261
+ Peak Allocated memory 65.6 KB
262
+ Peak Large allocation bytes 0 B
263
+ [ALLOC_GFX_THREAD]
264
+ Peak usage frame count: [64.0 KB-128.0 KB]: 26766 frames
265
+ Requested Block Size 16.0 MB
266
+ Peak Block count 1
267
+ Peak Allocated memory 81.8 KB
268
+ Peak Large allocation bytes 0 B
269
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
270
+ Peak main deferred allocation count 0
271
+ [ALLOC_BUCKET]
272
+ Large Block size 4.0 MB
273
+ Used Block count 1
274
+ Peak Allocated bytes 1.4 MB
275
+ [ALLOC_CACHEOBJECTS_MAIN]
276
+ Peak usage frame count: [1.0 MB-2.0 MB]: 26765 frames, [16.0 MB-32.0 MB]: 1 frames
277
+ Requested Block Size 4.0 MB
278
+ Peak Block count 2
279
+ Peak Allocated memory 30.6 MB
280
+ Peak Large allocation bytes 24.9 MB
281
+ [ALLOC_CACHEOBJECTS_THREAD]
282
+ Peak usage frame count: [0.5 MB-1.0 MB]: 26765 frames, [2.0 MB-4.0 MB]: 1 frames
283
+ Requested Block Size 4.0 MB
284
+ Peak Block count 1
285
+ Peak Allocated memory 2.6 MB
286
+ Peak Large allocation bytes 0 B
287
+ [ALLOC_TYPETREE] Dual Thread Allocator
288
+ Peak main deferred allocation count 0
289
+ [ALLOC_BUCKET]
290
+ Large Block size 4.0 MB
291
+ Used Block count 1
292
+ Peak Allocated bytes 1.4 MB
293
+ [ALLOC_TYPETREE_MAIN]
294
+ Peak usage frame count: [0-1.0 KB]: 26766 frames
295
+ Requested Block Size 2.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 1.0 KB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_TYPETREE_THREAD]
300
+ Peak usage frame count: [4.0 KB-8.0 KB]: 26766 frames
301
+ Requested Block Size 2.0 MB
302
+ Peak Block count 1
303
+ Peak Allocated memory 7.3 KB
304
+ 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.4101938009262085,
6
+ "min": 1.4101938009262085,
7
+ "max": 1.4303182363510132,
8
+ "count": 40
9
+ },
10
+ "Huggy.Policy.Entropy.sum": {
11
+ "value": 72137.0546875,
12
+ "min": 67556.8125,
13
+ "max": 77680.53125,
14
+ "count": 40
15
+ },
16
+ "Huggy.Environment.EpisodeLength.mean": {
17
+ "value": 100.38571428571429,
18
+ "min": 87.00880281690141,
19
+ "max": 422.6386554621849,
20
+ "count": 40
21
+ },
22
+ "Huggy.Environment.EpisodeLength.sum": {
23
+ "value": 49189.0,
24
+ "min": 48994.0,
25
+ "max": 50294.0,
26
+ "count": 40
27
+ },
28
+ "Huggy.Step.mean": {
29
+ "value": 1999986.0,
30
+ "min": 49861.0,
31
+ "max": 1999986.0,
32
+ "count": 40
33
+ },
34
+ "Huggy.Step.sum": {
35
+ "value": 1999986.0,
36
+ "min": 49861.0,
37
+ "max": 1999986.0,
38
+ "count": 40
39
+ },
40
+ "Huggy.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 2.3266077041625977,
42
+ "min": 0.09293240308761597,
43
+ "max": 2.408137321472168,
44
+ "count": 40
45
+ },
46
+ "Huggy.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 1140.0377197265625,
48
+ "min": 10.966023445129395,
49
+ "max": 1300.1552734375,
50
+ "count": 40
51
+ },
52
+ "Huggy.Environment.CumulativeReward.mean": {
53
+ "value": 3.5776075110143544,
54
+ "min": 2.0825654621851646,
55
+ "max": 3.910012868947761,
56
+ "count": 40
57
+ },
58
+ "Huggy.Environment.CumulativeReward.sum": {
59
+ "value": 1753.0276803970337,
60
+ "min": 245.74272453784943,
61
+ "max": 2125.7759407162666,
62
+ "count": 40
63
+ },
64
+ "Huggy.Policy.ExtrinsicReward.mean": {
65
+ "value": 3.5776075110143544,
66
+ "min": 2.0825654621851646,
67
+ "max": 3.910012868947761,
68
+ "count": 40
69
+ },
70
+ "Huggy.Policy.ExtrinsicReward.sum": {
71
+ "value": 1753.0276803970337,
72
+ "min": 245.74272453784943,
73
+ "max": 2125.7759407162666,
74
+ "count": 40
75
+ },
76
+ "Huggy.Losses.PolicyLoss.mean": {
77
+ "value": 0.016160495659601617,
78
+ "min": 0.014036164216910643,
79
+ "max": 0.019853399661951696,
80
+ "count": 40
81
+ },
82
+ "Huggy.Losses.PolicyLoss.sum": {
83
+ "value": 0.04848148697880485,
84
+ "min": 0.028072328433821285,
85
+ "max": 0.05882054300066859,
86
+ "count": 40
87
+ },
88
+ "Huggy.Losses.ValueLoss.mean": {
89
+ "value": 0.050253532412979335,
90
+ "min": 0.022303750428060688,
91
+ "max": 0.05668431222438812,
92
+ "count": 40
93
+ },
94
+ "Huggy.Losses.ValueLoss.sum": {
95
+ "value": 0.150760597238938,
96
+ "min": 0.044607500856121376,
97
+ "max": 0.16457236868639785,
98
+ "count": 40
99
+ },
100
+ "Huggy.Policy.LearningRate.mean": {
101
+ "value": 3.437098854333335e-06,
102
+ "min": 3.437098854333335e-06,
103
+ "max": 0.0002953668015444,
104
+ "count": 40
105
+ },
106
+ "Huggy.Policy.LearningRate.sum": {
107
+ "value": 1.0311296563000004e-05,
108
+ "min": 1.0311296563000004e-05,
109
+ "max": 0.0008444790185069999,
110
+ "count": 40
111
+ },
112
+ "Huggy.Policy.Epsilon.mean": {
113
+ "value": 0.10114566666666665,
114
+ "min": 0.10114566666666665,
115
+ "max": 0.19845559999999998,
116
+ "count": 40
117
+ },
118
+ "Huggy.Policy.Epsilon.sum": {
119
+ "value": 0.30343699999999996,
120
+ "min": 0.2074737,
121
+ "max": 0.5814930000000003,
122
+ "count": 40
123
+ },
124
+ "Huggy.Policy.Beta.mean": {
125
+ "value": 6.71687666666667e-05,
126
+ "min": 6.71687666666667e-05,
127
+ "max": 0.0049229344399999994,
128
+ "count": 40
129
+ },
130
+ "Huggy.Policy.Beta.sum": {
131
+ "value": 0.00020150630000000008,
132
+ "min": 0.00020150630000000008,
133
+ "max": 0.014076500700000001,
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": "1711410041",
152
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
153
+ "command_line_arguments": "/home/joeny/.local/bin/mlagents-learn ./ml-agents/config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy2 --no-graphics",
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.2.1+cu121",
158
+ "numpy_version": "1.23.5",
159
+ "end_time_seconds": "1711411543"
160
+ },
161
+ "total": 1501.4609704649997,
162
+ "count": 1,
163
+ "self": 0.2686430799999471,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.05590519699990182,
167
+ "count": 1,
168
+ "self": 0.05590519699990182
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 1501.1364221879999,
172
+ "count": 1,
173
+ "self": 3.8536674539923297,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.640385961999982,
177
+ "count": 1,
178
+ "self": 2.640385961999982
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 1494.4981685010075,
182
+ "count": 231864,
183
+ "self": 3.956553463864111,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 1194.0748922501075,
187
+ "count": 231864,
188
+ "self": 931.1358908081634,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 260.18084366413996,
192
+ "count": 231864,
193
+ "self": 11.398022897238661,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 248.7828207669013,
197
+ "count": 223048,
198
+ "self": 248.7828207669013
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 2.758157777804172,
204
+ "count": 231864,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 1496.4045831399872,
209
+ "count": 231864,
210
+ "is_parallel": true,
211
+ "self": 767.3394043059857,
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.00043524600005184766,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.00011404899987610406,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0003211970001757436,
227
+ "count": 2,
228
+ "is_parallel": true,
229
+ "self": 0.0003211970001757436
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.01420379099999991,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.000259383999491547,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 9.913200028677238e-05,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 9.913200028677238e-05
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.013185758999952668,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.013185758999952668
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.0006595160002689227,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00014381800019691582,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0005156980000720068,
259
+ "count": 2,
260
+ "is_parallel": true,
261
+ "self": 0.0005156980000720068
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 729.0651788340015,
271
+ "count": 231863,
272
+ "is_parallel": true,
273
+ "self": 28.658331190848003,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 45.104008083017106,
277
+ "count": 231863,
278
+ "is_parallel": true,
279
+ "self": 45.104008083017106
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 590.8766309081011,
283
+ "count": 231863,
284
+ "is_parallel": true,
285
+ "self": 590.8766309081011
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 64.42620865203526,
289
+ "count": 231863,
290
+ "is_parallel": true,
291
+ "self": 21.12359193990096,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 43.302616712134295,
295
+ "count": 463726,
296
+ "is_parallel": true,
297
+ "self": 43.302616712134295
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 296.4667227870359,
311
+ "count": 231864,
312
+ "self": 5.404601170814658,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 101.33848838022232,
316
+ "count": 231864,
317
+ "self": 99.76693791222215,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 1.5715504680001686,
321
+ "count": 10,
322
+ "self": 1.5715504680001686
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 189.72363323599893,
328
+ "count": 97,
329
+ "self": 152.63800274199411,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 37.08563049400482,
333
+ "count": 2910,
334
+ "self": 37.08563049400482
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 6.130003384896554e-07,
344
+ "count": 1,
345
+ "self": 6.130003384896554e-07
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.1441996579997067,
349
+ "count": 1,
350
+ "self": 0.0014341369997055153,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.14276552100000117,
354
+ "count": 1,
355
+ "self": 0.14276552100000117
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": 1399977,
6
+ "file_path": "results/Huggy2/Huggy/Huggy-1399977.onnx",
7
+ "reward": 3.8015785217285156,
8
+ "creation_time": 1711411091.05452,
9
+ "auxillary_file_paths": [
10
+ "results/Huggy2/Huggy/Huggy-1399977.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 1599934,
15
+ "file_path": "results/Huggy2/Huggy/Huggy-1599934.onnx",
16
+ "reward": 3.474546171959091,
17
+ "creation_time": 1711411240.4027383,
18
+ "auxillary_file_paths": [
19
+ "results/Huggy2/Huggy/Huggy-1599934.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1799955,
24
+ "file_path": "results/Huggy2/Huggy/Huggy-1799955.onnx",
25
+ "reward": 3.5397074126649177,
26
+ "creation_time": 1711411391.3280451,
27
+ "auxillary_file_paths": [
28
+ "results/Huggy2/Huggy/Huggy-1799955.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 1999986,
33
+ "file_path": "results/Huggy2/Huggy/Huggy-1999986.onnx",
34
+ "reward": 3.6814975177540497,
35
+ "creation_time": 1711411542.6980746,
36
+ "auxillary_file_paths": [
37
+ "results/Huggy2/Huggy/Huggy-1999986.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 2000031,
42
+ "file_path": "results/Huggy2/Huggy/Huggy-2000031.onnx",
43
+ "reward": 3.679797158922468,
44
+ "creation_time": 1711411542.8436747,
45
+ "auxillary_file_paths": [
46
+ "results/Huggy2/Huggy/Huggy-2000031.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "final_checkpoint": {
51
+ "steps": 2000031,
52
+ "file_path": "results/Huggy2/Huggy.onnx",
53
+ "reward": 3.679797158922468,
54
+ "creation_time": 1711411542.8436747,
55
+ "auxillary_file_paths": [
56
+ "results/Huggy2/Huggy/Huggy-2000031.pt"
57
+ ]
58
+ }
59
+ },
60
+ "metadata": {
61
+ "stats_format_version": "0.3.0",
62
+ "mlagents_version": "1.1.0.dev0",
63
+ "torch_version": "2.2.1+cu121"
64
+ }
65
+ }