File size: 829 Bytes
9172e6f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8555fdd
 
 
9172e6f
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
exp_config = {
    'type': 'ppo',
    'on_policy': True,
    'cuda': True,
    'action_space': 'discrete',
    'discount_factor': 0.99,
    'gae_lambda': 0.95,
    'epoch_per_collect': 1,
    'batch_size': 320,
    'learning_rate': 0.001,
    'lr_scheduler': [2000, 0.1],
    'weight_decay': 0,
    'value_weight': 0.5,
    'entropy_weight': 0.01,
    'clip_ratio': 0.2,
    'adv_norm': True,
    'value_norm': 'baseline',
    'ppo_param_init': True,
    'grad_norm': 0.5,
    'n_sample': 320,
    'unroll_len': 1,
    'deterministic_eval': True,
    'model': {
        'encoder_hidden_size_list': [64, 64, 128],
        'actor_head_hidden_size': 128,
        'critic_head_hidden_size': 128
    },
    'cfg_type': 'PPOFPolicyDict',
    'env_id': 'SpaceInvadersNoFrameskip-v4',
    'exp_name': 'SpaceInvadersNoFrameskip-v4-PPO'
}