Pengcheng-Wang commited on
Commit
1726dd5
1 Parent(s): ac30bad

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
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: Pengcheng-Wang/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a7e4a30538c7668cc49c3402a369c771d5349aa6ff42bdda4b6ee3d8303e30b
3
+ size 1768747
SoccerTwos/SoccerTwos-1499684.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:312d6860e0e7cc11b4dce57556115b699db526d29f4e2a3bdc6c3e928c5ca841
3
+ size 1768747
SoccerTwos/SoccerTwos-1499684.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a803a6df4cd09e8cd2697283024bec8d92dc0d983fdaae2b7088fef0d3990e0
3
+ size 28430358
SoccerTwos/SoccerTwos-1999915.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4990805996989ae83897aa4b80169949dae4c1082a01fe98650130f11aaabaa1
3
+ size 1768747
SoccerTwos/SoccerTwos-1999915.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f411e7aed6811de1444a8caa21c1f892f306bde48491de14c93deb91c8508177
3
+ size 28430358
SoccerTwos/SoccerTwos-2499452.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54de4307e82609b0e5247140390895b19d2ac5d716e7338f564b662cb5d38ed8
3
+ size 1768747
SoccerTwos/SoccerTwos-2499452.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2446f4ad8c5bd4ba303b25f0f430bbedb5de6f7761f2864f4ce1ea894ce0d339
3
+ size 28430358
SoccerTwos/SoccerTwos-2999250.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a7e4a30538c7668cc49c3402a369c771d5349aa6ff42bdda4b6ee3d8303e30b
3
+ size 1768747
SoccerTwos/SoccerTwos-2999250.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96abd623176686e2e9db63129526cbf34449c782793e3b65bb35eb59c0426c20
3
+ size 28430358
SoccerTwos/SoccerTwos-2999774.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a7e4a30538c7668cc49c3402a369c771d5349aa6ff42bdda4b6ee3d8303e30b
3
+ size 1768747
SoccerTwos/SoccerTwos-2999774.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd2f4951317aa1b68774bbb7894d4bdc8ec34c7600b323995b7153d5773ae4c
3
+ size 28430358
SoccerTwos/SoccerTwos-3000298.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a7e4a30538c7668cc49c3402a369c771d5349aa6ff42bdda4b6ee3d8303e30b
3
+ size 1768747
SoccerTwos/SoccerTwos-3000298.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc403d17fcd853d121eba0b2a2fd4cee7f489fa8e242fb0d06690eb70f29f888
3
+ size 28430358
SoccerTwos/SoccerTwos-999754.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b56fbff0a3bd852490de3d16683d2c126ca03f9b16d7107c629691ebe8a04e13
3
+ size 1768747
SoccerTwos/SoccerTwos-999754.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfeb910c09c8274e5338d25535df4532fdb5a6b6dddadb86bd76d33dae0f57ba
3
+ size 28430234
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3be51bb32377679d12c777ca5d7349dce63be4f36b06d7da665d68d49f87fe67
3
+ size 28429366
SoccerTwos/events.out.tfevents.1723227001.f8ddbf153bbf.7284.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4298a3827dc8287f2ea4751e6ad99553a5d67bec455d7376dcbe93a66eb9b579
3
+ size 1684210
SoccerTwos/events.out.tfevents.1723245818.f8ddbf153bbf.82461.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1fa99ca93b3953596d0dd20660918f987a212f98c37b18ff3a9ff7b13d4b4c2
3
+ size 2049
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "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}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 3000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 3000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: true
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_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/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
15
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
21
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
22
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
23
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
25
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
31
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
32
+ FMOD initialized on nosound output
33
+ Begin MonoManager ReloadAssembly
34
+ - Completed reload, in 0.250 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 (Specular setup)' - 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 (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - 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
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
46
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
50
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
51
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
52
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
53
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
54
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
55
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
56
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
57
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
58
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
59
+ UnloadTime: 1.065809 ms
60
+ Registered Communicator in Agent.
61
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
62
+ requesting resize 84 x 84
63
+ Setting up 1 worker threads for Enlighten.
64
+ Memory Statistics:
65
+ [ALLOC_TEMP_TLS] TLS Allocator
66
+ StackAllocators :
67
+ [ALLOC_TEMP_MAIN]
68
+ Peak usage frame count: [8.0 KB-16.0 KB]: 157 frames, [2.0 MB-4.0 MB]: 1 frames
69
+ Initial Block Size 4.0 MB
70
+ Current Block Size 4.0 MB
71
+ Peak Allocated Bytes 2.1 MB
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Loading.AsyncRead]
74
+ Initial Block Size 64.0 KB
75
+ Current Block Size 64.0 KB
76
+ Peak Allocated Bytes 128 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Loading.PreloadManager]
79
+ Initial Block Size 256.0 KB
80
+ Current Block Size 300.0 KB
81
+ Peak Allocated Bytes 249.6 KB
82
+ Overflow Count 4
83
+ [ALLOC_TEMP_Background Job.Worker 8]
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 9]
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_Job.Worker 0]
94
+ Initial Block Size 256.0 KB
95
+ Current Block Size 256.0 KB
96
+ Peak Allocated Bytes 0.7 KB
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 10]
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_Background Job.Worker 14]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 6]
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 12]
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_EnlightenWorker]
119
+ Initial Block Size 64.0 KB
120
+ Current Block Size 64.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 15]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 1]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 2]
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 7]
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_AssetGarbageCollectorHelper]
144
+ Initial Block Size 64.0 KB
145
+ Current Block Size 64.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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 11]
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_Background Job.Worker 3]
164
+ Initial Block Size 32.0 KB
165
+ Current Block Size 32.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 0]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 4]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_BatchDeleteObjects]
179
+ Initial Block Size 64.0 KB
180
+ Current Block Size 64.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_DEFAULT] Dual Thread Allocator
184
+ Peak main deferred allocation count 2
185
+ [ALLOC_BUCKET]
186
+ Large Block size 4.0 MB
187
+ Used Block count 1
188
+ Peak Allocated bytes 1.0 MB
189
+ [ALLOC_DEFAULT_MAIN]
190
+ Peak usage frame count: [4.0 MB-8.0 MB]: 158 frames
191
+ Requested Block Size 16.0 MB
192
+ Peak Block count 1
193
+ Peak Allocated memory 4.6 MB
194
+ Peak Large allocation bytes 0 B
195
+ [ALLOC_DEFAULT_THREAD]
196
+ Peak usage frame count: [16.0 MB-32.0 MB]: 158 frames
197
+ Requested Block Size 16.0 MB
198
+ Peak Block count 1
199
+ Peak Allocated memory 17.6 MB
200
+ Peak Large allocation bytes 16.0 MB
201
+ [ALLOC_TEMP_JOB_1_FRAME]
202
+ Initial Block Size 2.0 MB
203
+ Used Block Count 1
204
+ Overflow Count (too large) 0
205
+ Overflow Count (full) 0
206
+ [ALLOC_TEMP_JOB_2_FRAMES]
207
+ Initial Block Size 2.0 MB
208
+ Used Block Count 1
209
+ Overflow Count (too large) 0
210
+ Overflow Count (full) 0
211
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
212
+ Initial Block Size 2.0 MB
213
+ Used Block Count 2
214
+ Overflow Count (too large) 0
215
+ Overflow Count (full) 0
216
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
217
+ Initial Block Size 1.0 MB
218
+ Used Block Count 3
219
+ Overflow Count (too large) 0
220
+ Overflow Count (full) 0
221
+ [ALLOC_GFX] Dual Thread Allocator
222
+ Peak main deferred allocation count 0
223
+ [ALLOC_BUCKET]
224
+ Large Block size 4.0 MB
225
+ Used Block count 1
226
+ Peak Allocated bytes 1.0 MB
227
+ [ALLOC_GFX_MAIN]
228
+ Peak usage frame count: [32.0 KB-64.0 KB]: 157 frames, [64.0 KB-128.0 KB]: 1 frames
229
+ Requested Block Size 16.0 MB
230
+ Peak Block count 1
231
+ Peak Allocated memory 65.6 KB
232
+ Peak Large allocation bytes 0 B
233
+ [ALLOC_GFX_THREAD]
234
+ Peak usage frame count: [128.0 KB-256.0 KB]: 158 frames
235
+ Requested Block Size 16.0 MB
236
+ Peak Block count 1
237
+ Peak Allocated memory 173.5 KB
238
+ Peak Large allocation bytes 0 B
239
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
240
+ Peak main deferred allocation count 0
241
+ [ALLOC_BUCKET]
242
+ Large Block size 4.0 MB
243
+ Used Block count 1
244
+ Peak Allocated bytes 1.0 MB
245
+ [ALLOC_CACHEOBJECTS_MAIN]
246
+ Peak usage frame count: [0.5 MB-1.0 MB]: 158 frames
247
+ Requested Block Size 4.0 MB
248
+ Peak Block count 1
249
+ Peak Allocated memory 0.6 MB
250
+ Peak Large allocation bytes 0 B
251
+ [ALLOC_CACHEOBJECTS_THREAD]
252
+ Peak usage frame count: [0.5 MB-1.0 MB]: 157 frames, [2.0 MB-4.0 MB]: 1 frames
253
+ Requested Block Size 4.0 MB
254
+ Peak Block count 1
255
+ Peak Allocated memory 4.0 MB
256
+ Peak Large allocation bytes 0 B
257
+ [ALLOC_TYPETREE] Dual Thread Allocator
258
+ Peak main deferred allocation count 0
259
+ [ALLOC_BUCKET]
260
+ Large Block size 4.0 MB
261
+ Used Block count 1
262
+ Peak Allocated bytes 1.0 MB
263
+ [ALLOC_TYPETREE_MAIN]
264
+ Peak usage frame count: [0-1.0 KB]: 158 frames
265
+ Requested Block Size 2.0 MB
266
+ Peak Block count 1
267
+ Peak Allocated memory 1.0 KB
268
+ Peak Large allocation bytes 0 B
269
+ [ALLOC_TYPETREE_THREAD]
270
+ Peak usage frame count: [1.0 KB-2.0 KB]: 157 frames, [2.0 KB-4.0 KB]: 1 frames
271
+ Requested Block Size 2.0 MB
272
+ Peak Block count 1
273
+ Peak Allocated memory 2.2 KB
274
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.185584783554077,
6
+ "min": 3.185584783554077,
7
+ "max": 3.185584783554077,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 53517.82421875,
12
+ "min": 53517.82421875,
13
+ "max": 53517.82421875,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 523.0,
18
+ "min": 523.0,
19
+ "max": 523.0,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 2092.0,
24
+ "min": 2092.0,
25
+ "max": 2092.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1199.2507195558546,
30
+ "min": 1199.2507195558546,
31
+ "max": 1199.2507195558546,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2398.5014391117093,
36
+ "min": 2398.5014391117093,
37
+ "max": 2398.5014391117093,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 2999774.0,
42
+ "min": 2999774.0,
43
+ "max": 2999774.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 2999774.0,
48
+ "min": 2999774.0,
49
+ "max": 2999774.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.010549110360443592,
54
+ "min": -0.010549110360443592,
55
+ "max": -0.010549110360443592,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.010549110360443592,
60
+ "min": -0.010549110360443592,
61
+ "max": -0.010549110360443592,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.010483339428901672,
66
+ "min": -0.010483339428901672,
67
+ "max": -0.010483339428901672,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.010483339428901672,
72
+ "min": -0.010483339428901672,
73
+ "max": -0.010483339428901672,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -1.0,
90
+ "min": -1.0,
91
+ "max": -1.0,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.0,
96
+ "min": -1.0,
97
+ "max": -1.0,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -1.0,
102
+ "min": -1.0,
103
+ "max": -1.0,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.0,
108
+ "min": -1.0,
109
+ "max": -1.0,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1723245817",
128
+ "python_version": "3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0]",
129
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./ml-agents/config/poca/SoccerTwos.yaml --env=./ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "1.1.0.dev0",
131
+ "mlagents_envs_version": "1.1.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.3.1+cu121",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1723245841"
136
+ },
137
+ "total": 24.220297882999148,
138
+ "count": 1,
139
+ "self": 0.4792781609976373,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.07115436400272301,
143
+ "count": 1,
144
+ "self": 0.07115436400272301
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 23.669865357998788,
148
+ "count": 1,
149
+ "self": 0.018085134968714556,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 3.7722539600035816,
153
+ "count": 2,
154
+ "self": 3.7722539600035816
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 19.58881348502473,
158
+ "count": 525,
159
+ "self": 0.022125028935988666,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 18.725716415010538,
163
+ "count": 525,
164
+ "self": 14.953214446079073,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 3.76133330797893,
168
+ "count": 525,
169
+ "self": 0.1357480509832385,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 3.6255852569956915,
173
+ "count": 1050,
174
+ "self": 3.6255852569956915
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.011168660952534992,
180
+ "count": 525,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 22.58632961604235,
185
+ "count": 525,
186
+ "is_parallel": true,
187
+ "self": 10.298987174021022,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.0,
191
+ "count": 0,
192
+ "is_parallel": true,
193
+ "self": 0.0,
194
+ "children": {
195
+ "steps_from_proto": {
196
+ "total": 0.004584025999065489,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0013390789972618222,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0032449470018036664,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0032449470018036664
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.049183483999513555,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0014379009990079794,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.000974335998762399,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.000974335998762399
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.04256297900064965,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.04256297900064965
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.004208268001093529,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.000782382001489168,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.003425885999604361,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.003425885999604361
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "steps_from_proto": {
246
+ "total": 0.0024717539999983273,
247
+ "count": 2,
248
+ "is_parallel": true,
249
+ "self": 0.000524654005857883,
250
+ "children": {
251
+ "_process_rank_one_or_two_observation": {
252
+ "total": 0.0019470999941404443,
253
+ "count": 8,
254
+ "is_parallel": true,
255
+ "self": 0.0019470999941404443
256
+ }
257
+ }
258
+ },
259
+ "UnityEnvironment.step": {
260
+ "total": 12.284870688021329,
261
+ "count": 524,
262
+ "is_parallel": true,
263
+ "self": 0.7574481131050561,
264
+ "children": {
265
+ "UnityEnvironment._generate_step_input": {
266
+ "total": 0.48677938095352147,
267
+ "count": 524,
268
+ "is_parallel": true,
269
+ "self": 0.48677938095352147
270
+ },
271
+ "communicator.exchange": {
272
+ "total": 8.755567680949753,
273
+ "count": 524,
274
+ "is_parallel": true,
275
+ "self": 8.755567680949753
276
+ },
277
+ "steps_from_proto": {
278
+ "total": 2.2850755130129983,
279
+ "count": 1048,
280
+ "is_parallel": true,
281
+ "self": 0.4108982238685712,
282
+ "children": {
283
+ "_process_rank_one_or_two_observation": {
284
+ "total": 1.874177289144427,
285
+ "count": 4192,
286
+ "is_parallel": true,
287
+ "self": 1.874177289144427
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_advance": {
300
+ "total": 0.8409720410782029,
301
+ "count": 525,
302
+ "self": 0.05260614206054015,
303
+ "children": {
304
+ "process_trajectory": {
305
+ "total": 0.7883658990176627,
306
+ "count": 525,
307
+ "self": 0.4886855270160595,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.29968037200160325,
311
+ "count": 1,
312
+ "self": 0.29968037200160325
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ },
320
+ "trainer_threads": {
321
+ "total": 1.0379990271758288e-06,
322
+ "count": 1,
323
+ "self": 1.0379990271758288e-06
324
+ },
325
+ "TrainerController._save_models": {
326
+ "total": 0.2907117400027346,
327
+ "count": 1,
328
+ "self": 0.004258287000993732,
329
+ "children": {
330
+ "RLTrainer._checkpoint": {
331
+ "total": 0.28645345300174085,
332
+ "count": 1,
333
+ "self": 0.28645345300174085
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 2999774,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-2999774.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1723245840.2429717,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2999774.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 3000298,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-3000298.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1723245840.7517483,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-3000298.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "elo": 1199.0014391117093,
24
+ "final_checkpoint": {
25
+ "steps": 3000298,
26
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1723245840.7517483,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-3000298.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "1.1.0.dev0",
37
+ "torch_version": "2.3.1+cu121"
38
+ }
39
+ }