Commit
•
3e97408
1
Parent(s):
7af9a0d
Push agent to the Hub
Browse files
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
12 |
+
- task:
|
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: 74.70 +/- 41.05
|
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 |
+
'gym_id': 'CartPole-v1'
|
33 |
+
'learning_rate': 0.00025
|
34 |
+
'seed': 1
|
35 |
+
'total_timesteps': 25000
|
36 |
+
'torch_deterministic': True
|
37 |
+
'cuda': True
|
38 |
+
'track': False
|
39 |
+
'capture_video': False
|
40 |
+
'num_envs': 4
|
41 |
+
'num_steps': 128
|
42 |
+
'anneal_lr': True
|
43 |
+
'gae': True
|
44 |
+
'gamma': 0.99
|
45 |
+
'gae_lambda': 0.95
|
46 |
+
'num_minibatches': 4
|
47 |
+
'update_epochs': 4
|
48 |
+
'norm_adv': True
|
49 |
+
'clip_coef': 0.2
|
50 |
+
'clip_vloss': True
|
51 |
+
'ent_coef': 0.01
|
52 |
+
'vf_coef': 0.5
|
53 |
+
'max_gradient_norm': 0.5
|
54 |
+
'target_kl': None
|
55 |
+
'repo_id': 'jake-walker/ppo-CartPole-v1'
|
56 |
+
'batch_size': 512
|
57 |
+
'minibatch_size': 128}
|
58 |
+
```
|
59 |
+
|
logs/events.out.tfevents.1699616498.pytorch-2-0-0-cpu-py3-ml-t3-medium-1d57fbb2161e9af854ee102b289d.1021.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab0682ea99523db5e5ec0d43d3b1b1b732f50bd4a370629c137d2c9555f07e91
|
3 |
+
size 75367
|
model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68eeb710b7f16bb04645e318ccd8d3a9da4b57798ff4a38153c2debef260edf0
|
3 |
+
size 39909
|
replay.mp4
ADDED
Binary file (9.82 kB). View file
|
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"env_id": "CartPole-v1", "mean_reward": 74.7, "std_reward": 41.048873309751144, "n_evaluation_episodes": 10, "eval_datetime": "2023-11-10T11:54:05.137376"}
|