-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
67 lines (58 loc) · 1.12 KB
/
config.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
experiment_name: ddqn
# env
env:
save_video: true
fps: 5
custom_config: true
record_frequency: 10
names:
- highway-v0
- merge-v0
- roundabout-v0
log_frequency_step: 300
log_save_tb: true
save_checkpoint: true
# test
test:
envs: # these envs will be used for testing
- highway-v0
- merge-v0
- roundabout-v0
# train
seed: 42
num_train_steps: 60000
num_gradient_steps: 1
num_exploration_steps: 1500
start_training_steps: 600
min_eps: 0.05
replay_buffer_capacity: 45000
# eval
eval_frequency: 1500
num_eval_steps: 1000
# Prioritized Replay Buffer
prioritized_replay: false
prioritized_replay_alpha: 0.6
# agent configuration
agent:
discount: 0.8
learning_rate: 0.0005
beta_1: 0.9
beta_2: 0.999
weight_decay: 0.0
adam_eps: 0.00015
max_grad_norm: 10.0
critic_tau: 1.0
critic_target_update_frequency: 50
batch_size: 32
multistep_return: 10
eval_eps: 0.05
double_q: true # Double Q learning
prioritized_replay_beta0: 0.4
prioritized_replay_beta_steps: 60000
critic:
hidden_dim: 256
hidden_depth: 1
dueling: false # Dueling DQN
encoder:
hidden_dim: 256
hidden_depth: 1