habanoz commited on
Commit
0154ce8
1 Parent(s): 99b0438

Push agent to the Hub

Browse files
README.md CHANGED
@@ -1,12 +1,13 @@
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-MLPPolicy
10
  results:
11
  - task:
12
  type: reinforcement-learning
@@ -16,22 +17,42 @@ model-index:
16
  type: LunarLander-v2
17
  metrics:
18
  - type: mean_reward
19
- value: 278.65 +/- 28.36
20
  name: mean_reward
21
  verified: false
22
  ---
23
 
24
- # **PPO-MLPPolicy** Agent playing **LunarLander-v2**
25
- This is a trained model of a **PPO-MLPPolicy** 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:
12
  - task:
13
  type: reinforcement-learning
 
17
  type: LunarLander-v2
18
  metrics:
19
  - type: mean_reward
20
+ value: 116.92 +/- 41.03
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': 'exp1'
32
+ 'gym_id': 'LunarLander-v2'
33
+ 'learning_rate': 0.00025
34
+ 'seed': 1
35
+ 'total_timesteps': 50000
36
+ 'torch_deterministic': True
37
+ 'cuda': True
38
+ 'capture_video': True
39
+ 'num_envs': 4
40
+ 'num_steps': 128
41
+ 'anneal_lr': True
42
+ 'gae': True
43
+ 'gamma': 0.99
44
+ 'gae_lambda': 0.95
45
+ 'num_minibatches': 4
46
+ 'update_epochs': 4
47
+ 'norm_adv': True
48
+ 'clip_coef': 0.2
49
+ 'clip_vloss': True
50
+ 'ent_coef': 0.01
51
+ 'vf_coef': 0.5
52
+ 'max_grad_norm': 0.5
53
+ 'target_kl': None
54
+ 'batch_size': 512
55
+ 'minibatch_size': 128
56
+ 'env_id': 'LunarLander-v2'}
57
+ ```
58
+
logs/events.out.tfevents.1677423335.185a80c4e60f.297.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2f679f302acab77dfba613558c24b1c180e8cdf4e302442d544a78134e0e50
3
+ size 6357688
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e44accdabba1a215c77675db132c845ec1619a50d0bc7103afeeaf20f095a60
3
+ size 42469
replay.mp4 CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
 
results.json CHANGED
@@ -1 +1 @@
1
- {"mean_reward": 278.6523560756656, "std_reward": 28.361914408874917, "is_deterministic": true, "n_eval_episodes": 10, "eval_datetime": "2023-01-09T10:34:50.411569"}
 
1
+ {"env_id": "LunarLander-v2", "mean_reward": 116.91909584583068, "std_reward": 41.02527324286631, "n_evaluation_episodes": 10, "eval_datetime": "2023-02-26T15:09:11.296623"}