File size: 565 Bytes
e73bd6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
exp_config = {
    'type': 'ppo',
    'on_policy': True,
    'cuda': True,
    'action_space': 'discrete',
    'discount_factor': 0.99,
    'gae_lambda': 0.95,
    'epoch_per_collect': 10,
    'batch_size': 64,
    'learning_rate': 0.0003,
    'weight_decay': 0,
    'value_weight': 0.5,
    'entropy_weight': 0.01,
    'clip_ratio': 0.2,
    'adv_norm': True,
    'value_norm': 'popart',
    'ppo_param_init': True,
    'grad_norm': 0.5,
    'n_sample': 400,
    'unroll_len': 1,
    'deterministic_eval': True,
    'model': {},
    'cfg_type': 'PPOFPolicyDict'
}