-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathparam_test_dqn.py
More file actions
31 lines (28 loc) · 875 Bytes
/
param_test_dqn.py
File metadata and controls
31 lines (28 loc) · 875 Bytes
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
from param_test_ppo import main
if __name__ == '__main__':
configuration = {
# 'num_workers': 6,
'num_gpus': 1,
'double_q': False,
'dueling': False,
'num_atoms': 1,
'noisy': False,
'prioritized_replay': False,
'n_step': 1,
'target_network_update_freq': 8000,
'lr': .0000625,
'adam_epsilon': .00015,
'hiddens': [512],
'learning_starts': 20000,
'buffer_size': 1000000,
'sample_batch_size': 4,
'train_batch_size': 32,
'schedule_max_timesteps': 2000000,
'exploration_final_eps': 0.01,
'exploration_fraction': 0.1,
'prioritized_replay_alpha': 0.5,
'beta_annealing_fraction': 1.0,
'final_prioritized_replay_beta': 1.0,
'timesteps_per_iteration': 10000,
}
main('DQN', configuration)