Laz4rz commited on
Commit
b888ae3
1 Parent(s): 782abe8

add Huggy agent

Browse files
Huggy.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f42846869f6be429a7f9f3c57bf94b6fd52d0a38999741e7017539c446a325d
3
+ size 2273984
Huggy/Huggy-199812.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ed978f8ca1d0aa8c1a39b3a049fe236d77f8a3f14168645f4e738b366ebf3f8
3
+ size 2273984
Huggy/Huggy-199812.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42a1919de9e29eafb00eedaafe4e5849f09639c2aca7924a5983bf8cee5b68b4
3
+ size 13509388
Huggy/Huggy-399736.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ff4485e85e235456a4cbdc16712e304a967b978dd03f01799cacc41756fcd02
3
+ size 2273984
Huggy/Huggy-399736.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:114f2aa936c084811285f4521f25df28a75874c769838761e2c70f7efa79f7c1
3
+ size 13509388
Huggy/Huggy-599828.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0c2c8bafaf6a11cd9031d4f3016771e3aebcc9c36738fe34b7befef644f12d8
3
+ size 2273984
Huggy/Huggy-599828.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7ecb2f741c92640d1e22fc06290be0d929242bbe0eed5c765571a6e2276cec0
3
+ size 13509388
Huggy/Huggy-606071.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f42846869f6be429a7f9f3c57bf94b6fd52d0a38999741e7017539c446a325d
3
+ size 2273984
Huggy/Huggy-606071.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a21d82b0f677daf5bd4dad1e42ee1fda053193fb45c57c58dfbbec9a78cc907
3
+ size 13509388
Huggy/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e44ed47b778527dc50e561bbf9c3ee685aa9c582e432eba59323103601f45f0
3
+ size 13509218
Huggy/events.out.tfevents.1714167267.964b775308b1.4081.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa0d03fdec5c9d9ce94a1ecc02d0eb78b635bf50ca55348ecd1842a2433212ed
3
+ size 33121
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: Laz4rz/hf-huggy-1-bonus
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Huggy": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 200000, "network_settings": {"normalize": true, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.995, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 15, "even_checkpoints": false, "max_steps": 2000000, "time_horizon": 1000, "summary_freq": 50000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-envs-executables/linux/Huggy/Huggy", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Huggy2", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Huggy:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ shared_critic: false
14
+ learning_rate_schedule: linear
15
+ beta_schedule: linear
16
+ epsilon_schedule: linear
17
+ checkpoint_interval: 200000
18
+ network_settings:
19
+ normalize: true
20
+ hidden_units: 512
21
+ num_layers: 3
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.995
29
+ strength: 1.0
30
+ network_settings:
31
+ normalize: false
32
+ hidden_units: 128
33
+ num_layers: 2
34
+ vis_encode_type: simple
35
+ memory: null
36
+ goal_conditioning_type: hyper
37
+ deterministic: false
38
+ init_path: null
39
+ keep_checkpoints: 15
40
+ even_checkpoints: false
41
+ max_steps: 2000000
42
+ time_horizon: 1000
43
+ summary_freq: 50000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: ./trained-envs-executables/linux/Huggy/Huggy
49
+ env_args: null
50
+ base_port: 5005
51
+ num_envs: 1
52
+ num_areas: 1
53
+ timeout_wait: 60
54
+ seed: -1
55
+ max_lifetime_restarts: 10
56
+ restarts_rate_limit_n: 1
57
+ restarts_rate_limit_period_s: 60
58
+ engine_settings:
59
+ width: 84
60
+ height: 84
61
+ quality_level: 5
62
+ time_scale: 20
63
+ target_frame_rate: -1
64
+ capture_frame_rate: 60
65
+ no_graphics: true
66
+ no_graphics_monitor: false
67
+ environment_parameters: null
68
+ checkpoint_settings:
69
+ run_id: Huggy2
70
+ initialize_from: null
71
+ load_model: false
72
+ resume: false
73
+ force: false
74
+ train_model: false
75
+ inference: false
76
+ results_dir: results
77
+ torch_settings:
78
+ device: null
79
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/trained-envs-executables/linux/Huggy/Huggy_Data/Managed'
2
+ Mono config path = '/content/ml-agents/trained-envs-executables/linux/Huggy/Huggy_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Hugging Face
6
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Hugging Face/Huggy
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /content/ml-agents/trained-envs-executables/linux/Huggy/Huggy_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
18
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
24
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
25
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
26
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
28
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
34
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
35
+ FMOD initialized on nosound output
36
+ Begin MonoManager ReloadAssembly
37
+ - Completed reload, in 0.104 seconds
38
+ ERROR: Shader Hidden/Universal Render Pipeline/Blit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Hidden/Universal Render Pipeline/CopyDepth shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ ERROR: Shader Hidden/Universal Render Pipeline/ScreenSpaceShadows shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ ERROR: Shader Hidden/Universal Render Pipeline/Sampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderLdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
43
+ ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderHdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ ERROR: Shader Hidden/Universal Render Pipeline/UberPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - All subshaders removed
46
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ ERROR: Shader Hidden/Universal Render Pipeline/FallbackError shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/FallbackError' - All subshaders removed
50
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
51
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
52
+ ERROR: Shader Hidden/Universal Render Pipeline/Stop NaN shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
53
+ ERROR: Shader Hidden/Universal Render Pipeline/SubpixelMorphologicalAntialiasing shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
54
+ ERROR: Shader Hidden/Universal Render Pipeline/GaussianDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
55
+ ERROR: Shader Hidden/Universal Render Pipeline/BokehDepthOfField shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
56
+ ERROR: Shader Hidden/Universal Render Pipeline/CameraMotionBlur shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
57
+ ERROR: Shader Hidden/Universal Render Pipeline/PaniniProjection shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ ERROR: Shader Hidden/Universal Render Pipeline/Bloom shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
59
+ ERROR: Shader Hidden/Universal Render Pipeline/FinalPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
60
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/StencilDeferred' - All subshaders removed
61
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
62
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
63
+ WARNING: Shader Unsupported: 'Hidden/Universal Render Pipeline/StencilDeferred' - All subshaders removed
64
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
65
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
66
+ ERROR: Shader Hidden/Universal Render Pipeline/LensFlareDataDriven shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
67
+ ERROR: Shader Hidden/Universal Render Pipeline/Scaling Setup shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
68
+ ERROR: Shader Hidden/Universal Render Pipeline/Edge Adaptive Spatial Upsampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
69
+ ERROR: Shader Hidden/Universal Render Pipeline/Debug/DebugReplacement shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ ERROR: Shader Hidden/kMotion/CameraMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
71
+ ERROR: Shader Hidden/kMotion/ObjectMotionVectors shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
72
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
73
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
74
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
75
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
76
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
77
+ ERROR: Shader Universal Render Pipeline/Lit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
78
+ WARNING: Shader Unsupported: 'Universal Render Pipeline/Lit' - All subshaders removed
79
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
80
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
81
+ UnloadTime: 0.788443 ms
82
+ requesting resize 84 x 84
83
+ Setting up 1 worker threads for Enlighten.
84
+ Memory Statistics:
85
+ [ALLOC_TEMP_TLS] TLS Allocator
86
+ StackAllocators :
87
+ [ALLOC_TEMP_MAIN]
88
+ Peak usage frame count: [4.0 KB-8.0 KB]: 8100 frames, [2.0 MB-4.0 MB]: 1 frames
89
+ Initial Block Size 4.0 MB
90
+ Current Block Size 4.0 MB
91
+ Peak Allocated Bytes 3.6 MB
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Loading.AsyncRead]
94
+ Initial Block Size 64.0 KB
95
+ Current Block Size 64.0 KB
96
+ Peak Allocated Bytes 144 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Loading.PreloadManager]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 296.0 KB
101
+ Peak Allocated Bytes 211.5 KB
102
+ Overflow Count 4
103
+ [ALLOC_TEMP_Background Job.Worker 8]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 9]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 0]
114
+ Initial Block Size 256.0 KB
115
+ Current Block Size 256.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 10]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 14]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 6]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 12]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_EnlightenWorker]
139
+ Initial Block Size 64.0 KB
140
+ Current Block Size 64.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 15]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 1]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 2]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 7]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
164
+ Initial Block Size 64.0 KB
165
+ Current Block Size 64.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 5]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 13]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 11]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 3]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 0]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Background Job.Worker 4]
194
+ Initial Block Size 32.0 KB
195
+ Current Block Size 32.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_BatchDeleteObjects]
199
+ Initial Block Size 64.0 KB
200
+ Current Block Size 64.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_DEFAULT] Dual Thread Allocator
204
+ Peak main deferred allocation count 96
205
+ [ALLOC_BUCKET]
206
+ Large Block size 4.0 MB
207
+ Used Block count 1
208
+ Peak Allocated bytes 1.4 MB
209
+ [ALLOC_DEFAULT_MAIN]
210
+ Peak usage frame count: [16.0 MB-32.0 MB]: 8101 frames
211
+ Requested Block Size 16.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 22.1 MB
214
+ Peak Large allocation bytes 16.0 MB
215
+ [ALLOC_DEFAULT_THREAD]
216
+ Peak usage frame count: [2.0 MB-4.0 MB]: 8101 frames
217
+ Requested Block Size 16.0 MB
218
+ Peak Block count 1
219
+ Peak Allocated memory 2.5 MB
220
+ Peak Large allocation bytes 0 B
221
+ [ALLOC_TEMP_JOB_1_FRAME]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 1
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_2_FRAMES]
227
+ Initial Block Size 2.0 MB
228
+ Used Block Count 1
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
232
+ Initial Block Size 2.0 MB
233
+ Used Block Count 2
234
+ Overflow Count (too large) 0
235
+ Overflow Count (full) 0
236
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
237
+ Initial Block Size 1.0 MB
238
+ Used Block Count 3
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_GFX] Dual Thread Allocator
242
+ Peak main deferred allocation count 0
243
+ [ALLOC_BUCKET]
244
+ Large Block size 4.0 MB
245
+ Used Block count 1
246
+ Peak Allocated bytes 1.4 MB
247
+ [ALLOC_GFX_MAIN]
248
+ Peak usage frame count: [32.0 KB-64.0 KB]: 8100 frames, [64.0 KB-128.0 KB]: 1 frames
249
+ Requested Block Size 16.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 65.6 KB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_GFX_THREAD]
254
+ Peak usage frame count: [64.0 KB-128.0 KB]: 8101 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 81.8 KB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
260
+ Peak main deferred allocation count 0
261
+ [ALLOC_BUCKET]
262
+ Large Block size 4.0 MB
263
+ Used Block count 1
264
+ Peak Allocated bytes 1.4 MB
265
+ [ALLOC_CACHEOBJECTS_MAIN]
266
+ Peak usage frame count: [1.0 MB-2.0 MB]: 8100 frames, [16.0 MB-32.0 MB]: 1 frames
267
+ Requested Block Size 4.0 MB
268
+ Peak Block count 2
269
+ Peak Allocated memory 30.6 MB
270
+ Peak Large allocation bytes 24.9 MB
271
+ [ALLOC_CACHEOBJECTS_THREAD]
272
+ Peak usage frame count: [0.5 MB-1.0 MB]: 8100 frames, [2.0 MB-4.0 MB]: 1 frames
273
+ Requested Block Size 4.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 2.6 MB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_TYPETREE] Dual Thread Allocator
278
+ Peak main deferred allocation count 0
279
+ [ALLOC_BUCKET]
280
+ Large Block size 4.0 MB
281
+ Used Block count 1
282
+ Peak Allocated bytes 1.4 MB
283
+ [ALLOC_TYPETREE_MAIN]
284
+ Peak usage frame count: [0-1.0 KB]: 8101 frames
285
+ Requested Block Size 2.0 MB
286
+ Peak Block count 1
287
+ Peak Allocated memory 1.0 KB
288
+ Peak Large allocation bytes 0 B
289
+ [ALLOC_TYPETREE_THREAD]
290
+ Peak usage frame count: [4.0 KB-8.0 KB]: 8101 frames
291
+ Requested Block Size 2.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 7.3 KB
294
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Huggy.Policy.Entropy.mean": {
5
+ "value": 1.4208875894546509,
6
+ "min": 1.4195122718811035,
7
+ "max": 1.428608775138855,
8
+ "count": 12
9
+ },
10
+ "Huggy.Policy.Entropy.sum": {
11
+ "value": 70318.3046875,
12
+ "min": 67531.9765625,
13
+ "max": 78362.7578125,
14
+ "count": 12
15
+ },
16
+ "Huggy.Environment.EpisodeLength.mean": {
17
+ "value": 101.45901639344262,
18
+ "min": 101.45901639344262,
19
+ "max": 418.19166666666666,
20
+ "count": 12
21
+ },
22
+ "Huggy.Environment.EpisodeLength.sum": {
23
+ "value": 49512.0,
24
+ "min": 49471.0,
25
+ "max": 50183.0,
26
+ "count": 12
27
+ },
28
+ "Huggy.Step.mean": {
29
+ "value": 599828.0,
30
+ "min": 49692.0,
31
+ "max": 599828.0,
32
+ "count": 12
33
+ },
34
+ "Huggy.Step.sum": {
35
+ "value": 599828.0,
36
+ "min": 49692.0,
37
+ "max": 599828.0,
38
+ "count": 12
39
+ },
40
+ "Huggy.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 2.2470223903656006,
42
+ "min": 0.1304357349872589,
43
+ "max": 2.2470223903656006,
44
+ "count": 12
45
+ },
46
+ "Huggy.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 1096.546875,
48
+ "min": 15.521852493286133,
49
+ "max": 1096.546875,
50
+ "count": 12
51
+ },
52
+ "Huggy.Environment.CumulativeReward.mean": {
53
+ "value": 3.844024112600772,
54
+ "min": 1.7325537450173323,
55
+ "max": 3.844024112600772,
56
+ "count": 12
57
+ },
58
+ "Huggy.Environment.CumulativeReward.sum": {
59
+ "value": 1875.8837669491768,
60
+ "min": 206.17389565706253,
61
+ "max": 1875.8837669491768,
62
+ "count": 12
63
+ },
64
+ "Huggy.Policy.ExtrinsicReward.mean": {
65
+ "value": 3.844024112600772,
66
+ "min": 1.7325537450173323,
67
+ "max": 3.844024112600772,
68
+ "count": 12
69
+ },
70
+ "Huggy.Policy.ExtrinsicReward.sum": {
71
+ "value": 1875.8837669491768,
72
+ "min": 206.17389565706253,
73
+ "max": 1875.8837669491768,
74
+ "count": 12
75
+ },
76
+ "Huggy.Losses.PolicyLoss.mean": {
77
+ "value": 0.015931323882088892,
78
+ "min": 0.015931323882088892,
79
+ "max": 0.01996262371055006,
80
+ "count": 12
81
+ },
82
+ "Huggy.Losses.PolicyLoss.sum": {
83
+ "value": 0.04779397164626668,
84
+ "min": 0.03193648516995987,
85
+ "max": 0.058428211135712144,
86
+ "count": 12
87
+ },
88
+ "Huggy.Losses.ValueLoss.mean": {
89
+ "value": 0.0450758658349514,
90
+ "min": 0.022682684908310574,
91
+ "max": 0.0450758658349514,
92
+ "count": 12
93
+ },
94
+ "Huggy.Losses.ValueLoss.sum": {
95
+ "value": 0.1352275975048542,
96
+ "min": 0.04536536981662115,
97
+ "max": 0.1352275975048542,
98
+ "count": 12
99
+ },
100
+ "Huggy.Policy.LearningRate.mean": {
101
+ "value": 0.00021354682881773334,
102
+ "min": 0.00021354682881773334,
103
+ "max": 0.000295284076571975,
104
+ "count": 12
105
+ },
106
+ "Huggy.Policy.LearningRate.sum": {
107
+ "value": 0.0006406404864532,
108
+ "min": 0.00044251640249454995,
109
+ "max": 0.00084421756859415,
110
+ "count": 12
111
+ },
112
+ "Huggy.Policy.Epsilon.mean": {
113
+ "value": 0.1711822666666667,
114
+ "min": 0.1711822666666667,
115
+ "max": 0.19842802500000004,
116
+ "count": 12
117
+ },
118
+ "Huggy.Policy.Epsilon.sum": {
119
+ "value": 0.5135468000000001,
120
+ "min": 0.34750545,
121
+ "max": 0.5814058499999999,
122
+ "count": 12
123
+ },
124
+ "Huggy.Policy.Beta.mean": {
125
+ "value": 0.003561995106666667,
126
+ "min": 0.003561995106666667,
127
+ "max": 0.0049215584475,
128
+ "count": 12
129
+ },
130
+ "Huggy.Policy.Beta.sum": {
131
+ "value": 0.01068598532,
132
+ "min": 0.007380521955000003,
133
+ "max": 0.014072151915,
134
+ "count": 12
135
+ },
136
+ "Huggy.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 12
141
+ },
142
+ "Huggy.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 12
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1714167266",
152
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
153
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=Huggy2 --no-graphics",
154
+ "mlagents_version": "1.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": "1714167974"
160
+ },
161
+ "total": 707.8142679609999,
162
+ "count": 1,
163
+ "self": 0.4645565099998521,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.05461420300002828,
167
+ "count": 1,
168
+ "self": 0.05461420300002828
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 707.295097248,
172
+ "count": 1,
173
+ "self": 1.229338077027478,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 3.0657460160000483,
177
+ "count": 1,
178
+ "self": 3.0657460160000483
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 702.6332968729723,
182
+ "count": 69336,
183
+ "self": 1.31836393800711,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 561.5986178859772,
187
+ "count": 69336,
188
+ "self": 464.3156182549809,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 96.47588595803245,
192
+ "count": 69336,
193
+ "self": 5.327319449028323,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 91.14856650900413,
197
+ "count": 67506,
198
+ "self": 91.14856650900413
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.8071136729638511,
204
+ "count": 69335,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 704.8895551749906,
209
+ "count": 69335,
210
+ "is_parallel": true,
211
+ "self": 328.67008184099757,
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.0008809470000414876,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.00020420499993178964,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.000676742000109698,
227
+ "count": 2,
228
+ "is_parallel": true,
229
+ "self": 0.000676742000109698
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.029428448000089702,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.0003741300000683623,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.0002457870000398543,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.0002457870000398543
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.028067412999916996,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.028067412999916996
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.000741118000064489,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.0001928710001948275,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0005482469998696615,
259
+ "count": 2,
260
+ "is_parallel": true,
261
+ "self": 0.0005482469998696615
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 376.21947333399305,
271
+ "count": 69334,
272
+ "is_parallel": true,
273
+ "self": 11.604857663944586,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 24.28611157903481,
277
+ "count": 69334,
278
+ "is_parallel": true,
279
+ "self": 24.28611157903481
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 313.4180416690109,
283
+ "count": 69334,
284
+ "is_parallel": true,
285
+ "self": 313.4180416690109
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 26.91046242200275,
289
+ "count": 69334,
290
+ "is_parallel": true,
291
+ "self": 9.497006158012368,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 17.413456263990383,
295
+ "count": 138668,
296
+ "is_parallel": true,
297
+ "self": 17.413456263990383
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 139.716315048988,
311
+ "count": 69335,
312
+ "self": 1.9234566419544308,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 39.97038372403381,
316
+ "count": 69335,
317
+ "self": 39.525914113034105,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.44446961099970395,
321
+ "count": 3,
322
+ "self": 0.44446961099970395
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 97.82247468299977,
328
+ "count": 29,
329
+ "self": 77.86595698099893,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 19.956517702000838,
333
+ "count": 870,
334
+ "self": 19.956517702000838
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 1.45800004247576e-06,
344
+ "count": 1,
345
+ "self": 1.45800004247576e-06
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.3667148240001552,
349
+ "count": 1,
350
+ "self": 0.008716064000282131,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.3579987599998731,
354
+ "count": 1,
355
+ "self": 0.3579987599998731
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Huggy": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 199812,
6
+ "file_path": "results/Huggy2/Huggy/Huggy-199812.onnx",
7
+ "reward": 3.4417674974087746,
8
+ "creation_time": 1714167501.851207,
9
+ "auxillary_file_paths": [
10
+ "results/Huggy2/Huggy/Huggy-199812.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 399736,
15
+ "file_path": "results/Huggy2/Huggy/Huggy-399736.onnx",
16
+ "reward": 3.8206912952084697,
17
+ "creation_time": 1714167731.5894604,
18
+ "auxillary_file_paths": [
19
+ "results/Huggy2/Huggy/Huggy-399736.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 599828,
24
+ "file_path": "results/Huggy2/Huggy/Huggy-599828.onnx",
25
+ "reward": 4.00028882920742,
26
+ "creation_time": 1714167967.4759374,
27
+ "auxillary_file_paths": [
28
+ "results/Huggy2/Huggy/Huggy-599828.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 606071,
33
+ "file_path": "results/Huggy2/Huggy/Huggy-606071.onnx",
34
+ "reward": 3.8171471332766345,
35
+ "creation_time": 1714167973.8925679,
36
+ "auxillary_file_paths": [
37
+ "results/Huggy2/Huggy/Huggy-606071.pt"
38
+ ]
39
+ }
40
+ ],
41
+ "final_checkpoint": {
42
+ "steps": 606071,
43
+ "file_path": "results/Huggy2/Huggy.onnx",
44
+ "reward": 3.8171471332766345,
45
+ "creation_time": 1714167973.8925679,
46
+ "auxillary_file_paths": [
47
+ "results/Huggy2/Huggy/Huggy-606071.pt"
48
+ ]
49
+ }
50
+ },
51
+ "metadata": {
52
+ "stats_format_version": "0.3.0",
53
+ "mlagents_version": "1.1.0.dev0",
54
+ "torch_version": "2.2.1+cu121"
55
+ }
56
+ }