Skip to content

Commit

Permalink
update sample configs with shift/scale augmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wolny committed Jan 6, 2025
1 parent c3f18ed commit 9551cef
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 9 deletions.
12 changes: 8 additions & 4 deletions resources/3DUnet_confocal_boundary/train_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,15 @@ trainer:
# Configure training and validation loaders
loaders:
# how many subprocesses to use for data loading
num_workers: 8
num_workers: 32
# path to the raw data within the H5
raw_internal_path: /raw
# path to the the label data withtin the H5
label_internal_path: /label
raw_internal_path: raw
# path to the label data within the H5
label_internal_path: label
# apply random shifting and scaling of the patches; value of 20 mean that patches may shrink/stretch by 20px in each dimension
random_scale: 20
# random scale execution probability; since random scale is quite slow for 3D data, we set it to 0.1
random_scale_probability: 0.1
# configuration of the train loader
train:
# path to the training datasets
Expand Down
12 changes: 8 additions & 4 deletions resources/3DUnet_lightsheet_boundary/train_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,15 @@ trainer:
# Configure training and validation loaders
loaders:
# how many subprocesses to use for data loading
num_workers: 8
num_workers: 32
# path to the raw data within the H5
raw_internal_path: /raw
# path to the the label data withtin the H5
label_internal_path: /label
raw_internal_path: raw
# path to the label data within the H5
label_internal_path: label
# apply random shifting and scaling of the patches; value of 20 mean that patches may shrink/stretch by 20px in each dimension
random_scale: 20
# random scale execution probability; since random scale is quite slow for 3D data, we set it to 0.1
random_scale_probability: 0.1
# configuration of the train loader
train:
# path to the training datasets
Expand Down
6 changes: 5 additions & 1 deletion resources/3DUnet_lightsheet_nuclei/train_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,12 @@ loaders:
num_workers: 8
# path to the raw data within the H5
raw_internal_path: raw
# path to the the label data within the H5
# path to the label data within the H5
label_internal_path: label
# apply random shifting and scaling of the patches; value of 20 mean that patches may shrink/stretch by 20px in each dimension
random_scale: 20
# random scale execution probability; since random scale is quite slow for 3D data, we set it to 0.1
random_scale_probability: 0.1
# path to the pixel-wise weight map withing the H5 if present
weight_internal_path: null
# configuration of the train loader
Expand Down
4 changes: 4 additions & 0 deletions resources/3DUnet_multiclass/train_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ loaders:
raw_internal_path: raw
# path to the label data within the H5
label_internal_path: label
# apply random shifting and scaling of the patches; value of 20 mean that patches may shrink/stretch by 20px in each dimension
random_scale: 20
# random scale execution probability; since random scale is quite slow for 3D data, we set it to 0.1
random_scale_probability: 0.1
# path to the pixel-wise weight map withing the H5 if present
weight_internal_path: null
# configuration of the train loader
Expand Down

0 comments on commit 9551cef

Please sign in to comment.