zjowowen commited on
Commit
38cda46
1 Parent(s): 4faa669

Upload policy_config.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. policy_config.py +24 -0
policy_config.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exp_config = {
2
+ 'type': 'ppo',
3
+ 'on_policy': True,
4
+ 'cuda': True,
5
+ 'action_space': 'continuous',
6
+ 'discount_factor': 0.99,
7
+ 'gae_lambda': 0.95,
8
+ 'epoch_per_collect': 10,
9
+ 'batch_size': 320,
10
+ 'learning_rate': 0.0003,
11
+ 'weight_decay': 0,
12
+ 'value_weight': 0.5,
13
+ 'entropy_weight': 0.01,
14
+ 'clip_ratio': 0.2,
15
+ 'adv_norm': True,
16
+ 'value_norm': 'symlog',
17
+ 'ppo_param_init': True,
18
+ 'grad_norm': 0.5,
19
+ 'n_sample': 3200,
20
+ 'unroll_len': 1,
21
+ 'deterministic_eval': True,
22
+ 'model': {},
23
+ 'cfg_type': 'PPOFPolicyDict'
24
+ }