-
Notifications
You must be signed in to change notification settings - Fork 5
/
dreamer_finetune.yaml
69 lines (62 loc) · 1.51 KB
/
dreamer_finetune.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
68
69
defaults:
- configs/dreamer
- agent: dreamer
- configs: ${configs}
- override hydra/launcher: submitit_local
# mode
reward_free: false
# task settings
task: walker_stand
# train settings
num_train_frames: 100010
num_seed_frames: 4000
# eval
eval_every_frames: 10000
num_eval_episodes: 10
# pretrained
snapshot_ts: 100000
snapshot_base_dir: ./pretrained_models
custom_snap_dir: none
# replay buffer
replay_buffer_size: 1000000
replay_buffer_num_workers: 4
# misc
seed: 1
device: cuda
save_video: false
save_train_video: false
save_eval_episodes: false
use_tb: true
use_wandb: true
# experiment
experiment: ft
project_name: ???
# log settings
log_every_frames: 1000
recon_every_frames: 100000000 # edit for debug
# planning
mpc: false
mpc_opt: { iterations : 12, num_samples : 512, num_elites : 64, mixture_coef : 0.05, min_std : 0.1, temperature : 0.5, momentum : 0.1, horizon : 5, use_value: true }
# Pretrained network reuse
init_critic: false
init_actor: true
# Fine-tuning ablation
save_ft_model: true
# Dreamer FT
grad_heads: [decoder, reward]
reward_norm: {momentum: 1.0, scale: 1.0, eps: 1e-8}
actor_ent: 1e-4
hydra:
run:
dir: ./exp_local/${now:%Y.%m.%d}/${now:%H%M%S}_${agent.name}
sweep:
dir: ./exp_sweep/${now:%Y.%m.%d}/${now:%H%M}_${agent.name}_${experiment}
subdir: ${hydra.job.num}
launcher:
timeout_min: 4300
cpus_per_task: 10
gpus_per_node: 1
tasks_per_node: 1
mem_gb: 160
nodes: 1
submitit_folder: ./exp_sweep/${now:%Y.%m.%d}/${now:%H%M}_${agent.name}_${experiment}/.slurm