second Push`
Browse files- README.md +31 -0
- SoccerTwos.onnx +3 -0
- SoccerTwos/SoccerTwos-1568.onnx +3 -0
- SoccerTwos/SoccerTwos-1568.pt +3 -0
- SoccerTwos/checkpoint.pt +3 -0
- SoccerTwos/events.out.tfevents.1678801909.PC.12936.0 +3 -0
- config.json +1 -0
- configuration.yaml +82 -0
- run_logs/Player-0.log +322 -0
- run_logs/timers.json +155 -0
- run_logs/training_status.json +30 -0
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-SoccerTwos
|
9 |
+
library_name: ml-agents
|
10 |
+
---
|
11 |
+
|
12 |
+
# **poca** Agent playing **SoccerTwos**
|
13 |
+
This is a trained model of a **poca** agent playing **SoccerTwos** 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-SoccerTwos
|
28 |
+
2. Step 1: Write your model_id: kurohige/poca
|
29 |
+
3. Step 2: Select your *.nn /*.onnx file
|
30 |
+
4. Click on Watch the agent play 👀
|
31 |
+
|
SoccerTwos.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5190212e60f357496ea81ef159bfcafda5c1837e27ae56e03985512ac06e923d
|
3 |
+
size 1766874
|
SoccerTwos/SoccerTwos-1568.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5190212e60f357496ea81ef159bfcafda5c1837e27ae56e03985512ac06e923d
|
3 |
+
size 1766874
|
SoccerTwos/SoccerTwos-1568.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab692a92be93c22b8775a310682c5b97a886ec8248ddc4a3c1f078f80c4f4711
|
3 |
+
size 9478953
|
SoccerTwos/checkpoint.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfd41726c7c84d0001a97fc8537a9874fb6c932ebb1d1fe530cb0863e7482280
|
3 |
+
size 9478763
|
SoccerTwos/events.out.tfevents.1678801909.PC.12936.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e0f47386e43db6cdd7318c5b68da3d8c807f0744000e8fc04bc2f98434151a9
|
3 |
+
size 1237
|
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": 1000, "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": "SoccerTwos2", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
|
configuration.yaml
ADDED
@@ -0,0 +1,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: 1000
|
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: SoccerTwos2
|
73 |
+
initialize_from: null
|
74 |
+
load_model: false
|
75 |
+
resume: false
|
76 |
+
force: false
|
77 |
+
train_model: false
|
78 |
+
inference: false
|
79 |
+
results_dir: results
|
80 |
+
torch_settings:
|
81 |
+
device: null
|
82 |
+
debug: false
|
run_logs/Player-0.log
ADDED
@@ -0,0 +1,322 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Mono path[0] = 'C:/Users/drinu/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
|
2 |
+
Mono config path = 'C:/Users/drinu/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
|
3 |
+
Initialize engine version: 2021.3.14f1 (eee1884e7226)
|
4 |
+
[Subsystems] Discovering subsystems at path C:/Users/drinu/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 3.576 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.724800 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 8 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]: 121 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 312 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 67.1 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_Job.Worker 6]
|
67 |
+
Initial Block Size 256.0 KB
|
68 |
+
Current Block Size 256.0 KB
|
69 |
+
Peak Allocated Bytes 0 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 B
|
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 9]
|
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_Job.Worker 5]
|
87 |
+
Initial Block Size 256.0 KB
|
88 |
+
Current Block Size 256.0 KB
|
89 |
+
Peak Allocated Bytes 0 B
|
90 |
+
Overflow Count 0
|
91 |
+
[ALLOC_TEMP_Background Job.Worker 14]
|
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_Background Job.Worker 6]
|
97 |
+
Initial Block Size 32.0 KB
|
98 |
+
Current Block Size 32.0 KB
|
99 |
+
Peak Allocated Bytes 54 B
|
100 |
+
Overflow Count 0
|
101 |
+
[ALLOC_TEMP_Job.Worker 4]
|
102 |
+
Initial Block Size 256.0 KB
|
103 |
+
Current Block Size 256.0 KB
|
104 |
+
Peak Allocated Bytes 0 B
|
105 |
+
Overflow Count 0
|
106 |
+
[ALLOC_TEMP_Job.Worker 14]
|
107 |
+
Initial Block Size 256.0 KB
|
108 |
+
Current Block Size 256.0 KB
|
109 |
+
Peak Allocated Bytes 54 B
|
110 |
+
Overflow Count 0
|
111 |
+
[ALLOC_TEMP_Job.Worker 3]
|
112 |
+
Initial Block Size 256.0 KB
|
113 |
+
Current Block Size 256.0 KB
|
114 |
+
Peak Allocated Bytes 0 B
|
115 |
+
Overflow Count 0
|
116 |
+
[ALLOC_TEMP_Job.Worker 13]
|
117 |
+
Initial Block Size 256.0 KB
|
118 |
+
Current Block Size 256.0 KB
|
119 |
+
Peak Allocated Bytes 54 B
|
120 |
+
Overflow Count 0
|
121 |
+
[ALLOC_TEMP_Background Job.Worker 12]
|
122 |
+
Initial Block Size 32.0 KB
|
123 |
+
Current Block Size 32.0 KB
|
124 |
+
Peak Allocated Bytes 54 B
|
125 |
+
Overflow Count 0
|
126 |
+
[ALLOC_TEMP_EnlightenWorker] x 8
|
127 |
+
Initial Block Size 64.0 KB
|
128 |
+
Current Block Size 64.0 KB
|
129 |
+
Peak Allocated Bytes 54 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 54 B
|
135 |
+
Overflow Count 0
|
136 |
+
[ALLOC_TEMP_Background Job.Worker 1]
|
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 2]
|
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 7]
|
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_AssetGarbageCollectorHelper] x 15
|
152 |
+
Initial Block Size 64.0 KB
|
153 |
+
Current Block Size 64.0 KB
|
154 |
+
Peak Allocated Bytes 0 B
|
155 |
+
Overflow Count 0
|
156 |
+
[ALLOC_TEMP_Background Job.Worker 5]
|
157 |
+
Initial Block Size 32.0 KB
|
158 |
+
Current Block Size 32.0 KB
|
159 |
+
Peak Allocated Bytes 54 B
|
160 |
+
Overflow Count 0
|
161 |
+
[ALLOC_TEMP_Job.Worker 9]
|
162 |
+
Initial Block Size 256.0 KB
|
163 |
+
Current Block Size 256.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 54 B
|
170 |
+
Overflow Count 0
|
171 |
+
[ALLOC_TEMP_Job.Worker 8]
|
172 |
+
Initial Block Size 256.0 KB
|
173 |
+
Current Block Size 256.0 KB
|
174 |
+
Peak Allocated Bytes 0.8 KB
|
175 |
+
Overflow Count 0
|
176 |
+
[ALLOC_TEMP_Job.Worker 7]
|
177 |
+
Initial Block Size 256.0 KB
|
178 |
+
Current Block Size 256.0 KB
|
179 |
+
Peak Allocated Bytes 0 B
|
180 |
+
Overflow Count 0
|
181 |
+
[ALLOC_TEMP_Job.Worker 1]
|
182 |
+
Initial Block Size 256.0 KB
|
183 |
+
Current Block Size 256.0 KB
|
184 |
+
Peak Allocated Bytes 0 B
|
185 |
+
Overflow Count 0
|
186 |
+
[ALLOC_TEMP_Job.Worker 2]
|
187 |
+
Initial Block Size 256.0 KB
|
188 |
+
Current Block Size 256.0 KB
|
189 |
+
Peak Allocated Bytes 0 B
|
190 |
+
Overflow Count 0
|
191 |
+
[ALLOC_TEMP_Background Job.Worker 3]
|
192 |
+
Initial Block Size 32.0 KB
|
193 |
+
Current Block Size 32.0 KB
|
194 |
+
Peak Allocated Bytes 54 B
|
195 |
+
Overflow Count 0
|
196 |
+
[ALLOC_TEMP_Background Job.Worker 11]
|
197 |
+
Initial Block Size 32.0 KB
|
198 |
+
Current Block Size 32.0 KB
|
199 |
+
Peak Allocated Bytes 54 B
|
200 |
+
Overflow Count 0
|
201 |
+
[ALLOC_TEMP_Job.Worker 10]
|
202 |
+
Initial Block Size 256.0 KB
|
203 |
+
Current Block Size 256.0 KB
|
204 |
+
Peak Allocated Bytes 54 B
|
205 |
+
Overflow Count 0
|
206 |
+
[ALLOC_TEMP_Background Job.Worker 0]
|
207 |
+
Initial Block Size 32.0 KB
|
208 |
+
Current Block Size 32.0 KB
|
209 |
+
Peak Allocated Bytes 54 B
|
210 |
+
Overflow Count 0
|
211 |
+
[ALLOC_TEMP_Job.Worker 11]
|
212 |
+
Initial Block Size 256.0 KB
|
213 |
+
Current Block Size 256.0 KB
|
214 |
+
Peak Allocated Bytes 54 B
|
215 |
+
Overflow Count 0
|
216 |
+
[ALLOC_TEMP_Job.Worker 12]
|
217 |
+
Initial Block Size 256.0 KB
|
218 |
+
Current Block Size 256.0 KB
|
219 |
+
Peak Allocated Bytes 54 B
|
220 |
+
Overflow Count 0
|
221 |
+
[ALLOC_TEMP_Background Job.Worker 4]
|
222 |
+
Initial Block Size 32.0 KB
|
223 |
+
Current Block Size 32.0 KB
|
224 |
+
Peak Allocated Bytes 54 B
|
225 |
+
Overflow Count 0
|
226 |
+
[ALLOC_TEMP_BatchDeleteObjects]
|
227 |
+
Initial Block Size 64.0 KB
|
228 |
+
Current Block Size 64.0 KB
|
229 |
+
Peak Allocated Bytes 54 B
|
230 |
+
Overflow Count 0
|
231 |
+
[ALLOC_DEFAULT] Dual Thread Allocator
|
232 |
+
Peak main deferred allocation count 2
|
233 |
+
[ALLOC_BUCKET]
|
234 |
+
Large Block size 4.0 MB
|
235 |
+
Used Block count 1
|
236 |
+
Peak Allocated bytes 0.9 MB
|
237 |
+
[ALLOC_DEFAULT_MAIN]
|
238 |
+
Peak usage frame count: [4.0 MB-8.0 MB]: 122 frames
|
239 |
+
Requested Block Size 16.0 MB
|
240 |
+
Peak Block count 1
|
241 |
+
Peak Allocated memory 5.0 MB
|
242 |
+
Peak Large allocation bytes 0 B
|
243 |
+
[ALLOC_DEFAULT_THREAD]
|
244 |
+
Peak usage frame count: [16.0 MB-32.0 MB]: 122 frames
|
245 |
+
Requested Block Size 16.0 MB
|
246 |
+
Peak Block count 1
|
247 |
+
Peak Allocated memory 17.3 MB
|
248 |
+
Peak Large allocation bytes 16.0 MB
|
249 |
+
[ALLOC_TEMP_JOB_1_FRAME]
|
250 |
+
Initial Block Size 2.0 MB
|
251 |
+
Used Block Count 1
|
252 |
+
Overflow Count (too large) 0
|
253 |
+
Overflow Count (full) 0
|
254 |
+
[ALLOC_TEMP_JOB_2_FRAMES]
|
255 |
+
Initial Block Size 2.0 MB
|
256 |
+
Used Block Count 1
|
257 |
+
Overflow Count (too large) 0
|
258 |
+
Overflow Count (full) 0
|
259 |
+
[ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
|
260 |
+
Initial Block Size 2.0 MB
|
261 |
+
Used Block Count 2
|
262 |
+
Overflow Count (too large) 0
|
263 |
+
Overflow Count (full) 0
|
264 |
+
[ALLOC_TEMP_JOB_ASYNC (Background)]
|
265 |
+
Initial Block Size 1.0 MB
|
266 |
+
Used Block Count 3
|
267 |
+
Overflow Count (too large) 0
|
268 |
+
Overflow Count (full) 0
|
269 |
+
[ALLOC_GFX] Dual Thread Allocator
|
270 |
+
Peak main deferred allocation count 0
|
271 |
+
[ALLOC_BUCKET]
|
272 |
+
Large Block size 4.0 MB
|
273 |
+
Used Block count 1
|
274 |
+
Peak Allocated bytes 0.9 MB
|
275 |
+
[ALLOC_GFX_MAIN]
|
276 |
+
Peak usage frame count: [32.0 KB-64.0 KB]: 121 frames, [64.0 KB-128.0 KB]: 1 frames
|
277 |
+
Requested Block Size 16.0 MB
|
278 |
+
Peak Block count 1
|
279 |
+
Peak Allocated memory 65.6 KB
|
280 |
+
Peak Large allocation bytes 0 B
|
281 |
+
[ALLOC_GFX_THREAD]
|
282 |
+
Peak usage frame count: [128.0 KB-256.0 KB]: 122 frames
|
283 |
+
Requested Block Size 16.0 MB
|
284 |
+
Peak Block count 1
|
285 |
+
Peak Allocated memory 173.6 KB
|
286 |
+
Peak Large allocation bytes 0 B
|
287 |
+
[ALLOC_CACHEOBJECTS] Dual Thread Allocator
|
288 |
+
Peak main deferred allocation count 2
|
289 |
+
[ALLOC_BUCKET]
|
290 |
+
Large Block size 4.0 MB
|
291 |
+
Used Block count 1
|
292 |
+
Peak Allocated bytes 0.9 MB
|
293 |
+
[ALLOC_CACHEOBJECTS_MAIN]
|
294 |
+
Peak usage frame count: [0.5 MB-1.0 MB]: 122 frames
|
295 |
+
Requested Block Size 4.0 MB
|
296 |
+
Peak Block count 1
|
297 |
+
Peak Allocated memory 0.6 MB
|
298 |
+
Peak Large allocation bytes 0 B
|
299 |
+
[ALLOC_CACHEOBJECTS_THREAD]
|
300 |
+
Peak usage frame count: [0.5 MB-1.0 MB]: 121 frames, [2.0 MB-4.0 MB]: 1 frames
|
301 |
+
Requested Block Size 4.0 MB
|
302 |
+
Peak Block count 1
|
303 |
+
Peak Allocated memory 2.2 MB
|
304 |
+
Peak Large allocation bytes 0 B
|
305 |
+
[ALLOC_TYPETREE] Dual Thread Allocator
|
306 |
+
Peak main deferred allocation count 0
|
307 |
+
[ALLOC_BUCKET]
|
308 |
+
Large Block size 4.0 MB
|
309 |
+
Used Block count 1
|
310 |
+
Peak Allocated bytes 0.9 MB
|
311 |
+
[ALLOC_TYPETREE_MAIN]
|
312 |
+
Peak usage frame count: [0-1.0 KB]: 122 frames
|
313 |
+
Requested Block Size 2.0 MB
|
314 |
+
Peak Block count 1
|
315 |
+
Peak Allocated memory 1.0 KB
|
316 |
+
Peak Large allocation bytes 0 B
|
317 |
+
[ALLOC_TYPETREE_THREAD]
|
318 |
+
Peak usage frame count: [1.0 KB-2.0 KB]: 121 frames, [2.0 KB-4.0 KB]: 1 frames
|
319 |
+
Requested Block Size 2.0 MB
|
320 |
+
Peak Block count 1
|
321 |
+
Peak Allocated memory 2.2 KB
|
322 |
+
Peak Large allocation bytes 0 B
|
run_logs/timers.json
ADDED
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "root",
|
3 |
+
"metadata": {
|
4 |
+
"timer_format_version": "0.1.0",
|
5 |
+
"start_time_seconds": "1678801900",
|
6 |
+
"python_version": "3.8.16 (default, Mar 2 2023, 03:18:16) [MSC v.1916 64 bit (AMD64)]",
|
7 |
+
"command_line_arguments": "C:\\Users\\drinu\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos2 --no-graphics",
|
8 |
+
"mlagents_version": "0.31.0.dev0",
|
9 |
+
"mlagents_envs_version": "0.31.0.dev0",
|
10 |
+
"communication_protocol_version": "1.5.0",
|
11 |
+
"pytorch_version": "1.13.1+cpu",
|
12 |
+
"numpy_version": "1.21.2",
|
13 |
+
"end_time_seconds": "1678801918"
|
14 |
+
},
|
15 |
+
"total": 17.5395224,
|
16 |
+
"count": 1,
|
17 |
+
"self": 0.6287693999999995,
|
18 |
+
"children": {
|
19 |
+
"run_training.setup": {
|
20 |
+
"total": 0.19995029999999936,
|
21 |
+
"count": 1,
|
22 |
+
"self": 0.19995029999999936
|
23 |
+
},
|
24 |
+
"TrainerController.start_learning": {
|
25 |
+
"total": 16.710802700000002,
|
26 |
+
"count": 1,
|
27 |
+
"self": 0.009203199999987532,
|
28 |
+
"children": {
|
29 |
+
"TrainerController._reset_env": {
|
30 |
+
"total": 8.6818525,
|
31 |
+
"count": 1,
|
32 |
+
"self": 8.6818525
|
33 |
+
},
|
34 |
+
"TrainerController.advance": {
|
35 |
+
"total": 7.879091000000015,
|
36 |
+
"count": 406,
|
37 |
+
"self": 0.009888100000038591,
|
38 |
+
"children": {
|
39 |
+
"env_step": {
|
40 |
+
"total": 7.3669578000000016,
|
41 |
+
"count": 406,
|
42 |
+
"self": 5.744695200000031,
|
43 |
+
"children": {
|
44 |
+
"SubprocessEnvManager._take_step": {
|
45 |
+
"total": 1.6163890999999797,
|
46 |
+
"count": 406,
|
47 |
+
"self": 0.07058639999992522,
|
48 |
+
"children": {
|
49 |
+
"TorchPolicy.evaluate": {
|
50 |
+
"total": 1.5458027000000545,
|
51 |
+
"count": 812,
|
52 |
+
"self": 1.5458027000000545
|
53 |
+
}
|
54 |
+
}
|
55 |
+
},
|
56 |
+
"workers": {
|
57 |
+
"total": 0.005873499999990983,
|
58 |
+
"count": 406,
|
59 |
+
"self": 0.0,
|
60 |
+
"children": {
|
61 |
+
"worker_root": {
|
62 |
+
"total": 7.700616399999996,
|
63 |
+
"count": 406,
|
64 |
+
"is_parallel": true,
|
65 |
+
"self": 3.1664236999999904,
|
66 |
+
"children": {
|
67 |
+
"steps_from_proto": {
|
68 |
+
"total": 0.001934499999999062,
|
69 |
+
"count": 2,
|
70 |
+
"is_parallel": true,
|
71 |
+
"self": 0.0003811000000020215,
|
72 |
+
"children": {
|
73 |
+
"_process_rank_one_or_two_observation": {
|
74 |
+
"total": 0.0015533999999970405,
|
75 |
+
"count": 8,
|
76 |
+
"is_parallel": true,
|
77 |
+
"self": 0.0015533999999970405
|
78 |
+
}
|
79 |
+
}
|
80 |
+
},
|
81 |
+
"UnityEnvironment.step": {
|
82 |
+
"total": 4.5322582000000065,
|
83 |
+
"count": 406,
|
84 |
+
"is_parallel": true,
|
85 |
+
"self": 0.2713846000000455,
|
86 |
+
"children": {
|
87 |
+
"UnityEnvironment._generate_step_input": {
|
88 |
+
"total": 0.2565434000000195,
|
89 |
+
"count": 406,
|
90 |
+
"is_parallel": true,
|
91 |
+
"self": 0.2565434000000195
|
92 |
+
},
|
93 |
+
"communicator.exchange": {
|
94 |
+
"total": 3.186826099999994,
|
95 |
+
"count": 406,
|
96 |
+
"is_parallel": true,
|
97 |
+
"self": 3.186826099999994
|
98 |
+
},
|
99 |
+
"steps_from_proto": {
|
100 |
+
"total": 0.8175040999999474,
|
101 |
+
"count": 812,
|
102 |
+
"is_parallel": true,
|
103 |
+
"self": 0.1579655999999936,
|
104 |
+
"children": {
|
105 |
+
"_process_rank_one_or_two_observation": {
|
106 |
+
"total": 0.6595384999999538,
|
107 |
+
"count": 3248,
|
108 |
+
"is_parallel": true,
|
109 |
+
"self": 0.6595384999999538
|
110 |
+
}
|
111 |
+
}
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|
116 |
+
}
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
},
|
121 |
+
"trainer_advance": {
|
122 |
+
"total": 0.5022450999999748,
|
123 |
+
"count": 406,
|
124 |
+
"self": 0.026131100000013063,
|
125 |
+
"children": {
|
126 |
+
"process_trajectory": {
|
127 |
+
"total": 0.47611399999996173,
|
128 |
+
"count": 406,
|
129 |
+
"self": 0.47611399999996173
|
130 |
+
}
|
131 |
+
}
|
132 |
+
}
|
133 |
+
}
|
134 |
+
},
|
135 |
+
"trainer_threads": {
|
136 |
+
"total": 8.000000022434506e-07,
|
137 |
+
"count": 1,
|
138 |
+
"self": 8.000000022434506e-07
|
139 |
+
},
|
140 |
+
"TrainerController._save_models": {
|
141 |
+
"total": 0.14065519999999765,
|
142 |
+
"count": 1,
|
143 |
+
"self": 0.008204899999995519,
|
144 |
+
"children": {
|
145 |
+
"RLTrainer._checkpoint": {
|
146 |
+
"total": 0.13245030000000213,
|
147 |
+
"count": 1,
|
148 |
+
"self": 0.13245030000000213
|
149 |
+
}
|
150 |
+
}
|
151 |
+
}
|
152 |
+
}
|
153 |
+
}
|
154 |
+
}
|
155 |
+
}
|
run_logs/training_status.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"SoccerTwos": {
|
3 |
+
"elo": 1201.9913820042966,
|
4 |
+
"checkpoints": [
|
5 |
+
{
|
6 |
+
"steps": 1568,
|
7 |
+
"file_path": "results\\SoccerTwos2\\SoccerTwos\\SoccerTwos-1568.onnx",
|
8 |
+
"reward": 0.0,
|
9 |
+
"creation_time": 1678801917.7053246,
|
10 |
+
"auxillary_file_paths": [
|
11 |
+
"results\\SoccerTwos2\\SoccerTwos\\SoccerTwos-1568.pt"
|
12 |
+
]
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"final_checkpoint": {
|
16 |
+
"steps": 1568,
|
17 |
+
"file_path": "results\\SoccerTwos2\\SoccerTwos.onnx",
|
18 |
+
"reward": 0.0,
|
19 |
+
"creation_time": 1678801917.7053246,
|
20 |
+
"auxillary_file_paths": [
|
21 |
+
"results\\SoccerTwos2\\SoccerTwos\\SoccerTwos-1568.pt"
|
22 |
+
]
|
23 |
+
}
|
24 |
+
},
|
25 |
+
"metadata": {
|
26 |
+
"stats_format_version": "0.3.0",
|
27 |
+
"mlagents_version": "0.31.0.dev0",
|
28 |
+
"torch_version": "1.13.1+cpu"
|
29 |
+
}
|
30 |
+
}
|