PaulineJamin commited on
Commit
fe11482
·
1 Parent(s): cfd7488

First Push

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d057fdd5db88956850c54725383891edc0c44762010e1bb73c0054ae7cc5390
3
+ size 1418184
Pyramids/Pyramids-1499955.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d934f9a4984626f939286a781e674e1b7effccf4088726f1560b3e5ff83b033
3
+ size 1418184
Pyramids/Pyramids-1499955.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c01358e31d2a14bd49c697dadcca961d194558f718f5210da8830f626d6c6023
3
+ size 8650158
Pyramids/Pyramids-1999985.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b4a99e8c9dbb62b5b6e19b50e2c46f7002cea52ad6937893475efed30b85076
3
+ size 1418184
Pyramids/Pyramids-1999985.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5cad8f8722dc828c016ec5a0f36afa12016759b80f9afcd249c24bec7c0cbde
3
+ size 8650158
Pyramids/Pyramids-2499955.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74f6c195223bea33230d5134651faa90945cb2568b321e4708fd329c3493820
3
+ size 1418184
Pyramids/Pyramids-2499955.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7904dd3f16e51350e2e1f75e9d760e76bc5a06e42e11aedd230f11d3ef764094
3
+ size 8650158
Pyramids/Pyramids-2999891.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d057fdd5db88956850c54725383891edc0c44762010e1bb73c0054ae7cc5390
3
+ size 1418184
Pyramids/Pyramids-2999891.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4abc67a08c1440333b8f000be7a172c8ac459a2b8c84e9bf3e3acc8730e69865
3
+ size 8650158
Pyramids/Pyramids-3000019.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d057fdd5db88956850c54725383891edc0c44762010e1bb73c0054ae7cc5390
3
+ size 1418184
Pyramids/Pyramids-3000019.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0965e96aed6bcdcc687cd0817ce22df6fe0461e82245784599419cafbafadc79
3
+ size 8650158
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0965e96aed6bcdcc687cd0817ce22df6fe0461e82245784599419cafbafadc79
3
+ size 8650158
Pyramids/events.out.tfevents.1689529275.MBP-LVM7GQJWDL.52937.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a644a7b616f1411edb430181a3b22b7a7c008cd9ea661a5a53a017f0e06085f
3
+ size 904861
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - Pyramids
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-Pyramids
8
+ ---
9
+
10
+ # **ppo** Agent playing **Pyramids**
11
+ This is a trained model of a **ppo** agent playing **Pyramids**
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: PaulineJamin/ppo-Pyramids
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": {"Pyramids": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.01, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "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}}, "rnd": {"gamma": 0.99, "strength": 0.01, "network_settings": {"normalize": false, "hidden_units": 64, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0001, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 3000000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Pyramids/PyramidsTestPOPO", "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": "Pyramids Training", "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,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Pyramids:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 128
7
+ buffer_size: 2048
8
+ learning_rate: 0.0003
9
+ beta: 0.01
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: 500000
18
+ network_settings:
19
+ normalize: false
20
+ hidden_units: 512
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
+ rnd:
39
+ gamma: 0.99
40
+ strength: 0.01
41
+ network_settings:
42
+ normalize: false
43
+ hidden_units: 64
44
+ num_layers: 3
45
+ vis_encode_type: simple
46
+ memory: null
47
+ goal_conditioning_type: hyper
48
+ deterministic: false
49
+ learning_rate: 0.0001
50
+ encoding_size: null
51
+ init_path: null
52
+ keep_checkpoints: 5
53
+ even_checkpoints: false
54
+ max_steps: 3000000
55
+ time_horizon: 128
56
+ summary_freq: 30000
57
+ threaded: false
58
+ self_play: null
59
+ behavioral_cloning: null
60
+ env_settings:
61
+ env_path: ./training-envs-executables/linux/Pyramids/PyramidsTestPOPO
62
+ env_args: null
63
+ base_port: 5005
64
+ num_envs: 1
65
+ num_areas: 1
66
+ seed: -1
67
+ max_lifetime_restarts: 10
68
+ restarts_rate_limit_n: 1
69
+ restarts_rate_limit_period_s: 60
70
+ engine_settings:
71
+ width: 84
72
+ height: 84
73
+ quality_level: 5
74
+ time_scale: 20
75
+ target_frame_rate: -1
76
+ capture_frame_rate: 60
77
+ no_graphics: true
78
+ environment_parameters: null
79
+ checkpoint_settings:
80
+ run_id: Pyramids Training
81
+ initialize_from: null
82
+ load_model: false
83
+ resume: false
84
+ force: false
85
+ train_model: false
86
+ inference: false
87
+ results_dir: results
88
+ torch_settings:
89
+ device: null
90
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/paulinejamin/src/github/ml-agents/training-envs-executables/linux/Pyramids/PyramidsTestPOPO.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/paulinejamin/src/github/ml-agents/training-envs-executables/linux/Pyramids/PyramidsTestPOPO.app/Contents/MonoBleedingEdge/etc'
3
+ New input system (experimental) initialized
4
+ Initialize engine version: 2021.3.11f1 (0a5ca18544bf)
5
+ [Subsystems] Discovering subsystems at path /Users/paulinejamin/src/github/ml-agents/training-envs-executables/linux/Pyramids/PyramidsTestPOPO.app/Contents/Resources/Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.047 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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 Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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.330708 ms
46
+ Registered Communicator in Agent.
47
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
48
+ Thread 0x17113f000 may have been prematurely finalized
49
+ Setting up 4 worker threads for Enlighten.
50
+ Memory Statistics:
51
+ [ALLOC_TEMP_TLS] TLS Allocator
52
+ StackAllocators :
53
+ [ALLOC_TEMP_MAIN]
54
+ Peak usage frame count: [16.0 KB-32.0 KB]: 9465 frames, [32.0 KB-64.0 KB]: 32908 frames, [64.0 KB-128.0 KB]: 13891 frames, [2.0 MB-4.0 MB]: 1 frames
55
+ Initial Block Size 4.0 MB
56
+ Current Block Size 4.0 MB
57
+ Peak Allocated Bytes 2.1 MB
58
+ Overflow Count 0
59
+ [ALLOC_TEMP_Loading.AsyncRead]
60
+ Initial Block Size 64.0 KB
61
+ Current Block Size 64.0 KB
62
+ Peak Allocated Bytes 153 B
63
+ Overflow Count 0
64
+ [ALLOC_TEMP_Loading.PreloadManager]
65
+ Initial Block Size 256.0 KB
66
+ Current Block Size 288.0 KB
67
+ Peak Allocated Bytes 205.6 KB
68
+ Overflow Count 5
69
+ [ALLOC_TEMP_Background Job.Worker 8]
70
+ Initial Block Size 32.0 KB
71
+ Current Block Size 32.0 KB
72
+ Peak Allocated Bytes 0 B
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Job.Worker 6]
75
+ Initial Block Size 256.0 KB
76
+ Current Block Size 256.0 KB
77
+ Peak Allocated Bytes 0 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Job.Worker 0]
80
+ Initial Block Size 256.0 KB
81
+ Current Block Size 256.0 KB
82
+ Peak Allocated Bytes 0 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 10]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 9]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Job.Worker 5]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 14]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 6]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Job.Worker 4]
110
+ Initial Block Size 256.0 KB
111
+ Current Block Size 256.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Job.Worker 3]
115
+ Initial Block Size 256.0 KB
116
+ Current Block Size 256.0 KB
117
+ Peak Allocated Bytes 0.7 KB
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Background Job.Worker 12]
120
+ Initial Block Size 32.0 KB
121
+ Current Block Size 32.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_EnlightenWorker] x 4
125
+ Initial Block Size 64.0 KB
126
+ Current Block Size 64.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 15]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 1]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 2]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Background Job.Worker 7]
145
+ Initial Block Size 32.0 KB
146
+ Current Block Size 32.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
150
+ Initial Block Size 64.0 KB
151
+ Current Block Size 64.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 5]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 13]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_OSX HID Input]
165
+ Initial Block Size 64.0 KB
166
+ Current Block Size 64.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Job.Worker 1]
170
+ Initial Block Size 256.0 KB
171
+ Current Block Size 256.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Job.Worker 2]
175
+ Initial Block Size 256.0 KB
176
+ Current Block Size 256.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 3]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 11]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 0]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 4]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_BatchDeleteObjects]
200
+ Initial Block Size 64.0 KB
201
+ Current Block Size 64.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_DEFAULT] Dual Thread Allocator
205
+ Peak main deferred allocation count 9020
206
+ [ALLOC_BUCKET]
207
+ Large Block size 4.0 MB
208
+ Used Block count 1
209
+ Peak Allocated bytes 2.5 MB
210
+ [ALLOC_DEFAULT_MAIN]
211
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 56264 frames
212
+ Requested Block Size 16.0 MB
213
+ Peak Block count 3
214
+ Peak Allocated memory 28.2 MB
215
+ Peak Large allocation bytes 0 B
216
+ [ALLOC_DEFAULT_THREAD]
217
+ Peak usage frame count: [16.0 MB-32.0 MB]: 56265 frames
218
+ Requested Block Size 16.0 MB
219
+ Peak Block count 1
220
+ Peak Allocated memory 25.4 MB
221
+ Peak Large allocation bytes 16.0 MB
222
+ [ALLOC_TEMP_JOB_1_FRAME]
223
+ Initial Block Size 2.0 MB
224
+ Used Block Count 1
225
+ Overflow Count (too large) 0
226
+ Overflow Count (full) 0
227
+ [ALLOC_TEMP_JOB_2_FRAMES]
228
+ Initial Block Size 2.0 MB
229
+ Used Block Count 1
230
+ Overflow Count (too large) 0
231
+ Overflow Count (full) 0
232
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
233
+ Initial Block Size 2.0 MB
234
+ Used Block Count 2
235
+ Overflow Count (too large) 0
236
+ Overflow Count (full) 0
237
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
238
+ Initial Block Size 1.0 MB
239
+ Used Block Count 4
240
+ Overflow Count (too large) 0
241
+ Overflow Count (full) 0
242
+ [ALLOC_GFX] 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 2.5 MB
248
+ [ALLOC_GFX_MAIN]
249
+ Peak usage frame count: [32.0 KB-64.0 KB]: 56264 frames, [64.0 KB-128.0 KB]: 1 frames
250
+ Requested Block Size 16.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 65.6 KB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_GFX_THREAD]
255
+ Peak usage frame count: [64.0 KB-128.0 KB]: 56265 frames
256
+ Requested Block Size 16.0 MB
257
+ Peak Block count 1
258
+ Peak Allocated memory 67.2 KB
259
+ Peak Large allocation bytes 0 B
260
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
261
+ Peak main deferred allocation count 0
262
+ [ALLOC_BUCKET]
263
+ Large Block size 4.0 MB
264
+ Used Block count 1
265
+ Peak Allocated bytes 2.5 MB
266
+ [ALLOC_CACHEOBJECTS_MAIN]
267
+ Peak usage frame count: [1.0 MB-2.0 MB]: 56265 frames
268
+ Requested Block Size 4.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 1.5 MB
271
+ Peak Large allocation bytes 0 B
272
+ [ALLOC_CACHEOBJECTS_THREAD]
273
+ Peak usage frame count: [0.5 MB-1.0 MB]: 56264 frames, [2.0 MB-4.0 MB]: 1 frames
274
+ Requested Block Size 4.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 3.1 MB
277
+ Peak Large allocation bytes 0 B
278
+ [ALLOC_TYPETREE] Dual Thread Allocator
279
+ Peak main deferred allocation count 0
280
+ [ALLOC_BUCKET]
281
+ Large Block size 4.0 MB
282
+ Used Block count 1
283
+ Peak Allocated bytes 2.5 MB
284
+ [ALLOC_TYPETREE_MAIN]
285
+ Peak usage frame count: [0-1.0 KB]: 56265 frames
286
+ Requested Block Size 2.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 1.0 KB
289
+ Peak Large allocation bytes 0 B
290
+ [ALLOC_TYPETREE_THREAD]
291
+ Peak usage frame count: [1.0 KB-2.0 KB]: 56265 frames
292
+ Requested Block Size 2.0 MB
293
+ Peak Block count 1
294
+ Peak Allocated memory 1.7 KB
295
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 0.19370386004447937,
6
+ "min": 0.18803568184375763,
7
+ "max": 1.4444527626037598,
8
+ "count": 100
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 5777.02392578125,
12
+ "min": 5712.67041015625,
13
+ "max": 43818.91796875,
14
+ "count": 100
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 2999891.0,
18
+ "min": 29952.0,
19
+ "max": 2999891.0,
20
+ "count": 100
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 2999891.0,
24
+ "min": 29952.0,
25
+ "max": 2999891.0,
26
+ "count": 100
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.8262109756469727,
30
+ "min": -0.10095103085041046,
31
+ "max": 0.869915246963501,
32
+ "count": 100
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 247.03707885742188,
36
+ "min": -24.329198837280273,
37
+ "max": 268.8038024902344,
38
+ "count": 100
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": -0.005239895544946194,
42
+ "min": -0.015095616690814495,
43
+ "max": 0.34846031665802,
44
+ "count": 100
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": -1.5667287111282349,
48
+ "min": -4.272059440612793,
49
+ "max": 82.58509826660156,
50
+ "count": 100
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.068892511434526,
54
+ "min": 0.06352654159750923,
55
+ "max": 0.07279243515703322,
56
+ "count": 100
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.9644951600833641,
60
+ "min": 0.4947561948478554,
61
+ "max": 1.0875070937298574,
62
+ "count": 100
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.011831688377285553,
66
+ "min": 0.0001332679234055619,
67
+ "max": 0.014529815941609238,
68
+ "count": 100
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.16564363728199774,
72
+ "min": 0.0015969673625315746,
73
+ "max": 0.21794723912413858,
74
+ "count": 100
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 1.5691851912571466e-06,
78
+ "min": 1.5691851912571466e-06,
79
+ "max": 0.00029838354339596195,
80
+ "count": 100
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 2.1968592677600052e-05,
84
+ "min": 2.1968592677600052e-05,
85
+ "max": 0.004027539357486933,
86
+ "count": 100
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10052302857142859,
90
+ "min": 0.10052302857142859,
91
+ "max": 0.19946118095238097,
92
+ "count": 100
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4073224000000002,
96
+ "min": 1.3962282666666668,
97
+ "max": 2.842513066666667,
98
+ "count": 100
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 6.225055428571442e-05,
102
+ "min": 6.225055428571442e-05,
103
+ "max": 0.009946171977142856,
104
+ "count": 100
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.0008715077600000018,
108
+ "min": 0.0008715077600000018,
109
+ "max": 0.13426705536,
110
+ "count": 100
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.003944868687540293,
114
+ "min": 0.003691998543217778,
115
+ "max": 0.44908133149147034,
116
+ "count": 100
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.055228158831596375,
120
+ "min": 0.05168797820806503,
121
+ "max": 3.143569231033325,
122
+ "count": 100
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 229.90625,
126
+ "min": 217.45,
127
+ "max": 999.0,
128
+ "count": 100
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 29428.0,
132
+ "min": 15984.0,
133
+ "max": 32712.0,
134
+ "count": 100
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 1.7544624846195802,
138
+ "min": -1.0000000521540642,
139
+ "max": 1.7682585554463524,
140
+ "count": 100
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 224.57119803130627,
144
+ "min": -31.9980016797781,
145
+ "max": 247.55619776248932,
146
+ "count": 100
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 1.7544624846195802,
150
+ "min": -1.0000000521540642,
151
+ "max": 1.7682585554463524,
152
+ "count": 100
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 224.57119803130627,
156
+ "min": -31.9980016797781,
157
+ "max": 247.55619776248932,
158
+ "count": 100
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.009523362928746337,
162
+ "min": 0.00885371865338779,
163
+ "max": 9.346812790259719,
164
+ "count": 100
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 1.2189904548795312,
168
+ "min": 1.1271971895366732,
169
+ "max": 149.5490046441555,
170
+ "count": 100
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 100
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 100
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1689529274",
188
+ "python_version": "3.10.12 (main, Jun 20 2023, 19:43:52) [Clang 14.0.3 (clang-1403.0.22.14.1)]",
189
+ "command_line_arguments": "/Users/paulinejamin/src/github/ml-agents/3.10.12-env/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/PyramidsTestPOPO --run-id=Pyramids Training --no-graphics",
190
+ "mlagents_version": "0.31.0.dev0",
191
+ "mlagents_envs_version": "0.31.0.dev0",
192
+ "communication_protocol_version": "1.5.0",
193
+ "pytorch_version": "1.11.0",
194
+ "numpy_version": "1.21.2",
195
+ "end_time_seconds": "1689534153"
196
+ },
197
+ "total": 4879.499002459001,
198
+ "count": 1,
199
+ "self": 0.29380116700485814,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.03237841699592536,
203
+ "count": 1,
204
+ "self": 0.03237841699592536
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 4879.172822875,
208
+ "count": 1,
209
+ "self": 1.845093394658761,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 1.0404479579956387,
213
+ "count": 1,
214
+ "self": 1.0404479579956387
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 4876.254926188354,
218
+ "count": 193971,
219
+ "self": 1.7118469161287067,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 3949.4257073575645,
223
+ "count": 193971,
224
+ "self": 3835.3039303515106,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 112.9031962788722,
228
+ "count": 193971,
229
+ "self": 4.266633336308587,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 108.63656294256361,
233
+ "count": 187547,
234
+ "self": 108.63656294256361
235
+ }
236
+ }
237
+ },
238
+ "workers": {
239
+ "total": 1.2185807271816884,
240
+ "count": 193971,
241
+ "self": 0.0,
242
+ "children": {
243
+ "worker_root": {
244
+ "total": 4875.382557899538,
245
+ "count": 193971,
246
+ "is_parallel": true,
247
+ "self": 1162.2137913975093,
248
+ "children": {
249
+ "steps_from_proto": {
250
+ "total": 0.000775167005485855,
251
+ "count": 1,
252
+ "is_parallel": true,
253
+ "self": 0.00020616799884010106,
254
+ "children": {
255
+ "_process_rank_one_or_two_observation": {
256
+ "total": 0.000568999006645754,
257
+ "count": 8,
258
+ "is_parallel": true,
259
+ "self": 0.000568999006645754
260
+ }
261
+ }
262
+ },
263
+ "UnityEnvironment.step": {
264
+ "total": 3713.1679913350235,
265
+ "count": 193971,
266
+ "is_parallel": true,
267
+ "self": 11.660140020801919,
268
+ "children": {
269
+ "UnityEnvironment._generate_step_input": {
270
+ "total": 50.783711403011694,
271
+ "count": 193971,
272
+ "is_parallel": true,
273
+ "self": 50.783711403011694
274
+ },
275
+ "communicator.exchange": {
276
+ "total": 3560.6303461238567,
277
+ "count": 193971,
278
+ "is_parallel": true,
279
+ "self": 3560.6303461238567
280
+ },
281
+ "steps_from_proto": {
282
+ "total": 90.0937937873532,
283
+ "count": 193971,
284
+ "is_parallel": true,
285
+ "self": 17.373916272073984,
286
+ "children": {
287
+ "_process_rank_one_or_two_observation": {
288
+ "total": 72.71987751527922,
289
+ "count": 1551768,
290
+ "is_parallel": true,
291
+ "self": 72.71987751527922
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ }
299
+ }
300
+ }
301
+ }
302
+ },
303
+ "trainer_advance": {
304
+ "total": 925.1173719146609,
305
+ "count": 193971,
306
+ "self": 3.2082991171992035,
307
+ "children": {
308
+ "process_trajectory": {
309
+ "total": 132.62351628646866,
310
+ "count": 193971,
311
+ "self": 132.39089657747536,
312
+ "children": {
313
+ "RLTrainer._checkpoint": {
314
+ "total": 0.23261970899329754,
315
+ "count": 6,
316
+ "self": 0.23261970899329754
317
+ }
318
+ }
319
+ },
320
+ "_update_policy": {
321
+ "total": 789.285556510993,
322
+ "count": 1394,
323
+ "self": 400.43079945380305,
324
+ "children": {
325
+ "TorchPPOOptimizer.update": {
326
+ "total": 388.85475705719,
327
+ "count": 68322,
328
+ "self": 388.85475705719
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
334
+ }
335
+ },
336
+ "trainer_threads": {
337
+ "total": 3.749955794773996e-07,
338
+ "count": 1,
339
+ "self": 3.749955794773996e-07
340
+ },
341
+ "TrainerController._save_models": {
342
+ "total": 0.03235495899571106,
343
+ "count": 1,
344
+ "self": 0.00048674999561626464,
345
+ "children": {
346
+ "RLTrainer._checkpoint": {
347
+ "total": 0.031868209000094794,
348
+ "count": 1,
349
+ "self": 0.031868209000094794
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 1499955,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1499955.onnx",
7
+ "reward": 1.7789999395608902,
8
+ "creation_time": 1689531676.1936371,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-1499955.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 1999985,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1999985.onnx",
16
+ "reward": 1.7189999669790268,
17
+ "creation_time": 1689532501.678098,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-1999985.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 2499955,
24
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-2499955.onnx",
25
+ "reward": 1.7422222130828433,
26
+ "creation_time": 1689533326.382209,
27
+ "auxillary_file_paths": [
28
+ "results/Pyramids Training/Pyramids/Pyramids-2499955.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 2999891,
33
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-2999891.onnx",
34
+ "reward": 1.7365714183875494,
35
+ "creation_time": 1689534153.533422,
36
+ "auxillary_file_paths": [
37
+ "results/Pyramids Training/Pyramids/Pyramids-2999891.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 3000019,
42
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-3000019.onnx",
43
+ "reward": 1.7365714183875494,
44
+ "creation_time": 1689534153.571635,
45
+ "auxillary_file_paths": [
46
+ "results/Pyramids Training/Pyramids/Pyramids-3000019.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "final_checkpoint": {
51
+ "steps": 3000019,
52
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
53
+ "reward": 1.7365714183875494,
54
+ "creation_time": 1689534153.571635,
55
+ "auxillary_file_paths": [
56
+ "results/Pyramids Training/Pyramids/Pyramids-3000019.pt"
57
+ ]
58
+ }
59
+ },
60
+ "metadata": {
61
+ "stats_format_version": "0.3.0",
62
+ "mlagents_version": "0.31.0.dev0",
63
+ "torch_version": "1.11.0"
64
+ }
65
+ }