-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyperparams.py
More file actions
53 lines (50 loc) · 1.36 KB
/
hyperparams.py
File metadata and controls
53 lines (50 loc) · 1.36 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
HYPERPARAMETERS = {
'CartPole-v1': {
'learning_rate': 2.3e-3,
'batch_size': 64,
'buffer_size': 100000,
'learning_starts': 1000,
'gamma': 0.99,
'target_update_interval': 10,
'train_freq': 256,
'gradient_steps': 128,
'exploration_fraction': 0.16,
'exploration_final_eps': 0.04
},
'MountainCar-v0': {
'learning_rate': 4e-3,
'batch_size': 128,
'buffer_size': 10000,
'learning_starts': 1000,
'gamma': 0.98,
'target_update_interval': 600,
'train_freq': 16,
'gradient_steps': 8,
'exploration_fraction': 0.2,
'exploration_final_eps': 0.07
},
'LunarLander-v2': {
'learning_rate': 6.3e-4,
'batch_size': 128,
'buffer_size': 50000,
'learning_starts': 0,
'gamma': 0.99,
'target_update_interval': 250,
'train_freq': 4,
'gradient_steps': -1,
'exploration_fraction': 0.12,
'exploration_final_eps': 0.1
},
'Acrobot-v1': {
'learning_rate': 6.3e-4,
'batch_size': 128,
'buffer_size': 50000,
'learning_starts': 0,
'gamma': 0.99,
'target_update_interval': 250,
'train_freq': 4,
'gradient_steps': -1,
'exploration_fraction': 0.12,
'exploration_final_eps': 0.1
}
}