Push agent to the Hub
Browse files- README.md +41 -55
- logs/events.out.tfevents.1679474938.90299d310247.12985.0 +3 -0
- model.pt +3 -0
- replay.mp4 +0 -0
- results.json +1 -1
README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
---
|
2 |
-
library_name: stable-baselines3
|
3 |
tags:
|
4 |
- LunarLander-v2
|
|
|
5 |
- deep-reinforcement-learning
|
6 |
- reinforcement-learning
|
7 |
-
-
|
|
|
8 |
model-index:
|
9 |
- name: PPO
|
10 |
results:
|
@@ -16,60 +17,45 @@ model-index:
|
|
16 |
type: LunarLander-v2
|
17 |
metrics:
|
18 |
- type: mean_reward
|
19 |
-
value:
|
20 |
name: mean_reward
|
21 |
verified: false
|
22 |
---
|
23 |
|
24 |
-
#
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
# sde_sample_freq=-1,
|
62 |
-
# target_kl=None,
|
63 |
-
# tensorboard_log=None,
|
64 |
-
# policy_kwargs=None,
|
65 |
-
# verbose=0,
|
66 |
-
# seed=seed,
|
67 |
-
# device='auto',
|
68 |
-
# _init_setup_model=True
|
69 |
-
)
|
70 |
-
|
71 |
-
#train model
|
72 |
-
model.learn(total_timesteps=int(1e6))
|
73 |
-
|
74 |
-
...
|
75 |
-
```
|
|
|
1 |
---
|
|
|
2 |
tags:
|
3 |
- LunarLander-v2
|
4 |
+
- ppo
|
5 |
- deep-reinforcement-learning
|
6 |
- reinforcement-learning
|
7 |
+
- custom-implementation
|
8 |
+
- deep-rl-course
|
9 |
model-index:
|
10 |
- name: PPO
|
11 |
results:
|
|
|
17 |
type: LunarLander-v2
|
18 |
metrics:
|
19 |
- type: mean_reward
|
20 |
+
value: -117.50 +/- 52.66
|
21 |
name: mean_reward
|
22 |
verified: false
|
23 |
---
|
24 |
|
25 |
+
# PPO Agent Playing LunarLander-v2
|
26 |
+
|
27 |
+
This is a trained model of a PPO agent playing LunarLander-v2.
|
28 |
+
|
29 |
+
# Hyperparameters
|
30 |
+
```python
|
31 |
+
{'exp_name': 'ppo'
|
32 |
+
'seed': 1
|
33 |
+
'torch_deterministic': True
|
34 |
+
'cuda': True
|
35 |
+
'track': False
|
36 |
+
'wandb_project_name': 'cleanRL'
|
37 |
+
'wandb_entity': None
|
38 |
+
'capture_video': False
|
39 |
+
'env_id': 'LunarLander-v2'
|
40 |
+
'total_timesteps': 50000
|
41 |
+
'learning_rate': 0.00025
|
42 |
+
'num_envs': 4
|
43 |
+
'num_steps': 128
|
44 |
+
'anneal_lr': True
|
45 |
+
'gae': True
|
46 |
+
'gamma': 0.99
|
47 |
+
'gae_lambda': 0.95
|
48 |
+
'num_minibatches': 4
|
49 |
+
'update_epochs': 4
|
50 |
+
'norm_adv': True
|
51 |
+
'clip_coef': 0.2
|
52 |
+
'clip_vloss': True
|
53 |
+
'ent_coef': 0.01
|
54 |
+
'vf_coef': 0.5
|
55 |
+
'max_grad_norm': 0.5
|
56 |
+
'target_kl': None
|
57 |
+
'repo_id': 'asuzuki/ppo-LunarLander-v2'
|
58 |
+
'batch_size': 512
|
59 |
+
'minibatch_size': 128}
|
60 |
+
```
|
61 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logs/events.out.tfevents.1679474938.90299d310247.12985.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9ff66f44399111e639518ea1a13e95687b41108247d623bfbebf9b408da5c9b
|
3 |
+
size 111160
|
model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3262cb9f8d71762568958150de91d2adbb7385c87e56d48030e8005230aa5d95
|
3 |
+
size 42597
|
replay.mp4
CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
|
|
results.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"
|
|
|
1 |
+
{"env_id": "LunarLander-v2", "mean_reward": -117.50342778410364, "std_reward": 52.664344272654795, "n_evaluation_episodes": 10, "eval_datetime": "2023-03-22T08:49:47.440292"}
|