HuggingMachines commited on
Commit
77f0f6d
·
verified ·
1 Parent(s): 4d82dad

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SnowballTarget
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SnowballTarget
8
+ ---
9
+
10
+ # **ppo** Agent playing **SnowballTarget**
11
+ This is a trained model of a **ppo** agent playing **SnowballTarget**
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: HuggingMachines/ppo-SnowballTarget
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SnowballTarget.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82c6f936cde27368df1b4bf642ff365a77cecaf5a5a412df446412360d5e2f4
3
+ size 657877
SnowballTarget/SnowballTarget-2112.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beb6acd2bb572021af5d562b0a9ebab1b550db27463a2d4871ff33eb29b0c327
3
+ size 656971
SnowballTarget/SnowballTarget-2112.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a334a2683c5c1510f45fef3ed11cde51bb864ca8d2b7c6a637c0b2a12dd2046a
3
+ size 1308616
SnowballTarget/SnowballTarget-599952.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea186e19678af8a097fa3d7d7cc8e6b9996cf90cbadbffe32bd649b1ddbf8b12
3
+ size 657877
SnowballTarget/SnowballTarget-599952.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85c261b28412e1d2a21d353794d85e96d8ed2bb8ff1e166764260947daf5f9ba
3
+ size 3872655
SnowballTarget/SnowballTarget-649976.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e94f1af38c7062f08a4b65c25f9f070b5edf3998919e07058a416f2c3ccf906a
3
+ size 657877
SnowballTarget/SnowballTarget-649976.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c942eb12d91a64716bfb71d7bace48c556a3ab5380398610abd17b0a9bb97f26
3
+ size 3872655
SnowballTarget/SnowballTarget-699936.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9177217d2e7e7e6492600c8b8e4176586905b4ca8f86da159e29959c1478b38c
3
+ size 657877
SnowballTarget/SnowballTarget-699936.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9d7f748b2a1228d89ab20f0b6a79d31187384acb3624b7348072dff9a9ea3ae
3
+ size 3872655
SnowballTarget/SnowballTarget-700128.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82c6f936cde27368df1b4bf642ff365a77cecaf5a5a412df446412360d5e2f4
3
+ size 657877
SnowballTarget/SnowballTarget-700128.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17c0ce2beece4eafb41affad8eb458bea24b73948df7dd3cf356237bd6d3ef02
3
+ size 3872655
SnowballTarget/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a28f5dd8937bff42f3f3417b162d0a971f3cab1127bb33e57c06f1d6acdceed8
3
+ size 3871478
SnowballTarget/events.out.tfevents.1765049308.db65d0e7949e.4735.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80bdbf0e59cb244ef618d097c6692a01693cd694e8dd5e3f3f920a32e22bd672
3
+ size 14880
SnowballTarget/events.out.tfevents.1765049900.db65d0e7949e.7311.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ff22c9057b46735aad7ee0f996f26016f3c62e853859da6aab263af4992135
3
+ size 1113
SnowballTarget/events.out.tfevents.1765049964.db65d0e7949e.7630.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acf848a0e74ecb01e1e56197bea14d284e924650844cbcda362eef9ff56a4651
3
+ size 9381
SnowballTarget/events.out.tfevents.1765051356.db65d0e7949e.13602.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc5c7e2da3e645a5ecdb5c8e30a14ccad9e9e90ba988e5337e4ba09e262ee731
3
+ size 13443
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SnowballTarget": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 256, "buffer_size": 2048, "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": 50000, "network_settings": {"normalize": true, "hidden_units": 256, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "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": 4, "even_checkpoints": false, "max_steps": 700000, "time_horizon": 64, "summary_freq": 20000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/SnowballTarget/SnowballTarget", "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": "SnowballTarget1", "initialize_from": null, "load_model": false, "resume": true, "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
+ SnowballTarget:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 256
7
+ buffer_size: 2048
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: 50000
18
+ network_settings:
19
+ normalize: true
20
+ hidden_units: 256
21
+ num_layers: 2
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.99
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: 4
40
+ even_checkpoints: false
41
+ max_steps: 700000
42
+ time_horizon: 64
43
+ summary_freq: 20000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: ./training-envs-executables/linux/SnowballTarget/SnowballTarget
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: SnowballTarget1
70
+ initialize_from: null
71
+ load_model: false
72
+ resume: true
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,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
15
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
21
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
22
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
23
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
25
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
31
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
32
+ FMOD initialized on nosound output
33
+ Begin MonoManager ReloadAssembly
34
+ - Completed reload, in 0.097 seconds
35
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
39
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
40
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
41
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ UnloadTime: 0.756331 ms
46
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
47
+ requesting resize 84 x 84
48
+ Setting up 1 worker threads for Enlighten.
49
+ Memory Statistics:
50
+ [ALLOC_TEMP_TLS] TLS Allocator
51
+ StackAllocators :
52
+ [ALLOC_TEMP_MAIN]
53
+ Peak usage frame count: [8.0 KB-16.0 KB]: 8043 frames, [16.0 KB-32.0 KB]: 136 frames, [2.0 MB-4.0 MB]: 1 frames
54
+ Initial Block Size 4.0 MB
55
+ Current Block Size 4.0 MB
56
+ Peak Allocated Bytes 2.0 MB
57
+ Overflow Count 0
58
+ [ALLOC_TEMP_Loading.AsyncRead]
59
+ Initial Block Size 64.0 KB
60
+ Current Block Size 64.0 KB
61
+ Peak Allocated Bytes 198 B
62
+ Overflow Count 0
63
+ [ALLOC_TEMP_Loading.PreloadManager]
64
+ Initial Block Size 256.0 KB
65
+ Current Block Size 304.0 KB
66
+ Peak Allocated Bytes 228.9 KB
67
+ Overflow Count 4
68
+ [ALLOC_TEMP_Background Job.Worker 8]
69
+ Initial Block Size 32.0 KB
70
+ Current Block Size 32.0 KB
71
+ Peak Allocated Bytes 0 B
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Background Job.Worker 9]
74
+ Initial Block Size 32.0 KB
75
+ Current Block Size 32.0 KB
76
+ Peak Allocated Bytes 0 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Job.Worker 0]
79
+ Initial Block Size 256.0 KB
80
+ Current Block Size 256.0 KB
81
+ Peak Allocated Bytes 3.6 KB
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Background Job.Worker 10]
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 14]
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_Background Job.Worker 6]
94
+ Initial Block Size 32.0 KB
95
+ Current Block Size 32.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker]
104
+ Initial Block Size 64.0 KB
105
+ Current Block Size 64.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 15]
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 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper]
129
+ Initial Block Size 64.0 KB
130
+ Current Block Size 64.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Background Job.Worker 11]
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 3]
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 0]
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 4]
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_BatchDeleteObjects]
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_DEFAULT] Dual Thread Allocator
169
+ Peak main deferred allocation count 41
170
+ [ALLOC_BUCKET]
171
+ Large Block size 4.0 MB
172
+ Used Block count 1
173
+ Peak Allocated bytes 1.0 MB
174
+ [ALLOC_DEFAULT_MAIN]
175
+ Peak usage frame count: [4.0 MB-8.0 MB]: 8180 frames
176
+ Requested Block Size 16.0 MB
177
+ Peak Block count 1
178
+ Peak Allocated memory 8.0 MB
179
+ Peak Large allocation bytes 0 B
180
+ [ALLOC_DEFAULT_THREAD]
181
+ Peak usage frame count: [16.0 MB-32.0 MB]: 8180 frames
182
+ Requested Block Size 16.0 MB
183
+ Peak Block count 1
184
+ Peak Allocated memory 17.2 MB
185
+ Peak Large allocation bytes 16.0 MB
186
+ [ALLOC_TEMP_JOB_1_FRAME]
187
+ Initial Block Size 2.0 MB
188
+ Used Block Count 1
189
+ Overflow Count (too large) 0
190
+ Overflow Count (full) 0
191
+ [ALLOC_TEMP_JOB_2_FRAMES]
192
+ Initial Block Size 2.0 MB
193
+ Used Block Count 1
194
+ Overflow Count (too large) 0
195
+ Overflow Count (full) 0
196
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
197
+ Initial Block Size 2.0 MB
198
+ Used Block Count 2
199
+ Overflow Count (too large) 0
200
+ Overflow Count (full) 0
201
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
202
+ Initial Block Size 1.0 MB
203
+ Used Block Count 3
204
+ Overflow Count (too large) 0
205
+ Overflow Count (full) 0
206
+ [ALLOC_GFX] Dual Thread Allocator
207
+ Peak main deferred allocation count 0
208
+ [ALLOC_BUCKET]
209
+ Large Block size 4.0 MB
210
+ Used Block count 1
211
+ Peak Allocated bytes 1.0 MB
212
+ [ALLOC_GFX_MAIN]
213
+ Peak usage frame count: [32.0 KB-64.0 KB]: 8033 frames, [64.0 KB-128.0 KB]: 147 frames
214
+ Requested Block Size 16.0 MB
215
+ Peak Block count 1
216
+ Peak Allocated memory 66.4 KB
217
+ Peak Large allocation bytes 0 B
218
+ [ALLOC_GFX_THREAD]
219
+ Peak usage frame count: [32.0 KB-64.0 KB]: 8180 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 1
222
+ Peak Allocated memory 39.6 KB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
225
+ Peak main deferred allocation count 0
226
+ [ALLOC_BUCKET]
227
+ Large Block size 4.0 MB
228
+ Used Block count 1
229
+ Peak Allocated bytes 1.0 MB
230
+ [ALLOC_CACHEOBJECTS_MAIN]
231
+ Peak usage frame count: [0.5 MB-1.0 MB]: 8180 frames
232
+ Requested Block Size 4.0 MB
233
+ Peak Block count 1
234
+ Peak Allocated memory 0.6 MB
235
+ Peak Large allocation bytes 0 B
236
+ [ALLOC_CACHEOBJECTS_THREAD]
237
+ Peak usage frame count: [0.5 MB-1.0 MB]: 8179 frames, [2.0 MB-4.0 MB]: 1 frames
238
+ Requested Block Size 4.0 MB
239
+ Peak Block count 1
240
+ Peak Allocated memory 2.2 MB
241
+ Peak Large allocation bytes 0 B
242
+ [ALLOC_TYPETREE] Dual Thread Allocator
243
+ Peak main deferred allocation count 0
244
+ [ALLOC_BUCKET]
245
+ Large Block size 4.0 MB
246
+ Used Block count 1
247
+ Peak Allocated bytes 1.0 MB
248
+ [ALLOC_TYPETREE_MAIN]
249
+ Peak usage frame count: [0-1.0 KB]: 8180 frames
250
+ Requested Block Size 2.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 1.0 KB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_TYPETREE_THREAD]
255
+ Peak usage frame count: [1.0 KB-2.0 KB]: 8180 frames
256
+ Requested Block Size 2.0 MB
257
+ Peak Block count 1
258
+ Peak Allocated memory 1.7 KB
259
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 0.849920392036438,
6
+ "min": 0.8069454431533813,
7
+ "max": 0.8786962032318115,
8
+ "count": 15
9
+ },
10
+ "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 16828.423828125,
12
+ "min": 16193.92578125,
13
+ "max": 18016.787109375,
14
+ "count": 15
15
+ },
16
+ "SnowballTarget.Step.mean": {
17
+ "value": 699936.0,
18
+ "min": 419992.0,
19
+ "max": 699936.0,
20
+ "count": 15
21
+ },
22
+ "SnowballTarget.Step.sum": {
23
+ "value": 699936.0,
24
+ "min": 419992.0,
25
+ "max": 699936.0,
26
+ "count": 15
27
+ },
28
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 14.376312255859375,
30
+ "min": 13.69563102722168,
31
+ "max": 14.376312255859375,
32
+ "count": 15
33
+ },
34
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 5736.1484375,
36
+ "min": 5368.6875,
37
+ "max": 5807.10546875,
38
+ "count": 15
39
+ },
40
+ "SnowballTarget.Losses.PolicyLoss.mean": {
41
+ "value": 0.04974580502446905,
42
+ "min": 0.04285651367657313,
43
+ "max": 0.05344135037443333,
44
+ "count": 15
45
+ },
46
+ "SnowballTarget.Losses.PolicyLoss.sum": {
47
+ "value": 0.44771224522022146,
48
+ "min": 0.38570862308915815,
49
+ "max": 0.48528646325242636,
50
+ "count": 15
51
+ },
52
+ "SnowballTarget.Losses.ValueLoss.mean": {
53
+ "value": 0.16737105604261163,
54
+ "min": 0.1584306804256307,
55
+ "max": 0.2147602600355943,
56
+ "count": 15
57
+ },
58
+ "SnowballTarget.Losses.ValueLoss.sum": {
59
+ "value": 1.5063395043835046,
60
+ "min": 1.425876123830676,
61
+ "max": 1.9328423403203487,
62
+ "count": 15
63
+ },
64
+ "SnowballTarget.Policy.LearningRate.mean": {
65
+ "value": 4.056098647999997e-06,
66
+ "min": 4.056098647999997e-06,
67
+ "max": 0.00012379891587657144,
68
+ "count": 15
69
+ },
70
+ "SnowballTarget.Policy.LearningRate.sum": {
71
+ "value": 3.650488783199997e-05,
72
+ "min": 3.650488783199997e-05,
73
+ "max": 0.001114190242889143,
74
+ "count": 15
75
+ },
76
+ "SnowballTarget.Policy.Epsilon.mean": {
77
+ "value": 0.101352,
78
+ "min": 0.101352,
79
+ "max": 0.14126628571428573,
80
+ "count": 15
81
+ },
82
+ "SnowballTarget.Policy.Epsilon.sum": {
83
+ "value": 0.912168,
84
+ "min": 0.912168,
85
+ "max": 1.2713965714285715,
86
+ "count": 15
87
+ },
88
+ "SnowballTarget.Policy.Beta.mean": {
89
+ "value": 7.746479999999995e-05,
90
+ "min": 7.746479999999995e-05,
91
+ "max": 0.002069187657142857,
92
+ "count": 15
93
+ },
94
+ "SnowballTarget.Policy.Beta.sum": {
95
+ "value": 0.0006971831999999995,
96
+ "min": 0.0006971831999999995,
97
+ "max": 0.018622688914285715,
98
+ "count": 15
99
+ },
100
+ "SnowballTarget.Environment.EpisodeLength.mean": {
101
+ "value": 199.0,
102
+ "min": 199.0,
103
+ "max": 199.0,
104
+ "count": 15
105
+ },
106
+ "SnowballTarget.Environment.EpisodeLength.sum": {
107
+ "value": 19701.0,
108
+ "min": 19701.0,
109
+ "max": 21890.0,
110
+ "count": 15
111
+ },
112
+ "SnowballTarget.Environment.CumulativeReward.mean": {
113
+ "value": 28.2020202020202,
114
+ "min": 26.694736842105264,
115
+ "max": 28.2020202020202,
116
+ "count": 15
117
+ },
118
+ "SnowballTarget.Environment.CumulativeReward.sum": {
119
+ "value": 2792.0,
120
+ "min": 2536.0,
121
+ "max": 2982.0,
122
+ "count": 15
123
+ },
124
+ "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
+ "value": 28.2020202020202,
126
+ "min": 26.694736842105264,
127
+ "max": 28.2020202020202,
128
+ "count": 15
129
+ },
130
+ "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
+ "value": 2792.0,
132
+ "min": 2536.0,
133
+ "max": 2982.0,
134
+ "count": 15
135
+ },
136
+ "SnowballTarget.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 15
141
+ },
142
+ "SnowballTarget.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 15
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1765051355",
152
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
153
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics --resume",
154
+ "mlagents_version": "1.2.0.dev0",
155
+ "mlagents_envs_version": "1.2.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "2.8.0+cu128",
158
+ "numpy_version": "1.23.5",
159
+ "end_time_seconds": "1765052166"
160
+ },
161
+ "total": 811.095951625,
162
+ "count": 1,
163
+ "self": 0.9339186759998483,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.02745952400027818,
167
+ "count": 1,
168
+ "self": 0.02745952400027818
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 810.1345734249999,
172
+ "count": 1,
173
+ "self": 0.7897105160268438,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.8735850279999795,
177
+ "count": 1,
178
+ "self": 2.8735850279999795
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 806.2926777669727,
182
+ "count": 27264,
183
+ "self": 0.7776902450095804,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 614.5986771189073,
187
+ "count": 27264,
188
+ "self": 470.6666514869321,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 143.42557077898073,
192
+ "count": 27264,
193
+ "self": 2.4565840349691825,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 140.96898674401154,
197
+ "count": 27264,
198
+ "self": 140.96898674401154
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.5064548529944659,
204
+ "count": 27264,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 806.6488648819268,
209
+ "count": 27264,
210
+ "is_parallel": true,
211
+ "self": 395.7431057329668,
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.002360758000122587,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.0006580539993592538,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0017027040007633332,
227
+ "count": 10,
228
+ "is_parallel": true,
229
+ "self": 0.0017027040007633332
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.086901601000136,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.0006693960003758548,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.000463283000044612,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.000463283000044612
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.0795213619999231,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.0795213619999231
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.006247559999792429,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.0034369569993941695,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0028106030003982596,
259
+ "count": 10,
260
+ "is_parallel": true,
261
+ "self": 0.0028106030003982596
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 410.90575914896,
271
+ "count": 27263,
272
+ "is_parallel": true,
273
+ "self": 18.421328414990967,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 9.948173833980036,
277
+ "count": 27263,
278
+ "is_parallel": true,
279
+ "self": 9.948173833980036
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 316.5323121510296,
283
+ "count": 27263,
284
+ "is_parallel": true,
285
+ "self": 316.5323121510296
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 66.00394474895938,
289
+ "count": 27263,
290
+ "is_parallel": true,
291
+ "self": 11.638041289069406,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 54.36590345988998,
295
+ "count": 272630,
296
+ "is_parallel": true,
297
+ "self": 54.36590345988998
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 190.91631040305583,
311
+ "count": 27264,
312
+ "self": 1.0692236440149827,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 70.5709728070392,
316
+ "count": 27264,
317
+ "self": 69.70160377103912,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.8693690360000801,
321
+ "count": 6,
322
+ "self": 0.8693690360000801
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 119.27611395200165,
328
+ "count": 136,
329
+ "self": 65.56878470301626,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 53.70732924898539,
333
+ "count": 3264,
334
+ "self": 53.70732924898539
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 1.2880000213044696e-06,
344
+ "count": 1,
345
+ "self": 1.2880000213044696e-06
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.17859882600032506,
349
+ "count": 1,
350
+ "self": 0.0016665440007272991,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.17693228199959776,
354
+ "count": 1,
355
+ "self": 0.17693228199959776
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SnowballTarget": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 599952,
6
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-599952.onnx",
7
+ "reward": 28.363636363636363,
8
+ "creation_time": 1765051897.2577991,
9
+ "auxillary_file_paths": [
10
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-599952.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 649976,
15
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-649976.onnx",
16
+ "reward": 27.90909090909091,
17
+ "creation_time": 1765052030.8418453,
18
+ "auxillary_file_paths": [
19
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-649976.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 699936,
24
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-699936.onnx",
25
+ "reward": 28.727272727272727,
26
+ "creation_time": 1765052165.5967824,
27
+ "auxillary_file_paths": [
28
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-699936.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 700128,
33
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-700128.onnx",
34
+ "reward": 28.727272727272727,
35
+ "creation_time": 1765052165.8229582,
36
+ "auxillary_file_paths": [
37
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-700128.pt"
38
+ ]
39
+ }
40
+ ],
41
+ "final_checkpoint": {
42
+ "steps": 700128,
43
+ "file_path": "results/SnowballTarget1/SnowballTarget.onnx",
44
+ "reward": 28.727272727272727,
45
+ "creation_time": 1765052165.8229582,
46
+ "auxillary_file_paths": [
47
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-700128.pt"
48
+ ]
49
+ }
50
+ },
51
+ "metadata": {
52
+ "stats_format_version": "0.3.0",
53
+ "mlagents_version": "1.2.0.dev0",
54
+ "torch_version": "2.8.0+cu128"
55
+ }
56
+ }