-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.py
46 lines (31 loc) · 813 Bytes
/
config.py
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
class Config:
env: str = None
gamma: float = None
learning_rate: float = None
frames: int = None
episodes: int = None
max_buff: int = None
batch_size: int = None
epsilon: float = None
eps_decay: float = None
epsilon_min: float = None
state_dim: int = None
state_shape = None
state_high = None
state_low = None
seed = None
output = 'out'
action_dim: int = None
action_high = None
action_low = None
action_lim = None
use_cuda: bool = None
checkpoint: bool = False
checkpoint_interval: int = None
record: bool = False
record_ep_interval: int = None
log_interval: int = None
print_interval: int = None
update_tar_interval: int = None
win_reward: float = None
win_break: bool = None