heriosousa
commited on
Commit
•
6d610b5
1
Parent(s):
2f5d727
Push Reinforce agent to the Hub
Browse files- README.md +63 -0
- logs/events.out.tfevents.1666036020.76ffa0929498.2420.0 +3 -0
- model.pt +3 -0
- replay.mp4 +0 -0
- results.json +1 -0
README.md
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: -161.34 +/- 91.29
|
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': '__file__'
|
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 |
+
'f': None
|
59 |
+
'repo_id': 'heriosousa/LunarLander-v2'
|
60 |
+
'batch_size': 512
|
61 |
+
'minibatch_size': 128}
|
62 |
+
```
|
63 |
+
|
logs/events.out.tfevents.1666036020.76ffa0929498.2420.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd5078a2699568c37b543531e9a518b3e92f36ba2fa5ad37a38a8eb4d4c124d3
|
3 |
+
size 112531
|
model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3132e79c5795304926aa5b6b57923ed44cc09c09a7cf89476a586e95f0bbeabd
|
3 |
+
size 42817
|
replay.mp4
ADDED
Binary file (28.5 kB). View file
|
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"env_id": "LunarLander-v2", "mean_reward": -161.34384413176048, "std_reward": 91.29447878740328, "n_evaluation_episodes": 10, "eval_datetime": "2022-10-17T19:47:42.047025"}
|