YoneShiro commited on
Commit
ced6a15
1 Parent(s): 7e04b8f

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: YoneShiro/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:b898bfaffa232f24f20bbee1ef5e3c2d43ca6f05ce91e4cd25c0e1a468da1025
3
+ size 1768746
SoccerTwos/SoccerTwos-335890.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23df6753e137e0283e826bb6c4f0b7f2a901a0d76562da5d7e055227c07e72bd
3
+ size 28431445
SoccerTwos/SoccerTwos-3499979.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe522f2a8fa7858b85d1c63a5fb8d0295192db3181729a97ad7be1bce6cfb722
3
+ size 1768746
SoccerTwos/SoccerTwos-3499979.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:723cc67cd80148f106581b92847942b1a586d57ba69562ff951ce93a916e721d
3
+ size 28431567
SoccerTwos/SoccerTwos-3999961.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75d3e817b52764e8970aa3b2301572251c6d77250033695bf58e36cc65f8805c
3
+ size 1768746
SoccerTwos/SoccerTwos-3999961.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34ad5140e72ab17e6401a64f83620060fb23c6e9e46cfaa48acd798c8686bb79
3
+ size 28431567
SoccerTwos/SoccerTwos-4499921.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc62817f453501dc23edd1b38c380552576df96b178663c20d53eb8115d47186
3
+ size 1768746
SoccerTwos/SoccerTwos-4499921.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de38dda9282f43431e38f2a44a2ecf403fb0d17d401efaa011adabcf1cc1c540
3
+ size 28431567
SoccerTwos/SoccerTwos-4999966.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b898bfaffa232f24f20bbee1ef5e3c2d43ca6f05ce91e4cd25c0e1a468da1025
3
+ size 1768746
SoccerTwos/SoccerTwos-4999966.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5312c66a1dac1427f54b4c3e78be98f631bed06987c49e09a1f74023023db63b
3
+ size 28431567
SoccerTwos/SoccerTwos-5000023.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b898bfaffa232f24f20bbee1ef5e3c2d43ca6f05ce91e4cd25c0e1a468da1025
3
+ size 1768746
SoccerTwos/SoccerTwos-5000023.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41fbe1132aa4ae7063009b02f5178ee082ceaa224d557438c01c2e3d41db7956
3
+ size 28431567
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a3ef7670a2dfd436effbbb44d11282edbfb9af2b633b1402021466dc3aee4d6
3
+ size 28430591
SoccerTwos/events.out.tfevents.1688117852.DESKTOP-3OP9PGV.944.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad6290950a42faa1fd83730749774a03ae9d06964ebec4a233683456f9f4a51e
3
+ size 1240
SoccerTwos/events.out.tfevents.1688117925.DESKTOP-3OP9PGV.5132.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:796faa38c20e83f25b05140f6205fb02d35cc0bee9ebfd8393624800cb58b1d7
3
+ size 255752
SoccerTwos/events.out.tfevents.1688118880.DESKTOP-3OP9PGV.8068.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:975e33554c337a065e374c3e5188f3214637bca4ad773345bec156a0c04c01ce
3
+ size 79907
SoccerTwos/events.out.tfevents.1688119109.DESKTOP-3OP9PGV.8088.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65d328733f2f90327ddfe4a093a0368fb4f9b398feb034081d29265492d5de5d
3
+ size 190658
SoccerTwos/events.out.tfevents.1688119874.DESKTOP-3OP9PGV.13908.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a689435a6b1e09221b9f03e21c6e36acf9a5deb21c8037652de1354dc8c1c0a6
3
+ size 89026
SoccerTwos/events.out.tfevents.1688120656.DESKTOP-3OP9PGV.11120.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff4583cccf4844cc5e61aeca17da5d744479b874736d805e43e8a609b102713a
3
+ size 1347063
SoccerTwos/events.out.tfevents.1688136085.DESKTOP-3OP9PGV.5692.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84a5cab7c0775f817b1e418a9b7344c8f864f3cdb086bf2cf7a6377b414fd668
3
+ size 1645482
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": 5000000, "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": "./training-envs-executables/SoccerTwos.exe", "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": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": true, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": "cuda"}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 5000000
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: ./training-envs-executables/SoccerTwos.exe
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
76
+ force: false
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: cuda
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/gava_/Documents/rl_hugging_face/rl_7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/gava_/Documents/rl_hugging_face/rl_7/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/gava_/Documents/rl_hugging_face/rl_7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
5
+ Forcing GfxDevice: Null
6
+ GfxDevice: creating device client; threaded=0; jobified=0
7
+ NullGfxDevice:
8
+ Version: NULL 1.0 [1.0]
9
+ Renderer: Null Device
10
+ Vendor: Unity Technologies
11
+ Begin MonoManager ReloadAssembly
12
+ - Completed reload, in 0.116 seconds
13
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
14
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
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 (Specular setup)' - 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 (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - 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: 'Autodesk Interactive' - 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 Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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: 'Standard' - 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 Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - 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
+ UnloadTime: 0.650700 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ Setting up 1 worker threads for Enlighten.
42
+ Memory Statistics:
43
+ [ALLOC_TEMP_TLS] TLS Allocator
44
+ StackAllocators :
45
+ [ALLOC_TEMP_MAIN]
46
+ Peak usage frame count: [8.0 KB-16.0 KB]: 29943 frames, [2.0 MB-4.0 MB]: 1 frames
47
+ Initial Block Size 4.0 MB
48
+ Current Block Size 4.0 MB
49
+ Peak Allocated Bytes 2.0 MB
50
+ Overflow Count 0
51
+ [ALLOC_TEMP_Loading.AsyncRead]
52
+ Initial Block Size 64.0 KB
53
+ Current Block Size 64.0 KB
54
+ Peak Allocated Bytes 405 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.PreloadManager]
57
+ Initial Block Size 256.0 KB
58
+ Current Block Size 256.0 KB
59
+ Peak Allocated Bytes 68.0 KB
60
+ Overflow Count 4
61
+ [ALLOC_TEMP_Background Job.Worker 8]
62
+ Initial Block Size 32.0 KB
63
+ Current Block Size 32.0 KB
64
+ Peak Allocated Bytes 54 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Background Job.Worker 9]
67
+ Initial Block Size 32.0 KB
68
+ Current Block Size 32.0 KB
69
+ Peak Allocated Bytes 54 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 0]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0.8 KB
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Background Job.Worker 10]
77
+ Initial Block Size 32.0 KB
78
+ Current Block Size 32.0 KB
79
+ Peak Allocated Bytes 54 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 14]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 54 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 6]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 54 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 12]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 54 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_EnlightenWorker]
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 54 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 15]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 54 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 1]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 54 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 2]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 54 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Background Job.Worker 7]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 54 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
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 5]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 54 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 13]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 54 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 11]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 54 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Background Job.Worker 3]
142
+ Initial Block Size 32.0 KB
143
+ Current Block Size 32.0 KB
144
+ Peak Allocated Bytes 54 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 0]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 54 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 4]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 54 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_BatchDeleteObjects]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 54 B
160
+ Overflow Count 0
161
+ [ALLOC_DEFAULT] Dual Thread Allocator
162
+ Peak main deferred allocation count 2
163
+ [ALLOC_BUCKET]
164
+ Large Block size 4.0 MB
165
+ Used Block count 1
166
+ Peak Allocated bytes 0.9 MB
167
+ [ALLOC_DEFAULT_MAIN]
168
+ Peak usage frame count: [4.0 MB-8.0 MB]: 29944 frames
169
+ Requested Block Size 16.0 MB
170
+ Peak Block count 1
171
+ Peak Allocated memory 5.3 MB
172
+ Peak Large allocation bytes 0 B
173
+ [ALLOC_DEFAULT_THREAD]
174
+ Peak usage frame count: [16.0 MB-32.0 MB]: 29944 frames
175
+ Requested Block Size 16.0 MB
176
+ Peak Block count 1
177
+ Peak Allocated memory 17.0 MB
178
+ Peak Large allocation bytes 16.0 MB
179
+ [ALLOC_TEMP_JOB_1_FRAME]
180
+ Initial Block Size 2.0 MB
181
+ Used Block Count 1
182
+ Overflow Count (too large) 0
183
+ Overflow Count (full) 0
184
+ [ALLOC_TEMP_JOB_2_FRAMES]
185
+ Initial Block Size 2.0 MB
186
+ Used Block Count 1
187
+ Overflow Count (too large) 0
188
+ Overflow Count (full) 0
189
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
190
+ Initial Block Size 2.0 MB
191
+ Used Block Count 2
192
+ Overflow Count (too large) 0
193
+ Overflow Count (full) 0
194
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
195
+ Initial Block Size 1.0 MB
196
+ Used Block Count 3
197
+ Overflow Count (too large) 0
198
+ Overflow Count (full) 0
199
+ [ALLOC_GFX] Dual Thread Allocator
200
+ Peak main deferred allocation count 0
201
+ [ALLOC_BUCKET]
202
+ Large Block size 4.0 MB
203
+ Used Block count 1
204
+ Peak Allocated bytes 0.9 MB
205
+ [ALLOC_GFX_MAIN]
206
+ Peak usage frame count: [32.0 KB-64.0 KB]: 29943 frames, [64.0 KB-128.0 KB]: 1 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 65.6 KB
210
+ Peak Large allocation bytes 0 B
211
+ [ALLOC_GFX_THREAD]
212
+ Peak usage frame count: [128.0 KB-256.0 KB]: 29944 frames
213
+ Requested Block Size 16.0 MB
214
+ Peak Block count 1
215
+ Peak Allocated memory 173.6 KB
216
+ Peak Large allocation bytes 0 B
217
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
218
+ Peak main deferred allocation count 2
219
+ [ALLOC_BUCKET]
220
+ Large Block size 4.0 MB
221
+ Used Block count 1
222
+ Peak Allocated bytes 0.9 MB
223
+ [ALLOC_CACHEOBJECTS_MAIN]
224
+ Peak usage frame count: [0.5 MB-1.0 MB]: 29944 frames
225
+ Requested Block Size 4.0 MB
226
+ Peak Block count 1
227
+ Peak Allocated memory 0.6 MB
228
+ Peak Large allocation bytes 0 B
229
+ [ALLOC_CACHEOBJECTS_THREAD]
230
+ Peak usage frame count: [0.5 MB-1.0 MB]: 29943 frames, [2.0 MB-4.0 MB]: 1 frames
231
+ Requested Block Size 4.0 MB
232
+ Peak Block count 1
233
+ Peak Allocated memory 3.2 MB
234
+ Peak Large allocation bytes 0 B
235
+ [ALLOC_TYPETREE] Dual Thread Allocator
236
+ Peak main deferred allocation count 0
237
+ [ALLOC_BUCKET]
238
+ Large Block size 4.0 MB
239
+ Used Block count 1
240
+ Peak Allocated bytes 0.9 MB
241
+ [ALLOC_TYPETREE_MAIN]
242
+ Peak usage frame count: [0-1.0 KB]: 29944 frames
243
+ Requested Block Size 2.0 MB
244
+ Peak Block count 1
245
+ Peak Allocated memory 1.0 KB
246
+ Peak Large allocation bytes 0 B
247
+ [ALLOC_TYPETREE_THREAD]
248
+ Peak usage frame count: [1.0 KB-2.0 KB]: 29943 frames, [2.0 KB-4.0 KB]: 1 frames
249
+ Requested Block Size 2.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 2.2 KB
252
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 2.277820587158203,
6
+ "min": 2.233041763305664,
7
+ "max": 2.971186637878418,
8
+ "count": 160
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 43588.375,
12
+ "min": 18071.310546875,
13
+ "max": 65700.578125,
14
+ "count": 160
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 75.64615384615385,
18
+ "min": 52.75555555555555,
19
+ "max": 156.96875,
20
+ "count": 160
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19668.0,
24
+ "min": 2788.0,
25
+ "max": 21592.0,
26
+ "count": 160
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1548.0452403303507,
30
+ "min": 1303.0682328106807,
31
+ "max": 1560.847477448936,
32
+ "count": 160
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 201245.8812429456,
36
+ "min": 21029.240688677917,
37
+ "max": 281108.6245172949,
38
+ "count": 160
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 4999966.0,
42
+ "min": 3409917.0,
43
+ "max": 4999966.0,
44
+ "count": 160
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 4999966.0,
48
+ "min": 3409917.0,
49
+ "max": 4999966.0,
50
+ "count": 160
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.07828344404697418,
54
+ "min": -0.025616463273763657,
55
+ "max": 0.206451416015625,
56
+ "count": 160
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 10.176847457885742,
60
+ "min": -3.7143871784210205,
61
+ "max": 28.49029541015625,
62
+ "count": 160
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.07244706898927689,
66
+ "min": -0.02666577138006687,
67
+ "max": 0.20727582275867462,
68
+ "count": 160
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 9.418119430541992,
72
+ "min": -3.866536855697632,
73
+ "max": 28.604063034057617,
74
+ "count": 160
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 160
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 160
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.1599061553294842,
90
+ "min": -0.2795611106687122,
91
+ "max": 0.47410973405416035,
92
+ "count": 160
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 20.787800192832947,
96
+ "min": -38.73800003528595,
97
+ "max": 53.57439994812012,
98
+ "count": 160
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.1599061553294842,
102
+ "min": -0.2795611106687122,
103
+ "max": 0.47410973405416035,
104
+ "count": 160
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 20.787800192832947,
108
+ "min": -38.73800003528595,
109
+ "max": 53.57439994812012,
110
+ "count": 160
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 160
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 160
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.016362083276423314,
126
+ "min": 0.012747406342532486,
127
+ "max": 0.021592475559252002,
128
+ "count": 77
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.016362083276423314,
132
+ "min": 0.012747406342532486,
133
+ "max": 0.021592475559252002,
134
+ "count": 77
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.08703848247726759,
138
+ "min": 0.043512505541245146,
139
+ "max": 0.09584195911884308,
140
+ "count": 77
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.08703848247726759,
144
+ "min": 0.043512505541245146,
145
+ "max": 0.09584195911884308,
146
+ "count": 77
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.08898836001753807,
150
+ "min": 0.04558493693669637,
151
+ "max": 0.09694288621346156,
152
+ "count": 77
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.08898836001753807,
156
+ "min": 0.04558493693669637,
157
+ "max": 0.09694288621346156,
158
+ "count": 77
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 77
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 77
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 77
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 77
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 77
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 77
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1688136081",
200
+ "python_version": "3.9.16 (main, May 17 2023, 17:49:16) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\gava_\\miniconda3\\envs\\rl_7\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --torch-device=cuda --resume",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.0.1+cu118",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1688139308"
208
+ },
209
+ "total": 3226.9689866,
210
+ "count": 1,
211
+ "self": 2.2630827999996654,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.1483901999999997,
215
+ "count": 1,
216
+ "self": 0.1483901999999997
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 3224.5575136,
220
+ "count": 1,
221
+ "self": 2.6613024000321275,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 10.684930699999972,
225
+ "count": 9,
226
+ "self": 10.684930699999972
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 3210.9817783999683,
230
+ "count": 108296,
231
+ "self": 2.7155326000065543,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 2242.4152754999836,
235
+ "count": 108296,
236
+ "self": 1249.9930535000467,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 990.8399423999942,
240
+ "count": 108296,
241
+ "self": 20.11214710002855,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 970.7277952999657,
245
+ "count": 199626,
246
+ "self": 970.7277952999657
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 1.5822795999428223,
252
+ "count": 108296,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 3216.7188293000618,
257
+ "count": 108296,
258
+ "is_parallel": true,
259
+ "self": 2240.770959000104,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.015113399999514332,
263
+ "count": 18,
264
+ "is_parallel": true,
265
+ "self": 0.0031775999996366266,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.011935799999877705,
269
+ "count": 72,
270
+ "is_parallel": true,
271
+ "self": 0.011935799999877705
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 975.9327568999579,
277
+ "count": 108296,
278
+ "is_parallel": true,
279
+ "self": 56.801512999965894,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 42.889611400014545,
283
+ "count": 108296,
284
+ "is_parallel": true,
285
+ "self": 42.889611400014545
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 705.4799123999802,
289
+ "count": 108296,
290
+ "is_parallel": true,
291
+ "self": 705.4799123999802
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 170.76172009999718,
295
+ "count": 216592,
296
+ "is_parallel": true,
297
+ "self": 36.24901950005798,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 134.5127005999392,
301
+ "count": 866368,
302
+ "is_parallel": true,
303
+ "self": 134.5127005999392
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 965.8509702999783,
317
+ "count": 108296,
318
+ "self": 19.738505599945142,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 446.5538022000351,
322
+ "count": 108296,
323
+ "self": 445.04256160003484,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 1.5112406000002352,
327
+ "count": 4,
328
+ "self": 1.5112406000002352
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 499.558662499998,
334
+ "count": 77,
335
+ "self": 271.1019353000052,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 228.45672719999277,
339
+ "count": 2310,
340
+ "self": 228.45672719999277
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 2.000000222324161e-06,
350
+ "count": 1,
351
+ "self": 2.000000222324161e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.22950009999976828,
355
+ "count": 1,
356
+ "self": 0.017689499999505642,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.21181060000026264,
360
+ "count": 1,
361
+ "self": 0.21181060000026264
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.31.0.dev0",
5
+ "torch_version": "2.0.1+cu118"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1547.6843221068245,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 3499979,
12
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-3499979.onnx",
13
+ "reward": 0.0,
14
+ "creation_time": 1688136283.5109956,
15
+ "auxillary_file_paths": [
16
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-3499979.pt"
17
+ ]
18
+ },
19
+ {
20
+ "steps": 3999961,
21
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-3999961.onnx",
22
+ "reward": 0.0,
23
+ "creation_time": 1688137276.797125,
24
+ "auxillary_file_paths": [
25
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-3999961.pt"
26
+ ]
27
+ },
28
+ {
29
+ "steps": 4499921,
30
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-4499921.onnx",
31
+ "reward": 0.0,
32
+ "creation_time": 1688138288.2977204,
33
+ "auxillary_file_paths": [
34
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-4499921.pt"
35
+ ]
36
+ },
37
+ {
38
+ "steps": 4999966,
39
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-4999966.onnx",
40
+ "reward": 0.0,
41
+ "creation_time": 1688139305.5305526,
42
+ "auxillary_file_paths": [
43
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-4999966.pt"
44
+ ]
45
+ },
46
+ {
47
+ "steps": 5000023,
48
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-5000023.onnx",
49
+ "reward": 0.0,
50
+ "creation_time": 1688139305.765885,
51
+ "auxillary_file_paths": [
52
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-5000023.pt"
53
+ ]
54
+ }
55
+ ],
56
+ "final_checkpoint": {
57
+ "steps": 5000023,
58
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
59
+ "reward": 0.0,
60
+ "creation_time": 1688139305.765885,
61
+ "auxillary_file_paths": [
62
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-5000023.pt"
63
+ ]
64
+ }
65
+ }
66
+ }