File size: 1,066 Bytes
57845c6
 
 
 
 
 
 
 
 
 
 
ed7ffbd
ac1efd8
ed7ffbd
57845c6
 
 
b9ba5a5
 
ac1efd8
b9ba5a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ac1efd8
b9ba5a5
 
 
 
 
 
 
 
 
57845c6
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
tags:
- CartPole-v1
- deep-reinforcement-learning
- reinforcement-learning
- custom-implementation
---

# (CleanRL) **PPO** Agent Playing **CartPole-v1**

This is a trained model of a PPO agent playing CartPole-v1.
The model was trained by using [CleanRL](https://github.com/vwxyzjn/cleanrl) and the training code can be
found [here](https://github.com/vwxyzjn/cleanrl/blob/master/cleanrl/ppo.py).


# Hyperparameters
```python
{'anneal_lr': True,
 'batch_size': 512,
 'capture_video': True,
 'clip_coef': 0.2,
 'clip_vloss': True,
 'cuda': False,
 'ent_coef': 0.01,
 'env_id': 'CartPole-v1',
 'exp_name': 'ppo',
 'gae_lambda': 0.95,
 'gamma': 0.99,
 'hf_repo_id': 'cleanrl/ppo',
 'learning_rate': 0.00025,
 'max_grad_norm': 0.5,
 'minibatch_size': 128,
 'norm_adv': True,
 'num_envs': 4,
 'num_minibatches': 4,
 'num_steps': 128,
 'save_model': True,
 'seed': 1,
 'target_kl': None,
 'torch_deterministic': True,
 'total_timesteps': 500000,
 'track': False,
 'update_epochs': 4,
 'vf_coef': 0.5,
 'wandb_entity': None,
 'wandb_project_name': 'cleanRL'}
```