generated from ashleve/lightning-hydra-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
dealiasv_2d.yaml
54 lines (51 loc) · 1.78 KB
/
dealiasv_2d.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
defaults:
- dealiasm_2d
- override loading/data_loading@loading.train.data_loading: unfolded_loadnpy
- override loading/data_loading@loading.test.data_loading: unfolded_loadnpy
dataset_name: DEALIASV
separate_transform: False
seg_label: False
data_keys:
all_keys:
- ${datamodule.data_keys.image_key}
- ${datamodule.data_keys.label_key}
- "seg"
loading:
train:
crop:
label_key: "seg"
augmentation:
rotation:
rand_rotate:
mode:
- ${get_interp_mode:${datamodule.patch_size},${datamodule.do_dummy_2D_data_aug},"rotation"}
- ${get_interp_mode:${datamodule.patch_size},${datamodule.do_dummy_2D_data_aug},"rotation"}
- "nearest"
zoom:
rand_zoom:
mode:
- ${get_interp_mode:${datamodule.patch_size},${datamodule.do_dummy_2D_data_aug},"zoom"}
- ${get_interp_mode:${datamodule.patch_size},${datamodule.do_dummy_2D_data_aug},"zoom"}
- "nearest"
align_corners:
- True
- True
- null
noise:
rand_gaussian_noise:
keys:
- ${get_noise_and_intensity_transform_key:${datamodule.separate_transform},${datamodule.data_keys.image_key}}
- ${datamodule.data_keys.label_key}
rand_gaussian_smooth:
keys:
- ${get_noise_and_intensity_transform_key:${datamodule.separate_transform},${datamodule.data_keys.image_key}}
- ${datamodule.data_keys.label_key}
intensity:
rand_scale_intensity:
keys:
- ${get_noise_and_intensity_transform_key:${datamodule.separate_transform},${datamodule.data_keys.image_key}}
- ${datamodule.data_keys.label_key}
rand_adjust_contrast:
keys:
- ${get_noise_and_intensity_transform_key:${datamodule.separate_transform},${datamodule.data_keys.image_key}}
- ${datamodule.data_keys.label_key}