magjico commited on
Commit
25ff889
1 Parent(s): 80ab0c2

Push agent to the Hub

Browse files
Files changed (4) hide show
  1. README.md +37 -15
  2. model.pt +3 -0
  3. replay.mp4 +0 -0
  4. 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
- - 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: 279.03 +/- 12.42
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: -216.03 +/- 122.28
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
+ {'f': '/root/.local/share/jupyter/runtime/kernel-a5723393-974b-45e0-9a2d-ab8b647dddaf.json'
32
+ 'exp_name': 'ppo.py'
33
+ 'seed': 1
34
+ 'torch_deterministic': True
35
+ 'cuda': True
36
+ 'track': False
37
+ 'wandb_project_name': 'cleanRL'
38
+ 'wandb_entity': None
39
+ 'capture_video': False
40
+ 'env_id': 'LunarLander-v2'
41
+ 'total_timesteps': 1000000
42
+ 'learning_rate': 0.001
43
+ 'num_envs': 4
44
+ 'num_steps': 200
45
+ 'anneal_lr': True
46
+ 'gae': True
47
+ 'gamma': 0.99
48
+ 'gae_lambda': 0.95
49
+ 'num_minibatches': 4
50
+ 'update_epochs': 4
51
+ 'norm_adv': True
52
+ 'clip_coef': 0.2
53
+ 'clip_vloss': True
54
+ 'ent_coef': 0.01
55
+ 'vf_coef': 0.5
56
+ 'max_grad_norm': 0.5
57
+ 'target_kl': None}
58
+ ```
59
+
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e94231d0e989bfddaa4cf26c94c968eda65facd7fdf2499dbb1f5f3c05880ae
3
+ size 43026
replay.mp4 CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
 
results.json CHANGED
@@ -1 +1 @@
1
- {"mean_reward": 279.0337862, "std_reward": 12.41555002434547, "is_deterministic": true, "n_eval_episodes": 10, "eval_datetime": "2024-03-15T16:18:15.292931"}
 
1
+ {"env_id": "LunarLander-v2", "mean_reward": -216.02737469684948, "std_reward": 122.28420148243518, "n_evaluation_episodes": 10, "eval_datetime": "2024-03-26T15:16:28.121000"}