WokeEngineer commited on
Commit
57aafb0
1 Parent(s): bbf802e

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: 73.40 +/- 59.80
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': 'argument_parser'
32
+ 'gym_id': 'CartPole-v1'
33
+ 'learning_rate': 0.00025
34
+ 'seed': 1
35
+ 'total_timesteps': 25000
36
+ 'torch_deterministic': True
37
+ 'cuda': False
38
+ 'mac_gpu': 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_grad_norm': 0.5
54
+ 'target_kl': None
55
+ 'repo_id': 'WokeEngineer/Custom-PPO-CartPole-v1'
56
+ 'batch_size': 512
57
+ 'minibatch_size': 128}
58
+ ```
59
+
logs/events.out.tfevents.1712108013.autoreg-5919151.dyn.wpi.edu.60406.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebf482d452a25e2d442a8286375836decfd291de605759bc73eaa0162570827e
3
+ size 25143
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdd2f5cd9a92d295cbb24a54da2198bccfddb449e28e8234e44747a4dc520527
3
+ size 40338
replay.mp4 ADDED
Binary file (9.66 kB). View file
 
results.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"env_id": "CartPole-v1", "mean_reward": 73.40071237756011, "std_reward": 59.80214989590959, "n_evaluation_episodes": 10, "eval_datetime": "2024-04-02T21:33:36.479210"}