swritchie commited on
Commit
f8cbfea
1 Parent(s): 6ecf289

Push agent to Hub

Browse files
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
- - stable-baselines3
 
8
  model-index:
9
  - name: PPO
10
  results:
@@ -16,22 +17,43 @@ model-index:
16
  type: LunarLander-v2
17
  metrics:
18
  - type: mean_reward
19
- value: 255.63 +/- 21.44
20
  name: mean_reward
21
  verified: false
22
  ---
23
 
24
- # **PPO** Agent playing **LunarLander-v2**
25
- This is a trained model of a **PPO** agent playing **LunarLander-v2**
26
- using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
27
 
28
- ## Usage (with Stable-baselines3)
29
- TODO: Add your code
30
 
31
-
32
- ```python
33
- from stable_baselines3 import ...
34
- from huggingface_sb3 import load_from_hub
35
-
36
- ...
37
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: -146.44 +/- 110.06
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
+ {'exp_name': 'ppo'
31
+ 'seed': 1
32
+ 'torch_deterministic': True
33
+ 'cuda': False
34
+ 'track': False
35
+ 'wandb_project_name': 'cleanRL'
36
+ 'wandb_entity': None
37
+ 'capture_video': False
38
+ 'env_id': 'LunarLander-v2'
39
+ 'total_timesteps': 50000
40
+ 'learning_rate': 0.00025
41
+ 'num_envs': 4
42
+ 'num_steps': 128
43
+ 'anneal_lr': True
44
+ 'gae': True
45
+ 'gamma': 0.99
46
+ 'gae_lambda': 0.95
47
+ 'num_minibatches': 4
48
+ 'update_epochs': 4
49
+ 'norm_adv': True
50
+ 'clip_coef': 0.2
51
+ 'clip_vloss': True
52
+ 'ent_coef': 0.01
53
+ 'vf_coef': 0.5
54
+ 'max_grad_norm': 0.5
55
+ 'target_kl': None
56
+ 'repo_id': 'swritchie/ppo-LunarLander-v2'
57
+ 'batch_size': 512
58
+ 'minibatch_size': 128}
59
+
logs/events.out.tfevents.1717509841.728dbb590918.12580.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7c8fd08a30394fa545c94e49e2e030027a56238c871554a55ccd9b69e08f7af
3
+ size 109093
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e6499ce165096e04b63c5d498a1385bf2d14e8c62e7fa73e34970f015796724
3
+ size 42898
replay.mp4 CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
 
results.json CHANGED
@@ -1 +1 @@
1
- {"mean_reward": 255.62533459999995, "std_reward": 21.443103204252914, "is_deterministic": true, "n_eval_episodes": 10, "eval_datetime": "2024-03-20T15:38:49.444228"}
 
1
+ {"env_id": "LunarLander-v2", "mean_reward": -146.4400850970961, "std_reward": 110.05527794801911, "n_evaluation_episodes": 10, "eval_datetime": "2024-06-04T14:04:37.768627"}