Aron751 commited on
Commit
0db42ef
1 Parent(s): 52708bd

Upload policy_config.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. policy_config.py +25 -0
policy_config.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 'lr_scheduler': None,
12
+ 'weight_decay': 0,
13
+ 'value_weight': 0.5,
14
+ 'entropy_weight': 0.01,
15
+ 'clip_ratio': 0.2,
16
+ 'adv_norm': True,
17
+ 'value_norm': 'baseline',
18
+ 'ppo_param_init': True,
19
+ 'grad_norm': 0.5,
20
+ 'n_sample': 3200,
21
+ 'unroll_len': 1,
22
+ 'deterministic_eval': True,
23
+ 'model': {},
24
+ 'cfg_type': 'PPOFPolicyDict'
25
+ }