-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.yaml
49 lines (41 loc) · 1.02 KB
/
base.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
# @package _global_
defaults:
- rlbench_model:
- override /trainer: ddp
- override /callbacks: default
- override /paths: default
- override /hydra: default
# all parameters below will be merged with parameters from default configurations set above
# this allows you to overwrite only specified parameters
rlbench_task: null
hydra:
run:
dir: ${paths.log_dir}/${task_name}/runs/${now:%Y-%m-%d}_${now:%H-%M-%S}
sweep:
dir: ${paths.log_dir}/${task_name}/runs/${now:%Y-%m-%d}_${now:%H-%M-%S}
subdir: ""
paths:
log_dir: ${paths.root_dir}/logs/rlbench_act/${rlbench_task}
data:
num_workers: 16
pin_memory: false
train:
task_names:
- ${rlbench_task}
loop: 1
cache_episode: true
trainer:
devices: 1
max_epochs: 2000
check_val_every_n_epoch: 100
accelerator: gpu
strategy: auto
callbacks:
model_checkpoint:
monitor: val/loss
mode: min
filename: "epoch={epoch:03d}-val_loss={val/loss:.4f}"
save_top_k: 3
early_stopping:
monitor: val/loss
mode: "min"