Yureeh commited on
Commit
51684af
1 Parent(s): 0ba08d9

Push agent to the 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:
@@ -12,26 +13,49 @@ model-index:
12
  type: reinforcement-learning
13
  name: reinforcement-learning
14
  dataset:
15
- name: LunarLander-v2
16
- type: LunarLander-v2
17
  metrics:
18
  - type: mean_reward
19
- value: 252.05 +/- 23.51
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
+ - CartPole-v1
4
+ - ppo
5
  - deep-reinforcement-learning
6
  - reinforcement-learning
7
+ - custom-implementation
8
+ - deep-rl-course
9
  model-index:
10
  - name: PPO
11
  results:
 
13
  type: reinforcement-learning
14
  name: reinforcement-learning
15
  dataset:
16
+ name: CartPole-v1
17
+ type: CartPole-v1
18
  metrics:
19
  - type: mean_reward
20
+ value: 254.00 +/- 124.01
21
  name: mean_reward
22
  verified: false
23
  ---
24
 
25
+ # PPO Agent Playing CartPole-v1
 
 
26
 
27
+ This is a trained model of a PPO agent playing CartPole-v1.
 
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': 'CartPole-v1'
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': 'Yureeh/ppo-LunarLander-v2'
58
+ 'batch_size': 512
59
+ 'minibatch_size': 128}
60
+ ```
61
+
logs/events.out.tfevents.1680795117.DESKTOP-G8JS4QL.45460.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1cacb1c6f1d0c5006f36e4a3e28176ee77efe93c7cf1b60d26fdde654b5d5b6
3
+ size 102536
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3585dd9f67771c9d2d9cc79cae73f556cf671b9076ed444c6d23f82e23a9c27c
3
+ size 39909
replay.mp4 CHANGED
Binary files a/replay.mp4 and b/replay.mp4 differ
 
results.json CHANGED
@@ -1 +1 @@
1
- {"mean_reward": 252.05289109204946, "std_reward": 23.51007539855621, "is_deterministic": true, "n_eval_episodes": 10, "eval_datetime": "2023-02-23T14:14:29.945163"}
 
1
+ {"env_id": "CartPole-v1", "mean_reward": 254.0, "std_reward": 124.01290255453262, "n_evaluation_episodes": 10, "eval_datetime": "2023-04-06T17:32:10.537438"}