juanzinser commited on
Commit
a558672
1 Parent(s): 4ba1f47

Push agent to the Hub

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 112.20 +/- 67.63
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-11'
32
+ 'gym_id': 'CartPole-v1'
33
+ 'env_id': 'CartPole-v1'
34
+ 'learning_rate': 0.00025
35
+ 'seed': 1
36
+ 'total_timesteps': 25000
37
+ 'torch_deterministic': True
38
+ 'cuda': True
39
+ 'track': False
40
+ 'wandb_project_name': 'ppo-implementation-details'
41
+ 'wandb_entity': None
42
+ 'capture_video': False
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': 'juanzinser/ppo-CartPole-v1'
59
+ 'batch_size': 512
60
+ 'minibatch_size': 128}
61
+ ```
62
+
logs/events.out.tfevents.1717294021.5ff29af29a63.34222.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6c5499a2e99fd6db1eae9a9d89576b576f3bf94cc0f0e9ea73acbe89e35ea7f
3
+ size 69720
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88295aae76f3564bd4c068baedcdb1c848cb66f6649c8a1ef40984f5a0216bec
3
+ size 40338
replay.mp4 ADDED
Binary file (27.2 kB). View file
 
results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"env_id": "CartPole-v1", "mean_reward": 112.2, "std_reward": 67.62514325308302, "n_evaluation_episodes": 10, "eval_datetime": "2024-06-02T02:07:55.266035"}