-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.yml
71 lines (65 loc) · 1.77 KB
/
config.yml
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
68
69
70
71
# env
env_name: PourWater
# IMPORTANT: if action_repeat is used the effective number of env steps needs to be
# multiplied by action_repeat in the result graphs.
# This is a common practice for a fair comparison.
# See the 2nd paragraph in Appendix C of SLAC: https://arxiv.org/pdf/1907.00953.pdf
# See Dreamer TF2's implementation: https://github.com/danijar/dreamer/blob/02f0210f5991c7710826ca7881f19c64a012290c/dreamer.py#L340
action_repeat: 4 # not actually used
# train
num_train_steps: 1000000
num_train_iters: 1
num_seed_steps: 1000
replay_buffer_capacity: 100000
seed: 1
# eval
eval_frequency: 5000
num_eval_episodes: 10
# misc
log_frequency_step: 10000
log_save_tb: true
save_video: true
device: cuda
# observation
image_size: 128 # 84
image_pad: 6 # 4
frame_stack: 3 # not actually used
# global params
# IMPORTANT: please use a batch size of 512 to reproduce the results in the paper. Hovewer, with a smaller batch size it still works well.
batch_size: 128
# agent configuration
agent:
# obs_shape: ??? # to be specified later
# action_shape: ??? # to be specified later
# action_range: ??? # to be specified later
device: cuda
discount: 0.99
init_temperature: 0.1
lr: 0.001
actor_update_frequency: 2
critic_tau: 0.01
critic_target_update_frequency: 2
batch_size: 128
critic:
# class: drq.Critic
# params:
# action_shape: ${agent.action_shape}
hidden_dim: 1024
hidden_depth: 2
actor:
# class: drq.Actor
# params:
# action_shape: ${agent.action_shape}
hidden_depth: 2
hidden_dim: 1024
log_std_bounds: [-10, 2]
encoder:
# class: drq.Encoder
# params:
# obs_shape: ${agent.obs_shape}
feature_dim: 50
# hydra configuration
# hydra:
# name: test
# run:
# dir: ./runs/${now:%Y.%m.%d}/${now:%H%M%S}_${hydra.job.override_dirname}