johnhudzinatr commited on
Commit
4065805
1 Parent(s): eeb4410

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:995077a7fd312e2de33f599ecb88d03d1a49bd55e10220c39f2af608f0881dcd
3
+ size 1417437
Pyramids/Pyramids-1499923.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:472704b86ae071083e9023af298c0ae299f9f81a4455417aa32d6bc047002bfe
3
+ size 1417437
Pyramids/Pyramids-1499923.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97905f5918d4754623cf3d9f2a0940c97dab131171664aeb7bc9096a2bd337a9
3
+ size 8652382
Pyramids/Pyramids-1999918.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb462915e1493f4bee7489bc7af145bdca03257ecfe0d1b8d7fc5729f6051d81
3
+ size 1417437
Pyramids/Pyramids-1999918.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf2a584afab9c000584e99c52a39324b5668870885ec10736ebd861fdbd06789
3
+ size 8652382
Pyramids/Pyramids-2499893.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:995077a7fd312e2de33f599ecb88d03d1a49bd55e10220c39f2af608f0881dcd
3
+ size 1417437
Pyramids/Pyramids-2499893.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a402c7663d5f1cb76c709afee40b05fe148a8d6f16d5a895fe8f1a7475841235
3
+ size 8652382
Pyramids/Pyramids-2499982.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:995077a7fd312e2de33f599ecb88d03d1a49bd55e10220c39f2af608f0881dcd
3
+ size 1417437
Pyramids/Pyramids-2499982.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a30f6b0bc5d78a9989ca06ee9e32950ea5d1faefca97ba28fc1deea43f1b27c
3
+ size 8652382
Pyramids/Pyramids-2500084.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:995077a7fd312e2de33f599ecb88d03d1a49bd55e10220c39f2af608f0881dcd
3
+ size 1417437
Pyramids/Pyramids-2500084.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a724470213e7e547d4f7388db6c0282d4edfec25e75af6b5a94d0260d55039a1
3
+ size 8652382
Pyramids/Pyramids-2752262.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba7ffc158ddaa15ac4f77041a132721cf52144ca23490cc8a634d2b96e087dc5
3
+ size 364672
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a724470213e7e547d4f7388db6c0282d4edfec25e75af6b5a94d0260d55039a1
3
+ size 8652382
Pyramids/events.out.tfevents.1674334527.57193e13fdc5.9307.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:666b1aec3ad46309c55a80e8a45e601c0273ee6303142a2c8c716affa4e56cc1
3
+ size 775227
Pyramids/events.out.tfevents.1674341510.57193e13fdc5.37497.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c767c80fe9dfaf6269e99d1e900f7d70dee273680111bea2fd4d7e82a1c0a03a
3
+ size 1326
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-Pyramids
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **Pyramids**
13
+ This is a trained model of a **ppo** agent playing **Pyramids** 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-Pyramids
28
+ 2. Step 1: Write your model_id: johnhudzinatr/ppo-PyramidsRND
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
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, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "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, "checkpoint_interval": 500000, "max_steps": 2500000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Pyramids/Pyramids", "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": 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
+ 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
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 512
19
+ num_layers: 2
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
+ rnd:
37
+ gamma: 0.99
38
+ strength: 0.01
39
+ network_settings:
40
+ normalize: false
41
+ hidden_units: 64
42
+ num_layers: 3
43
+ vis_encode_type: simple
44
+ memory: null
45
+ goal_conditioning_type: hyper
46
+ deterministic: false
47
+ learning_rate: 0.0001
48
+ encoding_size: null
49
+ init_path: null
50
+ keep_checkpoints: 5
51
+ checkpoint_interval: 500000
52
+ max_steps: 2500000
53
+ time_horizon: 128
54
+ summary_freq: 30000
55
+ threaded: false
56
+ self_play: null
57
+ behavioral_cloning: null
58
+ env_settings:
59
+ env_path: ./training-envs-executables/linux/Pyramids/Pyramids
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: Pyramids Training
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,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.28.0.12
4
+ Multi-casting "[IP] 172.28.0.12 [Port] 55335 [Flags] 2 [Guid] 2292787036 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,172.28.0.12) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ Preloaded 'lib_burst_generated.so'
6
+ Preloaded 'libgrpc_csharp_ext.x64.so'
7
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
8
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystems
9
+ Forcing GfxDevice: Null
10
+ GfxDevice: creating device client; threaded=0; jobified=0
11
+ NullGfxDevice:
12
+ Version: NULL 1.0 [1.0]
13
+ Renderer: Null Device
14
+ Vendor: Unity Technologies
15
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
16
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
17
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
18
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
19
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
20
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
21
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
22
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
23
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
24
+ 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
25
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
26
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
27
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
28
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
29
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
30
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
32
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
33
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
34
+ FMOD initialized on nosound output
35
+ Begin MonoManager ReloadAssembly
36
+ - Completed reload, in 0.082 seconds
37
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
41
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
42
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
43
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
45
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
46
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
47
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
48
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
49
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
50
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
52
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
53
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
54
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
55
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
56
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
57
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
59
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
60
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
61
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
62
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
63
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
64
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
66
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
67
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
68
+ UnloadTime: 0.843230 ms
69
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ requesting resize 84 x 84
71
+ Setting up 1 worker threads for Enlighten.
72
+ PlayerConnection::CleanupMemory Statistics:
73
+ [ALLOC_TEMP_TLS] TLS Allocator
74
+ StackAllocators :
75
+ [ALLOC_TEMP_MAIN]
76
+ Peak usage frame count: [16.0 KB-32.0 KB]: 3 frames, [32.0 KB-64.0 KB]: 17 frames, [64.0 KB-128.0 KB]: 10 frames, [2.0 MB-4.0 MB]: 1 frames
77
+ Initial Block Size 4.0 MB
78
+ Current Block Size 4.0 MB
79
+ Peak Allocated Bytes 2.0 MB
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 8]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 10]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 6]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 1]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 11]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 3]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_BatchDeleteObjects]
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 2]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 15]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 7]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Loading.PreloadManager]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 320.0 KB
144
+ Peak Allocated Bytes 251.5 KB
145
+ Overflow Count 4
146
+ [ALLOC_TEMP_Profiler.Dispatcher]
147
+ Initial Block Size 64.0 KB
148
+ Current Block Size 64.0 KB
149
+ Peak Allocated Bytes 240 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 12]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 5]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 13]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 0]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 4]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 0]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0.8 KB
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 14]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 9]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_EnlightenWorker]
197
+ Initial Block Size 64.0 KB
198
+ Current Block Size 64.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Loading.AsyncRead]
202
+ Initial Block Size 64.0 KB
203
+ Current Block Size 64.0 KB
204
+ Peak Allocated Bytes 128 B
205
+ Overflow Count 0
206
+ [ALLOC_MEMORYPROFILER]
207
+ Peak usage frame count: [0.5 MB-1.0 MB]: 30 frames, [1.0 MB-2.0 MB]: 1 frames
208
+ Requested Block Size 1.0 MB
209
+ Peak Block count 2
210
+ Peak Allocated memory 1.0 MB
211
+ Peak Large allocation bytes 0 B
212
+ [ALLOC_DEFAULT] Dual Thread Allocator
213
+ Peak main deferred allocation count 12723
214
+ [ALLOC_BUCKET]
215
+ Large Block size 4.0 MB
216
+ Used Block count 1
217
+ Peak Allocated bytes 1.2 MB
218
+ [ALLOC_DEFAULT_MAIN]
219
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 30 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 2
222
+ Peak Allocated memory 18.9 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 31 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 23.9 MB
229
+ Peak Large allocation bytes 16.0 MB
230
+ [ALLOC_TEMP_JOB_1_FRAME]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 1
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_2_FRAMES]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 1
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
246
+ Initial Block Size 1.0 MB
247
+ Used Block Count 3
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_GFX] Dual Thread Allocator
251
+ Peak main deferred allocation count 0
252
+ [ALLOC_BUCKET]
253
+ Large Block size 4.0 MB
254
+ Used Block count 1
255
+ Peak Allocated bytes 1.2 MB
256
+ [ALLOC_GFX_MAIN]
257
+ Peak usage frame count: [32.0 KB-64.0 KB]: 30 frames, [64.0 KB-128.0 KB]: 1 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 67.0 KB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_GFX_THREAD]
263
+ Peak usage frame count: [64.0 KB-128.0 KB]: 31 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 67.7 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
269
+ Peak main deferred allocation count 1
270
+ [ALLOC_BUCKET]
271
+ Large Block size 4.0 MB
272
+ Used Block count 1
273
+ Peak Allocated bytes 1.2 MB
274
+ [ALLOC_CACHEOBJECTS_MAIN]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 31 frames
276
+ Requested Block Size 4.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 1.0 MB
279
+ Peak Large allocation bytes 0 B
280
+ [ALLOC_CACHEOBJECTS_THREAD]
281
+ Peak usage frame count: [1.0 MB-2.0 MB]: 30 frames, [4.0 MB-8.0 MB]: 1 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 2
284
+ Peak Allocated memory 4.7 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE] Dual Thread Allocator
287
+ Peak main deferred allocation count 0
288
+ [ALLOC_BUCKET]
289
+ Large Block size 4.0 MB
290
+ Used Block count 1
291
+ Peak Allocated bytes 1.2 MB
292
+ [ALLOC_TYPETREE_MAIN]
293
+ Peak usage frame count: [0-1.0 KB]: 31 frames
294
+ Requested Block Size 2.0 MB
295
+ Peak Block count 1
296
+ Peak Allocated memory 1.0 KB
297
+ Peak Large allocation bytes 0 B
298
+ [ALLOC_TYPETREE_THREAD]
299
+ Peak usage frame count: [1.0 KB-2.0 KB]: 31 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.9 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_PROFILER]
305
+ Peak usage frame count: [16.0 KB-32.0 KB]: 31 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 27.4 KB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_PROFILER_BUCKET]
311
+ Large Block size 4.0 MB
312
+ Used Block count 1
313
+ Peak Allocated bytes 396 B
314
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1674341518387,"processId":37520,"allocatedMemory":1957332,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"Thread":34460},{"Manager":10603},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":69173},{"Material":24},{"GfxDevice":35248},{"Animation":304},{"Audio":3976},{"Physics":288},{"Serialization":216},{"Input":9176},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1609212},{"Resource":592},{"Renderer":1936},{"Transform":48},{"File":800},{"WebCam":24},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3447},{"DynamicArray":30868},{"HashMap":7680},{"Utility":1360},{"PoolAlloc":1160},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3272},{"Unet":16},{"Director":7760},{"WebRequest":720},{"VR":45473},{"SceneManager":424},{"Video":32},{"LazyScriptCache":32},{"NativeArray":384},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57552},{"AssetReference":32}]}
run_logs/timers.json ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1674341507",
6
+ "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]",
7
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --resume --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
8
+ "mlagents_version": "0.29.0.dev0",
9
+ "mlagents_envs_version": "0.29.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "1.8.1+cu102",
12
+ "numpy_version": "1.21.6",
13
+ "end_time_seconds": "1674341518"
14
+ },
15
+ "total": 10.55432859999928,
16
+ "count": 1,
17
+ "self": 0.44069136299913225,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.10862278199965658,
21
+ "count": 1,
22
+ "self": 0.10862278199965658
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 10.005014455000492,
26
+ "count": 1,
27
+ "self": 0.0026183250029134797,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 6.329130789999908,
31
+ "count": 1,
32
+ "self": 6.329130789999908
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 3.583993714997632,
36
+ "count": 102,
37
+ "self": 0.002614612987599685,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 3.4451056320140196,
41
+ "count": 102,
42
+ "self": 3.2439443430248502,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 0.1998354140068841,
46
+ "count": 102,
47
+ "self": 0.007683730013013701,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 0.1921516839938704,
51
+ "count": 102,
52
+ "self": 0.06355078899287037,
53
+ "children": {
54
+ "TorchPolicy.sample_actions": {
55
+ "total": 0.12860089500100003,
56
+ "count": 102,
57
+ "self": 0.12860089500100003
58
+ }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "workers": {
64
+ "total": 0.0013258749822853133,
65
+ "count": 102,
66
+ "self": 0.0,
67
+ "children": {
68
+ "worker_root": {
69
+ "total": 9.89447939600359,
70
+ "count": 102,
71
+ "is_parallel": true,
72
+ "self": 6.873470094998993,
73
+ "children": {
74
+ "run_training.setup": {
75
+ "total": 0.0,
76
+ "count": 0,
77
+ "is_parallel": true,
78
+ "self": 0.0,
79
+ "children": {
80
+ "steps_from_proto": {
81
+ "total": 0.001833071999499225,
82
+ "count": 1,
83
+ "is_parallel": true,
84
+ "self": 0.0006234180000319611,
85
+ "children": {
86
+ "_process_rank_one_or_two_observation": {
87
+ "total": 0.001209653999467264,
88
+ "count": 8,
89
+ "is_parallel": true,
90
+ "self": 0.001209653999467264
91
+ }
92
+ }
93
+ },
94
+ "UnityEnvironment.step": {
95
+ "total": 0.04751077700166206,
96
+ "count": 1,
97
+ "is_parallel": true,
98
+ "self": 0.0005080310002085753,
99
+ "children": {
100
+ "UnityEnvironment._generate_step_input": {
101
+ "total": 0.00045709600090049207,
102
+ "count": 1,
103
+ "is_parallel": true,
104
+ "self": 0.00045709600090049207
105
+ },
106
+ "communicator.exchange": {
107
+ "total": 0.04492372300046554,
108
+ "count": 1,
109
+ "is_parallel": true,
110
+ "self": 0.04492372300046554
111
+ },
112
+ "steps_from_proto": {
113
+ "total": 0.001621927000087453,
114
+ "count": 1,
115
+ "is_parallel": true,
116
+ "self": 0.00041640900235506706,
117
+ "children": {
118
+ "_process_rank_one_or_two_observation": {
119
+ "total": 0.001205517997732386,
120
+ "count": 8,
121
+ "is_parallel": true,
122
+ "self": 0.001205517997732386
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ },
130
+ "UnityEnvironment.step": {
131
+ "total": 3.0210093010045966,
132
+ "count": 101,
133
+ "is_parallel": true,
134
+ "self": 0.045589646015287144,
135
+ "children": {
136
+ "UnityEnvironment._generate_step_input": {
137
+ "total": 0.03639535799629812,
138
+ "count": 101,
139
+ "is_parallel": true,
140
+ "self": 0.03639535799629812
141
+ },
142
+ "communicator.exchange": {
143
+ "total": 2.7854392389945133,
144
+ "count": 101,
145
+ "is_parallel": true,
146
+ "self": 2.7854392389945133
147
+ },
148
+ "steps_from_proto": {
149
+ "total": 0.1535850579984981,
150
+ "count": 101,
151
+ "is_parallel": true,
152
+ "self": 0.03697671903501032,
153
+ "children": {
154
+ "_process_rank_one_or_two_observation": {
155
+ "total": 0.11660833896348777,
156
+ "count": 808,
157
+ "is_parallel": true,
158
+ "self": 0.11660833896348777
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "trainer_advance": {
171
+ "total": 0.13627346999601286,
172
+ "count": 102,
173
+ "self": 0.0027444429924798897,
174
+ "children": {
175
+ "process_trajectory": {
176
+ "total": 0.13352902700353297,
177
+ "count": 102,
178
+ "self": 0.026220727004329092,
179
+ "children": {
180
+ "RLTrainer._checkpoint": {
181
+ "total": 0.10730829999920388,
182
+ "count": 1,
183
+ "self": 0.10730829999920388
184
+ }
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ },
191
+ "trainer_threads": {
192
+ "total": 9.830000635702163e-07,
193
+ "count": 1,
194
+ "self": 9.830000635702163e-07
195
+ },
196
+ "TrainerController._save_models": {
197
+ "total": 0.08927064199997403,
198
+ "count": 1,
199
+ "self": 0.0014899750003678491,
200
+ "children": {
201
+ "RLTrainer._checkpoint": {
202
+ "total": 0.08778066699960618,
203
+ "count": 1,
204
+ "self": 0.08778066699960618
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 1499923,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1499923.onnx",
7
+ "reward": 1.7071999818086625,
8
+ "creation_time": 1674337973.3229303,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-1499923.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 1999918,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1999918.onnx",
16
+ "reward": 1.735999971628189,
17
+ "creation_time": 1674339235.7457237,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-1999918.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 2499893,
24
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-2499893.onnx",
25
+ "reward": 1.4263999802725655,
26
+ "creation_time": 1674340558.041132,
27
+ "auxillary_file_paths": [
28
+ "results/Pyramids Training/Pyramids/Pyramids-2499893.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 2499982,
33
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-2499982.onnx",
34
+ "reward": 1.9119999408721924,
35
+ "creation_time": 1674341517.8797915,
36
+ "auxillary_file_paths": [
37
+ "results/Pyramids Training/Pyramids/Pyramids-2499982.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 2500084,
42
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-2500084.onnx",
43
+ "reward": 1.9054999351501465,
44
+ "creation_time": 1674341517.9805918,
45
+ "auxillary_file_paths": [
46
+ "results/Pyramids Training/Pyramids/Pyramids-2500084.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "final_checkpoint": {
51
+ "steps": 2500084,
52
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
53
+ "reward": 1.9054999351501465,
54
+ "creation_time": 1674341517.9805918,
55
+ "auxillary_file_paths": [
56
+ "results/Pyramids Training/Pyramids/Pyramids-2500084.pt"
57
+ ]
58
+ }
59
+ },
60
+ "metadata": {
61
+ "stats_format_version": "0.3.0",
62
+ "mlagents_version": "0.29.0.dev0",
63
+ "torch_version": "1.8.1+cu102"
64
+ }
65
+ }