juanmi1234 commited on
Commit
1e0e804
1 Parent(s): 09dc9f7

First Push

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SnowballTarget
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **SnowballTarget**
13
+ This is a trained model of a **ppo** agent playing **SnowballTarget** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SnowballTarget
28
+ 2. Step 1: Write your model_id: juanmi1234/ppo-SnowballTarget
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SnowballTarget.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd1eaa48bfd653df40bb64cfd8092f47655d382582fd543caa10490d039fe64c
3
+ size 908634
SnowballTarget/SnowballTarget-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82ccf014dab0cf2b0d6a34082f5247d68f34bff877e7db37519358004a0a4ee9
3
+ size 908634
SnowballTarget/SnowballTarget-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d22d2723d2a11d3d09aa646d7fe3908ea24d90e03bf9fe653f57915041b6d129
3
+ size 2615722
SnowballTarget/SnowballTarget-149984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fd442ef6fddd98b0aad6ca5784df6978e218ff619fbec8f8e06634c569a7709
3
+ size 908634
SnowballTarget/SnowballTarget-149984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d35b15df08d42453a774b78d772349cec9a43775789f0456cfd6bd40ac2744f7
3
+ size 6234146
SnowballTarget/SnowballTarget-199984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd1eaa48bfd653df40bb64cfd8092f47655d382582fd543caa10490d039fe64c
3
+ size 908634
SnowballTarget/SnowballTarget-199984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dac4f82ed2b3f8a7cf61aab4a9ac276283a3e0ca5778ad95ba4a351462d2ad3
3
+ size 6234146
SnowballTarget/SnowballTarget-200112.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd1eaa48bfd653df40bb64cfd8092f47655d382582fd543caa10490d039fe64c
3
+ size 908634
SnowballTarget/SnowballTarget-200112.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de3c019d7ada9cd0e8b8d8bb0ce929025ef9f049110b56ff7e45d781dea79d24
3
+ size 6234146
SnowballTarget/SnowballTarget-49936.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86e8a71bfb2502a14bcbddce7ae032668ecefd3c1d819adf4597ade6ee33bcd3
3
+ size 908634
SnowballTarget/SnowballTarget-49936.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48f291444912e4a636825745b32a1e32725672d56e73b644936446167285b041
3
+ size 6234146
SnowballTarget/SnowballTarget-99960.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:160a022f2e287ca4799b3f496093f954e281e070c7916e5ecdf4eb29bdba21e5
3
+ size 908634
SnowballTarget/SnowballTarget-99960.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a5b03a7b8273a22de24c5134aab4335bfa5dc9db4a565fd60188cc2b564e1e
3
+ size 6234146
SnowballTarget/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de3c019d7ada9cd0e8b8d8bb0ce929025ef9f049110b56ff7e45d781dea79d24
3
+ size 6234146
SnowballTarget/events.out.tfevents.1676946842.9ee68a4224e4.4837.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20b52e011b3b52308d849f200c27bca312c5e5e523da616270bf5387a220c446
3
+ size 1330
SnowballTarget/events.out.tfevents.1676946931.9ee68a4224e4.5300.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c6d823b89e137ff36ef5c1d51e05c1f5078ef5e562f64a3ecedb1cd63579d32
3
+ size 39132
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SnowballTarget": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "network_settings": {"normalize": false, "hidden_units": 256, "num_layers": 3, "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}}, "curiosity": {"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}, "learning_rate": 0.0003, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 10, "checkpoint_interval": 50000, "max_steps": 200000, "time_horizon": 64, "summary_freq": 10000, "threaded": true, "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, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "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,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SnowballTarget:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 128
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
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 256
19
+ num_layers: 3
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.99
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ curiosity:
37
+ gamma: 0.99
38
+ strength: 1.0
39
+ network_settings:
40
+ normalize: false
41
+ hidden_units: 128
42
+ num_layers: 2
43
+ vis_encode_type: simple
44
+ memory: null
45
+ goal_conditioning_type: hyper
46
+ deterministic: false
47
+ learning_rate: 0.0003
48
+ encoding_size: null
49
+ init_path: null
50
+ keep_checkpoints: 10
51
+ checkpoint_interval: 50000
52
+ max_steps: 200000
53
+ time_horizon: 64
54
+ summary_freq: 10000
55
+ threaded: true
56
+ self_play: null
57
+ behavioral_cloning: null
58
+ env_settings:
59
+ env_path: ./training-envs-executables/linux/SnowballTarget/SnowballTarget
60
+ env_args: null
61
+ base_port: 5005
62
+ num_envs: 1
63
+ num_areas: 1
64
+ seed: -1
65
+ max_lifetime_restarts: 10
66
+ restarts_rate_limit_n: 1
67
+ restarts_rate_limit_period_s: 60
68
+ engine_settings:
69
+ width: 84
70
+ height: 84
71
+ quality_level: 5
72
+ time_scale: 20
73
+ target_frame_rate: -1
74
+ capture_frame_rate: 60
75
+ no_graphics: true
76
+ environment_parameters: null
77
+ checkpoint_settings:
78
+ run_id: SnowballTarget1
79
+ initialize_from: null
80
+ load_model: false
81
+ resume: true
82
+ force: false
83
+ train_model: false
84
+ inference: false
85
+ results_dir: results
86
+ torch_settings:
87
+ device: null
88
+ 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:767:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
15
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2642:(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:767:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
25
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2642:(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.079 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: 1.001188 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]: 5371 frames, [16.0 KB-32.0 KB]: 91 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 36
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]: 5463 frames
176
+ Requested Block Size 16.0 MB
177
+ Peak Block count 1
178
+ Peak Allocated memory 6.5 MB
179
+ Peak Large allocation bytes 0 B
180
+ [ALLOC_DEFAULT_THREAD]
181
+ Peak usage frame count: [16.0 MB-32.0 MB]: 5463 frames
182
+ Requested Block Size 16.0 MB
183
+ Peak Block count 1
184
+ Peak Allocated memory 17.8 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]: 5352 frames, [64.0 KB-128.0 KB]: 111 frames
214
+ Requested Block Size 16.0 MB
215
+ Peak Block count 1
216
+ Peak Allocated memory 65.8 KB
217
+ Peak Large allocation bytes 0 B
218
+ [ALLOC_GFX_THREAD]
219
+ Peak usage frame count: [32.0 KB-64.0 KB]: 5463 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]: 5463 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]: 5462 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]: 5463 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]: 5463 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,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 1.135769009590149,
6
+ "min": 1.135769009590149,
7
+ "max": 2.8784782886505127,
8
+ "count": 20
9
+ },
10
+ "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 10894.296875,
12
+ "min": 10894.296875,
13
+ "max": 29636.8125,
14
+ "count": 20
15
+ },
16
+ "SnowballTarget.Step.mean": {
17
+ "value": 199984.0,
18
+ "min": 9952.0,
19
+ "max": 199984.0,
20
+ "count": 20
21
+ },
22
+ "SnowballTarget.Step.sum": {
23
+ "value": 199984.0,
24
+ "min": 9952.0,
25
+ "max": 199984.0,
26
+ "count": 20
27
+ },
28
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 12.664073944091797,
30
+ "min": 0.3541784882545471,
31
+ "max": 12.685174942016602,
32
+ "count": 20
33
+ },
34
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 2469.494384765625,
36
+ "min": 68.71062469482422,
37
+ "max": 2587.775634765625,
38
+ "count": 20
39
+ },
40
+ "SnowballTarget.Policy.CuriosityValueEstimate.mean": {
41
+ "value": 4.052605628967285,
42
+ "min": 1.0540865659713745,
43
+ "max": 5.8428544998168945,
44
+ "count": 20
45
+ },
46
+ "SnowballTarget.Policy.CuriosityValueEstimate.sum": {
47
+ "value": 790.258056640625,
48
+ "min": 204.4927978515625,
49
+ "max": 1183.063232421875,
50
+ "count": 20
51
+ },
52
+ "SnowballTarget.Environment.EpisodeLength.mean": {
53
+ "value": 199.0,
54
+ "min": 199.0,
55
+ "max": 199.0,
56
+ "count": 20
57
+ },
58
+ "SnowballTarget.Environment.EpisodeLength.sum": {
59
+ "value": 10945.0,
60
+ "min": 8756.0,
61
+ "max": 10945.0,
62
+ "count": 20
63
+ },
64
+ "SnowballTarget.Losses.PolicyLoss.mean": {
65
+ "value": 0.06248386327505988,
66
+ "min": 0.061101842783482775,
67
+ "max": 0.0774184621934432,
68
+ "count": 20
69
+ },
70
+ "SnowballTarget.Losses.PolicyLoss.sum": {
71
+ "value": 0.2499354531002395,
72
+ "min": 0.2499354531002395,
73
+ "max": 0.38709231096721597,
74
+ "count": 20
75
+ },
76
+ "SnowballTarget.Losses.ValueLoss.mean": {
77
+ "value": 0.11595381997233511,
78
+ "min": 0.10809940307894174,
79
+ "max": 0.18047682230963424,
80
+ "count": 20
81
+ },
82
+ "SnowballTarget.Losses.ValueLoss.sum": {
83
+ "value": 0.46381527988934046,
84
+ "min": 0.43239761231576695,
85
+ "max": 0.9023841115481712,
86
+ "count": 20
87
+ },
88
+ "SnowballTarget.Policy.LearningRate.mean": {
89
+ "value": 8.082097306000005e-06,
90
+ "min": 8.082097306000005e-06,
91
+ "max": 0.000291882002706,
92
+ "count": 20
93
+ },
94
+ "SnowballTarget.Policy.LearningRate.sum": {
95
+ "value": 3.232838922400002e-05,
96
+ "min": 3.232838922400002e-05,
97
+ "max": 0.00138516003828,
98
+ "count": 20
99
+ },
100
+ "SnowballTarget.Policy.Epsilon.mean": {
101
+ "value": 0.10269400000000001,
102
+ "min": 0.10269400000000001,
103
+ "max": 0.19729400000000002,
104
+ "count": 20
105
+ },
106
+ "SnowballTarget.Policy.Epsilon.sum": {
107
+ "value": 0.41077600000000003,
108
+ "min": 0.41077600000000003,
109
+ "max": 0.96172,
110
+ "count": 20
111
+ },
112
+ "SnowballTarget.Policy.Beta.mean": {
113
+ "value": 0.0001444306000000001,
114
+ "min": 0.0001444306000000001,
115
+ "max": 0.0048649706,
116
+ "count": 20
117
+ },
118
+ "SnowballTarget.Policy.Beta.sum": {
119
+ "value": 0.0005777224000000004,
120
+ "min": 0.0005777224000000004,
121
+ "max": 0.023089828,
122
+ "count": 20
123
+ },
124
+ "SnowballTarget.Losses.CuriosityForwardLoss.mean": {
125
+ "value": 0.03919584494011075,
126
+ "min": 0.039058907432299034,
127
+ "max": 0.12604313444428364,
128
+ "count": 20
129
+ },
130
+ "SnowballTarget.Losses.CuriosityForwardLoss.sum": {
131
+ "value": 0.156783379760443,
132
+ "min": 0.156783379760443,
133
+ "max": 0.5041725377771346,
134
+ "count": 20
135
+ },
136
+ "SnowballTarget.Losses.CuriosityInverseLoss.mean": {
137
+ "value": 1.01477538867324,
138
+ "min": 1.01477538867324,
139
+ "max": 2.77851834958967,
140
+ "count": 20
141
+ },
142
+ "SnowballTarget.Losses.CuriosityInverseLoss.sum": {
143
+ "value": 4.05910155469296,
144
+ "min": 4.05910155469296,
145
+ "max": 12.961038739073508,
146
+ "count": 20
147
+ },
148
+ "SnowballTarget.Environment.CumulativeReward.mean": {
149
+ "value": 24.318181818181817,
150
+ "min": 3.227272727272727,
151
+ "max": 25.10909090909091,
152
+ "count": 20
153
+ },
154
+ "SnowballTarget.Environment.CumulativeReward.sum": {
155
+ "value": 1070.0,
156
+ "min": 142.0,
157
+ "max": 1381.0,
158
+ "count": 20
159
+ },
160
+ "SnowballTarget.Policy.ExtrinsicReward.mean": {
161
+ "value": 24.318181818181817,
162
+ "min": 3.227272727272727,
163
+ "max": 25.10909090909091,
164
+ "count": 20
165
+ },
166
+ "SnowballTarget.Policy.ExtrinsicReward.sum": {
167
+ "value": 1070.0,
168
+ "min": 142.0,
169
+ "max": 1381.0,
170
+ "count": 20
171
+ },
172
+ "SnowballTarget.Policy.CuriosityReward.mean": {
173
+ "value": 8.034600467505781,
174
+ "min": 8.030148839137771,
175
+ "max": 14.011099682070991,
176
+ "count": 20
177
+ },
178
+ "SnowballTarget.Policy.CuriosityReward.sum": {
179
+ "value": 353.5224205702543,
180
+ "min": 353.5224205702543,
181
+ "max": 770.6104825139046,
182
+ "count": 20
183
+ },
184
+ "SnowballTarget.IsTraining.mean": {
185
+ "value": 1.0,
186
+ "min": 1.0,
187
+ "max": 1.0,
188
+ "count": 20
189
+ },
190
+ "SnowballTarget.IsTraining.sum": {
191
+ "value": 1.0,
192
+ "min": 1.0,
193
+ "max": 1.0,
194
+ "count": 20
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1676946928",
200
+ "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]",
201
+ "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",
202
+ "mlagents_version": "0.29.0.dev0",
203
+ "mlagents_envs_version": "0.29.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.8.1+cu102",
206
+ "numpy_version": "1.21.6",
207
+ "end_time_seconds": "1676947457"
208
+ },
209
+ "total": 528.173713701,
210
+ "count": 1,
211
+ "self": 0.42901845300002606,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.12416311700008009,
215
+ "count": 1,
216
+ "self": 0.12416311700008009
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 527.6205321309999,
220
+ "count": 1,
221
+ "self": 0.5686289090074297,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 6.446365670999967,
225
+ "count": 1,
226
+ "self": 6.446365670999967
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 520.4695639519923,
230
+ "count": 18208,
231
+ "self": 0.27930198599756295,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 520.1902619659948,
235
+ "count": 18208,
236
+ "self": 392.8268407440012,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 127.07857685399722,
240
+ "count": 18208,
241
+ "self": 1.4649982260236811,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 125.61357862797354,
245
+ "count": 18208,
246
+ "self": 28.85093576395957,
247
+ "children": {
248
+ "TorchPolicy.sample_actions": {
249
+ "total": 96.76264286401397,
250
+ "count": 18208,
251
+ "self": 96.76264286401397
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "workers": {
258
+ "total": 0.2848443679963566,
259
+ "count": 18208,
260
+ "self": 0.0,
261
+ "children": {
262
+ "worker_root": {
263
+ "total": 525.9247541860136,
264
+ "count": 18208,
265
+ "is_parallel": true,
266
+ "self": 287.4166922420152,
267
+ "children": {
268
+ "run_training.setup": {
269
+ "total": 0.0,
270
+ "count": 0,
271
+ "is_parallel": true,
272
+ "self": 0.0,
273
+ "children": {
274
+ "steps_from_proto": {
275
+ "total": 0.0020066490001227066,
276
+ "count": 1,
277
+ "is_parallel": true,
278
+ "self": 0.000717207999969105,
279
+ "children": {
280
+ "_process_rank_one_or_two_observation": {
281
+ "total": 0.0012894410001536016,
282
+ "count": 10,
283
+ "is_parallel": true,
284
+ "self": 0.0012894410001536016
285
+ }
286
+ }
287
+ },
288
+ "UnityEnvironment.step": {
289
+ "total": 0.09886718400002792,
290
+ "count": 1,
291
+ "is_parallel": true,
292
+ "self": 0.0005645690002893389,
293
+ "children": {
294
+ "UnityEnvironment._generate_step_input": {
295
+ "total": 0.00042883299988716317,
296
+ "count": 1,
297
+ "is_parallel": true,
298
+ "self": 0.00042883299988716317
299
+ },
300
+ "communicator.exchange": {
301
+ "total": 0.09615082599998459,
302
+ "count": 1,
303
+ "is_parallel": true,
304
+ "self": 0.09615082599998459
305
+ },
306
+ "steps_from_proto": {
307
+ "total": 0.0017229559998668265,
308
+ "count": 1,
309
+ "is_parallel": true,
310
+ "self": 0.0003953689995341847,
311
+ "children": {
312
+ "_process_rank_one_or_two_observation": {
313
+ "total": 0.0013275870003326418,
314
+ "count": 10,
315
+ "is_parallel": true,
316
+ "self": 0.0013275870003326418
317
+ }
318
+ }
319
+ }
320
+ }
321
+ }
322
+ }
323
+ },
324
+ "UnityEnvironment.step": {
325
+ "total": 238.50806194399843,
326
+ "count": 18207,
327
+ "is_parallel": true,
328
+ "self": 9.533214596037169,
329
+ "children": {
330
+ "UnityEnvironment._generate_step_input": {
331
+ "total": 5.235713805974683,
332
+ "count": 18207,
333
+ "is_parallel": true,
334
+ "self": 5.235713805974683
335
+ },
336
+ "communicator.exchange": {
337
+ "total": 188.98185473897593,
338
+ "count": 18207,
339
+ "is_parallel": true,
340
+ "self": 188.98185473897593
341
+ },
342
+ "steps_from_proto": {
343
+ "total": 34.75727880301065,
344
+ "count": 18207,
345
+ "is_parallel": true,
346
+ "self": 7.135874489064918,
347
+ "children": {
348
+ "_process_rank_one_or_two_observation": {
349
+ "total": 27.62140431394573,
350
+ "count": 182070,
351
+ "is_parallel": true,
352
+ "self": 27.62140431394573
353
+ }
354
+ }
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ },
366
+ "trainer_threads": {
367
+ "total": 0.00011979300006714766,
368
+ "count": 1,
369
+ "self": 0.00011979300006714766,
370
+ "children": {
371
+ "thread_root": {
372
+ "total": 0.0,
373
+ "count": 0,
374
+ "is_parallel": true,
375
+ "self": 0.0,
376
+ "children": {
377
+ "trainer_advance": {
378
+ "total": 517.6616413471111,
379
+ "count": 351357,
380
+ "is_parallel": true,
381
+ "self": 8.594925870150973,
382
+ "children": {
383
+ "process_trajectory": {
384
+ "total": 272.8575736959597,
385
+ "count": 351357,
386
+ "is_parallel": true,
387
+ "self": 271.36925947096006,
388
+ "children": {
389
+ "RLTrainer._checkpoint": {
390
+ "total": 1.4883142249996126,
391
+ "count": 4,
392
+ "is_parallel": true,
393
+ "self": 1.4883142249996126
394
+ }
395
+ }
396
+ },
397
+ "_update_policy": {
398
+ "total": 236.20914178100043,
399
+ "count": 90,
400
+ "is_parallel": true,
401
+ "self": 63.78904970597864,
402
+ "children": {
403
+ "TorchPPOOptimizer.update": {
404
+ "total": 172.42009207502178,
405
+ "count": 4581,
406
+ "is_parallel": true,
407
+ "self": 172.42009207502178
408
+ }
409
+ }
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ },
417
+ "TrainerController._save_models": {
418
+ "total": 0.13585380600011376,
419
+ "count": 1,
420
+ "self": 0.0015195300002233125,
421
+ "children": {
422
+ "RLTrainer._checkpoint": {
423
+ "total": 0.13433427599989045,
424
+ "count": 1,
425
+ "self": 0.13433427599989045
426
+ }
427
+ }
428
+ }
429
+ }
430
+ }
431
+ }
432
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.29.0.dev0",
5
+ "torch_version": "1.8.1+cu102"
6
+ },
7
+ "SnowballTarget": {
8
+ "checkpoints": [
9
+ {
10
+ "steps": 0,
11
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-0.onnx",
12
+ "reward": null,
13
+ "creation_time": 1676946845.8571415,
14
+ "auxillary_file_paths": [
15
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-0.pt"
16
+ ]
17
+ },
18
+ {
19
+ "steps": 49936,
20
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.onnx",
21
+ "reward": 10.727272727272727,
22
+ "creation_time": 1676947065.8396735,
23
+ "auxillary_file_paths": [
24
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.pt"
25
+ ]
26
+ },
27
+ {
28
+ "steps": 99960,
29
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.onnx",
30
+ "reward": 21.181818181818183,
31
+ "creation_time": 1676947195.5580304,
32
+ "auxillary_file_paths": [
33
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.pt"
34
+ ]
35
+ },
36
+ {
37
+ "steps": 149984,
38
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.onnx",
39
+ "reward": 23.272727272727273,
40
+ "creation_time": 1676947326.981833,
41
+ "auxillary_file_paths": [
42
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.pt"
43
+ ]
44
+ },
45
+ {
46
+ "steps": 199984,
47
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.onnx",
48
+ "reward": 24.545454545454547,
49
+ "creation_time": 1676947456.52747,
50
+ "auxillary_file_paths": [
51
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.pt"
52
+ ]
53
+ },
54
+ {
55
+ "steps": 200112,
56
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.onnx",
57
+ "reward": 24.545454545454547,
58
+ "creation_time": 1676947456.700328,
59
+ "auxillary_file_paths": [
60
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
61
+ ]
62
+ }
63
+ ],
64
+ "final_checkpoint": {
65
+ "steps": 200112,
66
+ "file_path": "results/SnowballTarget1/SnowballTarget.onnx",
67
+ "reward": 24.545454545454547,
68
+ "creation_time": 1676947456.700328,
69
+ "auxillary_file_paths": [
70
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
71
+ ]
72
+ }
73
+ }
74
+ }