-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathconfig_predict_template.yaml
44 lines (43 loc) · 1.3 KB
/
config_predict_template.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
# model configuration
model:
# model class
name:
# number of input channels to the model
in_channels:
# number of output channels
out_channels:
# determines the order of operators in a single layer (crg - Conv3d+ReLU+GroupNorm)
layer_order:
# feature maps scale factor
f_maps:
# number of groups in the groupnorm
num_groups:
# apply element-wise nn.Sigmoid after the final 1x1 convolution, otherwise apply nn.Softmax
final_sigmoid:
# predictor configuration
predictor:
# standard in memory predictor
name: 'ArrayPredictor'
# padding to be added to each axis in a given patch
patch_halo: [2, 4, 4]
# specify the test datasets
loaders:
# how many subprocesses to use for data loading
num_workers: 8
# path to the raw data within the H5
raw_internal_path: raw
# Define test datasets
test:
# SliceBuilder configuration, i.e. how to iterate over the input volume patch-by-patch
slice_builder:
# SliceBuilder class
name: SliceBuilder
# train patch size given to the network (adapt to fit in your GPU mem, generally the bigger patch the better)
patch_shape: [100, 160, 160]
# train stride between patches
stride_shape: [75, 120, 120]
transformer:
raw:
- name: Standardize
- name: ToTensor
expand_dims: true