sayby commited on
Commit
965d912
1 Parent(s): 662b10b

Push Reinforce agent to the Hub

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - LunarLander-v2
4
+ - ppo
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - custom-implementation
8
+ - deep-rl-class
9
+ model-index:
10
+ - name: PPO
11
+ results:
12
+ - task:
13
+ type: reinforcement-learning
14
+ name: reinforcement-learning
15
+ dataset:
16
+ name: LunarLander-v2
17
+ type: LunarLander-v2
18
+ metrics:
19
+ - type: mean_reward
20
+ value: -150.85 +/- 77.91
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
+ To learn to code your own PPO agent and train it Unit 8 of the Deep Reinforcement Learning Class: https://github.com/huggingface/deep-rl-class/tree/main/unit8
29
+
30
+ # Hyperparameters
31
+ ```python
32
+ {'exp_name': 'ppo'
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': 50000
42
+ 'learning_rate': 0.00025
43
+ 'num_envs': 4
44
+ 'num_steps': 128
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
+ 'repo_id': 'sayby/PPO-LunarLanderv2'
59
+ 'batch_size': 512
60
+ 'minibatch_size': 128}
61
+ ```
62
+
logs/events.out.tfevents.1670359574.8fba07fb14db.727.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc5344aaa6d6d9d986f981567debd2cae9ee7c25077d7bdfab0ba5b40eecebc0
3
+ size 50355
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6423a7cec329cbd63e1e7c57e08876cf3d53b8f98a6852ac067ecea725e9c4a9
3
+ size 42689
replay.mp4 ADDED
Binary file (18.5 kB). View file
 
results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"env_id": "LunarLander-v2", "mean_reward": -150.8473649376169, "std_reward": 77.90788150689698, "n_evaluation_episodes": 10, "eval_datetime": "2022-12-06T20:46:45.646552"}