infinitejoy
commited on
Commit
•
1f091b8
1
Parent(s):
d30bf65
default parameters training
Browse files- .DS_Store +3 -0
- .gitattributes +2 -0
- Crawler.onnx +3 -0
- Crawler/Crawler-10000355.onnx +3 -0
- Crawler/Crawler-10000355.pt +3 -0
- Crawler/Crawler-8499475.onnx +3 -0
- Crawler/Crawler-8499475.pt +3 -0
- Crawler/Crawler-8999283.onnx +3 -0
- Crawler/Crawler-8999283.pt +3 -0
- Crawler/Crawler-9499691.onnx +3 -0
- Crawler/Crawler-9499691.pt +3 -0
- Crawler/Crawler-9999355.onnx +3 -0
- Crawler/Crawler-9999355.pt +3 -0
- Crawler/checkpoint.pt +3 -0
- Crawler/events.out.tfevents.1657940151.Joydeeps-MacBook-Pro.local.56438.0 +3 -0
- README.md +31 -0
- config.json +1 -0
- configuration.yaml +75 -0
- run_logs/Player-0.log +3 -0
- run_logs/timers.json +327 -0
- run_logs/training_status.json +65 -0
.DS_Store
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1193e8cb5bc5289f07d81d84e3fcc21b031ab5b793b625cc36298e5f3b6396ba
|
3 |
+
size 6148
|
.gitattributes
CHANGED
@@ -25,3 +25,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
run_logs/Player-0.log filter=lfs diff=lfs merge=lfs -text
|
29 |
+
.DS_Store filter=lfs diff=lfs merge=lfs -text
|
Crawler.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd1b5412d042c641eaae50cf1cf88541adaa04682c42d1446f3857e15ad4ef56
|
3 |
+
size 2472170
|
Crawler/Crawler-10000355.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd1b5412d042c641eaae50cf1cf88541adaa04682c42d1446f3857e15ad4ef56
|
3 |
+
size 2472170
|
Crawler/Crawler-10000355.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbf70abaf4b26d61bbad46bc08f388460bd7c200d908cde34f77ba5915f5ed3c
|
3 |
+
size 14720683
|
Crawler/Crawler-8499475.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d464ba4f05930b192cf195cbd09099cc286116c7e795fa8f83b68d30c54a6e3c
|
3 |
+
size 2472170
|
Crawler/Crawler-8499475.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9037f01fc1e4c0fb85a1b741ee69f0a8b51523b1eed57a3ab426a3f3e5d3b8f4
|
3 |
+
size 14720683
|
Crawler/Crawler-8999283.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbb97ec2968cbb306d21d5963a7cfa4d854ddb444ab33cd704938a1ccd397d6d
|
3 |
+
size 2472170
|
Crawler/Crawler-8999283.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a437f4ce661bf1c8059575319f58fd881c9e786caf09d85317aad843ab084973
|
3 |
+
size 14720683
|
Crawler/Crawler-9499691.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2384d4d0dc77be0aa1390d2df8c250f37b67c8af851823b2139f7d872d6347b9
|
3 |
+
size 2472170
|
Crawler/Crawler-9499691.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d19f4d6824b9eb20abed96d1b3e4172ac6fce6cc1be738cd33f2972aacb3f98d
|
3 |
+
size 14720683
|
Crawler/Crawler-9999355.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb3b7eed349ea699722d3bfa554d97a01f496cddbe964d2dc6bbb274cbf55af1
|
3 |
+
size 2472170
|
Crawler/Crawler-9999355.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a75bb497a00e93bfa84a92f6bd2a0615513e9c167f8a2c333f76ff6e733a207
|
3 |
+
size 14720683
|
Crawler/checkpoint.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbf70abaf4b26d61bbad46bc08f388460bd7c200d908cde34f77ba5915f5ed3c
|
3 |
+
size 14720683
|
Crawler/events.out.tfevents.1657940151.Joydeeps-MacBook-Pro.local.56438.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4c9098fc4948a8a0a4890cb1f9081ad12aae6bb6b0e3fe591095c98c43a62be
|
3 |
+
size 1476975
|
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-Crawler
|
9 |
+
library_name: ml-agents
|
10 |
+
---
|
11 |
+
|
12 |
+
# **ppo** Agent playing **Crawler**
|
13 |
+
This is a trained model of a **ppo** agent playing **Crawler** 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-Crawler
|
28 |
+
2. Step 1: Write your model_id: infinitejoy/MLAgents-Crawler
|
29 |
+
3. Step 2: Select your *.nn /*.onnx file
|
30 |
+
4. Click on Watch the agent play 👀
|
31 |
+
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"default_settings": null, "behaviors": {"Crawler": {"trainer_type": "ppo", "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": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "network_settings": {"normalize": true, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.995, "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, "checkpoint_interval": 500000, "max_steps": 10000000, "time_horizon": 1000, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-envs-executables/macos/crawler/crawler", "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": "firstCrawlerRun2", "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,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
default_settings: null
|
2 |
+
behaviors:
|
3 |
+
Crawler:
|
4 |
+
trainer_type: ppo
|
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: linear
|
14 |
+
beta_schedule: linear
|
15 |
+
epsilon_schedule: linear
|
16 |
+
network_settings:
|
17 |
+
normalize: true
|
18 |
+
hidden_units: 512
|
19 |
+
num_layers: 3
|
20 |
+
vis_encode_type: simple
|
21 |
+
memory: null
|
22 |
+
goal_conditioning_type: hyper
|
23 |
+
deterministic: false
|
24 |
+
reward_signals:
|
25 |
+
extrinsic:
|
26 |
+
gamma: 0.995
|
27 |
+
strength: 1.0
|
28 |
+
network_settings:
|
29 |
+
normalize: false
|
30 |
+
hidden_units: 128
|
31 |
+
num_layers: 2
|
32 |
+
vis_encode_type: simple
|
33 |
+
memory: null
|
34 |
+
goal_conditioning_type: hyper
|
35 |
+
deterministic: false
|
36 |
+
init_path: null
|
37 |
+
keep_checkpoints: 5
|
38 |
+
checkpoint_interval: 500000
|
39 |
+
max_steps: 10000000
|
40 |
+
time_horizon: 1000
|
41 |
+
summary_freq: 30000
|
42 |
+
threaded: false
|
43 |
+
self_play: null
|
44 |
+
behavioral_cloning: null
|
45 |
+
env_settings:
|
46 |
+
env_path: ./trained-envs-executables/macos/crawler/crawler
|
47 |
+
env_args: null
|
48 |
+
base_port: 5005
|
49 |
+
num_envs: 1
|
50 |
+
num_areas: 1
|
51 |
+
seed: -1
|
52 |
+
max_lifetime_restarts: 10
|
53 |
+
restarts_rate_limit_n: 1
|
54 |
+
restarts_rate_limit_period_s: 60
|
55 |
+
engine_settings:
|
56 |
+
width: 84
|
57 |
+
height: 84
|
58 |
+
quality_level: 5
|
59 |
+
time_scale: 20
|
60 |
+
target_frame_rate: -1
|
61 |
+
capture_frame_rate: 60
|
62 |
+
no_graphics: true
|
63 |
+
environment_parameters: null
|
64 |
+
checkpoint_settings:
|
65 |
+
run_id: firstCrawlerRun2
|
66 |
+
initialize_from: null
|
67 |
+
load_model: false
|
68 |
+
resume: false
|
69 |
+
force: false
|
70 |
+
train_model: false
|
71 |
+
inference: false
|
72 |
+
results_dir: results
|
73 |
+
torch_settings:
|
74 |
+
device: null
|
75 |
+
debug: false
|
run_logs/Player-0.log
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b594c9648038f056b36d4d5e058c67fc024d18369abe013f3f7718bab0ebe14
|
3 |
+
size 96835713
|
run_logs/timers.json
ADDED
@@ -0,0 +1,327 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "root",
|
3 |
+
"gauges": {
|
4 |
+
"Crawler.Policy.Entropy.mean": {
|
5 |
+
"value": 1.2496061325073242,
|
6 |
+
"min": 1.2496057748794556,
|
7 |
+
"max": 1.4187427759170532,
|
8 |
+
"count": 333
|
9 |
+
},
|
10 |
+
"Crawler.Policy.Entropy.sum": {
|
11 |
+
"value": 37488.18359375,
|
12 |
+
"min": 35124.23828125,
|
13 |
+
"max": 44984.64453125,
|
14 |
+
"count": 333
|
15 |
+
},
|
16 |
+
"Crawler.Environment.EpisodeLength.mean": {
|
17 |
+
"value": 999.0,
|
18 |
+
"min": 6.280029119145838,
|
19 |
+
"max": 999.0,
|
20 |
+
"count": 333
|
21 |
+
},
|
22 |
+
"Crawler.Environment.EpisodeLength.sum": {
|
23 |
+
"value": 29970.0,
|
24 |
+
"min": 25880.0,
|
25 |
+
"max": 30867.0,
|
26 |
+
"count": 333
|
27 |
+
},
|
28 |
+
"Crawler.Step.mean": {
|
29 |
+
"value": 9989355.0,
|
30 |
+
"min": 29994.0,
|
31 |
+
"max": 9989355.0,
|
32 |
+
"count": 333
|
33 |
+
},
|
34 |
+
"Crawler.Step.sum": {
|
35 |
+
"value": 9989355.0,
|
36 |
+
"min": 29994.0,
|
37 |
+
"max": 9989355.0,
|
38 |
+
"count": 333
|
39 |
+
},
|
40 |
+
"Crawler.Policy.ExtrinsicValueEstimate.mean": {
|
41 |
+
"value": 543.0842895507812,
|
42 |
+
"min": -0.9754056930541992,
|
43 |
+
"max": 644.7567138671875,
|
44 |
+
"count": 333
|
45 |
+
},
|
46 |
+
"Crawler.Policy.ExtrinsicValueEstimate.sum": {
|
47 |
+
"value": 16292.529296875,
|
48 |
+
"min": -3863.58203125,
|
49 |
+
"max": 19817.427734375,
|
50 |
+
"count": 333
|
51 |
+
},
|
52 |
+
"Crawler.Environment.CumulativeReward.mean": {
|
53 |
+
"value": 2699.875163777669,
|
54 |
+
"min": -0.9966317880211525,
|
55 |
+
"max": 3193.4734334309896,
|
56 |
+
"count": 333
|
57 |
+
},
|
58 |
+
"Crawler.Environment.CumulativeReward.sum": {
|
59 |
+
"value": 80996.25491333008,
|
60 |
+
"min": -4106.122966647148,
|
61 |
+
"max": 95804.20300292969,
|
62 |
+
"count": 333
|
63 |
+
},
|
64 |
+
"Crawler.Policy.ExtrinsicReward.mean": {
|
65 |
+
"value": 2699.875163777669,
|
66 |
+
"min": -0.9966317880211525,
|
67 |
+
"max": 3193.4734334309896,
|
68 |
+
"count": 333
|
69 |
+
},
|
70 |
+
"Crawler.Policy.ExtrinsicReward.sum": {
|
71 |
+
"value": 80996.25491333008,
|
72 |
+
"min": -4106.122966647148,
|
73 |
+
"max": 95804.20300292969,
|
74 |
+
"count": 333
|
75 |
+
},
|
76 |
+
"Crawler.Losses.PolicyLoss.mean": {
|
77 |
+
"value": 0.01621496935331379,
|
78 |
+
"min": 0.011323035595705733,
|
79 |
+
"max": 0.02383574066722455,
|
80 |
+
"count": 333
|
81 |
+
},
|
82 |
+
"Crawler.Losses.PolicyLoss.sum": {
|
83 |
+
"value": 0.03242993870662758,
|
84 |
+
"min": 0.011323035595705733,
|
85 |
+
"max": 0.04382150264379258,
|
86 |
+
"count": 333
|
87 |
+
},
|
88 |
+
"Crawler.Losses.ValueLoss.mean": {
|
89 |
+
"value": 315.69726842244467,
|
90 |
+
"min": 0.008139611947505425,
|
91 |
+
"max": 739.1517125447591,
|
92 |
+
"count": 333
|
93 |
+
},
|
94 |
+
"Crawler.Losses.ValueLoss.sum": {
|
95 |
+
"value": 631.3945368448893,
|
96 |
+
"min": 0.0153298440699776,
|
97 |
+
"max": 1478.3034250895182,
|
98 |
+
"count": 333
|
99 |
+
},
|
100 |
+
"Crawler.Policy.LearningRate.mean": {
|
101 |
+
"value": 8.144497285499859e-07,
|
102 |
+
"min": 8.144497285499859e-07,
|
103 |
+
"max": 0.0002993854802048401,
|
104 |
+
"count": 333
|
105 |
+
},
|
106 |
+
"Crawler.Policy.LearningRate.sum": {
|
107 |
+
"value": 1.6288994570999717e-06,
|
108 |
+
"min": 1.6288994570999717e-06,
|
109 |
+
"max": 0.0005956972514342499,
|
110 |
+
"count": 333
|
111 |
+
},
|
112 |
+
"Crawler.Policy.Epsilon.mean": {
|
113 |
+
"value": 0.10027145000000004,
|
114 |
+
"min": 0.10027145000000004,
|
115 |
+
"max": 0.19979515999999997,
|
116 |
+
"count": 333
|
117 |
+
},
|
118 |
+
"Crawler.Policy.Epsilon.sum": {
|
119 |
+
"value": 0.20054290000000008,
|
120 |
+
"min": 0.10058348000000002,
|
121 |
+
"max": 0.39856574999999994,
|
122 |
+
"count": 333
|
123 |
+
},
|
124 |
+
"Crawler.Policy.Beta.mean": {
|
125 |
+
"value": 2.3545354999999763e-05,
|
126 |
+
"min": 2.3545354999999763e-05,
|
127 |
+
"max": 0.004989778484000002,
|
128 |
+
"count": 333
|
129 |
+
},
|
130 |
+
"Crawler.Policy.Beta.sum": {
|
131 |
+
"value": 4.7090709999999526e-05,
|
132 |
+
"min": 3.911565200000015e-05,
|
133 |
+
"max": 0.009928430924999999,
|
134 |
+
"count": 333
|
135 |
+
},
|
136 |
+
"Crawler.IsTraining.mean": {
|
137 |
+
"value": 1.0,
|
138 |
+
"min": 1.0,
|
139 |
+
"max": 1.0,
|
140 |
+
"count": 333
|
141 |
+
},
|
142 |
+
"Crawler.IsTraining.sum": {
|
143 |
+
"value": 1.0,
|
144 |
+
"min": 1.0,
|
145 |
+
"max": 1.0,
|
146 |
+
"count": 333
|
147 |
+
}
|
148 |
+
},
|
149 |
+
"metadata": {
|
150 |
+
"timer_format_version": "0.1.0",
|
151 |
+
"start_time_seconds": "1657940144",
|
152 |
+
"python_version": "3.8.13 (default, Mar 28 2022, 06:16:26) \n[Clang 12.0.0 ]",
|
153 |
+
"command_line_arguments": "/usr/local/Caskroom/miniconda/base/envs/ml-agents/bin/mlagents-learn ./config/ppo/Crawler.yaml --run-id=firstCrawlerRun2 --env=./trained-envs-executables/macos/crawler/crawler --no-graphics",
|
154 |
+
"mlagents_version": "0.29.0.dev0",
|
155 |
+
"mlagents_envs_version": "0.29.0.dev0",
|
156 |
+
"communication_protocol_version": "1.5.0",
|
157 |
+
"pytorch_version": "1.8.1",
|
158 |
+
"numpy_version": "1.22.3",
|
159 |
+
"end_time_seconds": "1657953290"
|
160 |
+
},
|
161 |
+
"total": 13145.160775676999,
|
162 |
+
"count": 1,
|
163 |
+
"self": 2.665349953000259,
|
164 |
+
"children": {
|
165 |
+
"run_training.setup": {
|
166 |
+
"total": 0.12322844799999988,
|
167 |
+
"count": 1,
|
168 |
+
"self": 0.12322844799999988
|
169 |
+
},
|
170 |
+
"TrainerController.start_learning": {
|
171 |
+
"total": 13142.372197276,
|
172 |
+
"count": 1,
|
173 |
+
"self": 17.56792155043513,
|
174 |
+
"children": {
|
175 |
+
"TrainerController._reset_env": {
|
176 |
+
"total": 6.074063103,
|
177 |
+
"count": 1,
|
178 |
+
"self": 6.074063103
|
179 |
+
},
|
180 |
+
"TrainerController.advance": {
|
181 |
+
"total": 13118.568145658564,
|
182 |
+
"count": 1027807,
|
183 |
+
"self": 18.8558634413057,
|
184 |
+
"children": {
|
185 |
+
"env_step": {
|
186 |
+
"total": 7102.594597130537,
|
187 |
+
"count": 1027807,
|
188 |
+
"self": 6080.985495180506,
|
189 |
+
"children": {
|
190 |
+
"SubprocessEnvManager._take_step": {
|
191 |
+
"total": 1009.4610152328596,
|
192 |
+
"count": 1027807,
|
193 |
+
"self": 69.22106638543596,
|
194 |
+
"children": {
|
195 |
+
"TorchPolicy.evaluate": {
|
196 |
+
"total": 940.2399488474236,
|
197 |
+
"count": 1000489,
|
198 |
+
"self": 107.81764790640273,
|
199 |
+
"children": {
|
200 |
+
"TorchPolicy.sample_actions": {
|
201 |
+
"total": 832.4223009410209,
|
202 |
+
"count": 1000489,
|
203 |
+
"self": 832.4223009410209
|
204 |
+
}
|
205 |
+
}
|
206 |
+
}
|
207 |
+
}
|
208 |
+
},
|
209 |
+
"workers": {
|
210 |
+
"total": 12.148086717170772,
|
211 |
+
"count": 1027807,
|
212 |
+
"self": 0.0,
|
213 |
+
"children": {
|
214 |
+
"worker_root": {
|
215 |
+
"total": 13108.635062904732,
|
216 |
+
"count": 1027807,
|
217 |
+
"is_parallel": true,
|
218 |
+
"self": 8061.124921998285,
|
219 |
+
"children": {
|
220 |
+
"steps_from_proto": {
|
221 |
+
"total": 0.0022136159999996963,
|
222 |
+
"count": 1,
|
223 |
+
"is_parallel": true,
|
224 |
+
"self": 0.00018154299999917356,
|
225 |
+
"children": {
|
226 |
+
"_process_rank_one_or_two_observation": {
|
227 |
+
"total": 0.0020320730000005227,
|
228 |
+
"count": 4,
|
229 |
+
"is_parallel": true,
|
230 |
+
"self": 0.0020320730000005227
|
231 |
+
}
|
232 |
+
}
|
233 |
+
},
|
234 |
+
"UnityEnvironment.step": {
|
235 |
+
"total": 5047.507927290448,
|
236 |
+
"count": 1027807,
|
237 |
+
"is_parallel": true,
|
238 |
+
"self": 206.75659516771339,
|
239 |
+
"children": {
|
240 |
+
"UnityEnvironment._generate_step_input": {
|
241 |
+
"total": 236.23360212033583,
|
242 |
+
"count": 1027807,
|
243 |
+
"is_parallel": true,
|
244 |
+
"self": 236.23360212033583
|
245 |
+
},
|
246 |
+
"communicator.exchange": {
|
247 |
+
"total": 4144.918075543047,
|
248 |
+
"count": 1027807,
|
249 |
+
"is_parallel": true,
|
250 |
+
"self": 4144.918075543047
|
251 |
+
},
|
252 |
+
"steps_from_proto": {
|
253 |
+
"total": 459.5996544593521,
|
254 |
+
"count": 1027807,
|
255 |
+
"is_parallel": true,
|
256 |
+
"self": 122.03838465066355,
|
257 |
+
"children": {
|
258 |
+
"_process_rank_one_or_two_observation": {
|
259 |
+
"total": 337.56126980868856,
|
260 |
+
"count": 4111228,
|
261 |
+
"is_parallel": true,
|
262 |
+
"self": 337.56126980868856
|
263 |
+
}
|
264 |
+
}
|
265 |
+
}
|
266 |
+
}
|
267 |
+
}
|
268 |
+
}
|
269 |
+
}
|
270 |
+
}
|
271 |
+
}
|
272 |
+
}
|
273 |
+
},
|
274 |
+
"trainer_advance": {
|
275 |
+
"total": 5997.117685086721,
|
276 |
+
"count": 1027807,
|
277 |
+
"self": 27.776913906312075,
|
278 |
+
"children": {
|
279 |
+
"process_trajectory": {
|
280 |
+
"total": 878.6955440304173,
|
281 |
+
"count": 1027807,
|
282 |
+
"self": 875.6686419584186,
|
283 |
+
"children": {
|
284 |
+
"RLTrainer._checkpoint": {
|
285 |
+
"total": 3.026902071998734,
|
286 |
+
"count": 20,
|
287 |
+
"self": 3.026902071998734
|
288 |
+
}
|
289 |
+
}
|
290 |
+
},
|
291 |
+
"_update_policy": {
|
292 |
+
"total": 5090.645227149992,
|
293 |
+
"count": 476,
|
294 |
+
"self": 1459.8512494169468,
|
295 |
+
"children": {
|
296 |
+
"TorchPPOOptimizer.update": {
|
297 |
+
"total": 3630.7939777330453,
|
298 |
+
"count": 14280,
|
299 |
+
"self": 3630.7939777330453
|
300 |
+
}
|
301 |
+
}
|
302 |
+
}
|
303 |
+
}
|
304 |
+
}
|
305 |
+
}
|
306 |
+
},
|
307 |
+
"trainer_threads": {
|
308 |
+
"total": 1.094000253942795e-06,
|
309 |
+
"count": 1,
|
310 |
+
"self": 1.094000253942795e-06
|
311 |
+
},
|
312 |
+
"TrainerController._save_models": {
|
313 |
+
"total": 0.16206586999942374,
|
314 |
+
"count": 1,
|
315 |
+
"self": 0.0024772550004854565,
|
316 |
+
"children": {
|
317 |
+
"RLTrainer._checkpoint": {
|
318 |
+
"total": 0.15958861499893828,
|
319 |
+
"count": 1,
|
320 |
+
"self": 0.15958861499893828
|
321 |
+
}
|
322 |
+
}
|
323 |
+
}
|
324 |
+
}
|
325 |
+
}
|
326 |
+
}
|
327 |
+
}
|
run_logs/training_status.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Crawler": {
|
3 |
+
"checkpoints": [
|
4 |
+
{
|
5 |
+
"steps": 8499475,
|
6 |
+
"file_path": "results/firstCrawlerRun2/Crawler/Crawler-8499475.onnx",
|
7 |
+
"reward": 3464.084716796875,
|
8 |
+
"creation_time": 1657951361.849535,
|
9 |
+
"auxillary_file_paths": [
|
10 |
+
"results/firstCrawlerRun2/Crawler/Crawler-8499475.pt"
|
11 |
+
]
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"steps": 8999283,
|
15 |
+
"file_path": "results/firstCrawlerRun2/Crawler/Crawler-8999283.onnx",
|
16 |
+
"reward": null,
|
17 |
+
"creation_time": 1657952000.587018,
|
18 |
+
"auxillary_file_paths": [
|
19 |
+
"results/firstCrawlerRun2/Crawler/Crawler-8999283.pt"
|
20 |
+
]
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"steps": 9499691,
|
24 |
+
"file_path": "results/firstCrawlerRun2/Crawler/Crawler-9499691.onnx",
|
25 |
+
"reward": 2414.4946995320774,
|
26 |
+
"creation_time": 1657952640.07986,
|
27 |
+
"auxillary_file_paths": [
|
28 |
+
"results/firstCrawlerRun2/Crawler/Crawler-9499691.pt"
|
29 |
+
]
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"steps": 9999355,
|
33 |
+
"file_path": "results/firstCrawlerRun2/Crawler/Crawler-9999355.onnx",
|
34 |
+
"reward": 2669.618194580078,
|
35 |
+
"creation_time": 1657953287.142907,
|
36 |
+
"auxillary_file_paths": [
|
37 |
+
"results/firstCrawlerRun2/Crawler/Crawler-9999355.pt"
|
38 |
+
]
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"steps": 10000355,
|
42 |
+
"file_path": "results/firstCrawlerRun2/Crawler/Crawler-10000355.onnx",
|
43 |
+
"reward": 2717.3339556525734,
|
44 |
+
"creation_time": 1657953287.388594,
|
45 |
+
"auxillary_file_paths": [
|
46 |
+
"results/firstCrawlerRun2/Crawler/Crawler-10000355.pt"
|
47 |
+
]
|
48 |
+
}
|
49 |
+
],
|
50 |
+
"final_checkpoint": {
|
51 |
+
"steps": 10000355,
|
52 |
+
"file_path": "results/firstCrawlerRun2/Crawler.onnx",
|
53 |
+
"reward": 2717.3339556525734,
|
54 |
+
"creation_time": 1657953287.388594,
|
55 |
+
"auxillary_file_paths": [
|
56 |
+
"results/firstCrawlerRun2/Crawler/Crawler-10000355.pt"
|
57 |
+
]
|
58 |
+
}
|
59 |
+
},
|
60 |
+
"metadata": {
|
61 |
+
"stats_format_version": "0.3.0",
|
62 |
+
"mlagents_version": "0.29.0.dev0",
|
63 |
+
"torch_version": "1.8.1"
|
64 |
+
}
|
65 |
+
}
|