代码拉取完成,页面将自动刷新
# path to the checkpoint file containing the model
model_path: 3dunet/best_checkpoint.pytorch
# model configuration
model:
# model class
name: UNet3D
# number of input channels to the model
in_channels: 3
# number of output channels
out_channels: 2
# determines the order of operators in a single layer (crg - Conv3d+ReLU+GroupNorm)
layer_order: crg
# feature maps scale factor
f_maps: 32
# number of groups in the groupnorm
num_groups: 8
# apply element-wise nn.Sigmoid after the final 1x1 convolution, otherwise apply nn.Softmax
final_sigmoid: false
# if True applies the final normalization layer (sigmoid or softmax), otherwise the networks returns the output from the final convolution layer; use False for regression problems, e.g. de-noising
is_segmentation: true
# predictor configuration
predictor:
# standard in memory predictor
name: 'StandardPredictor'
# specify the test datasets
loaders:
# batch dimension; if number of GPUs is N > 1, then a batch_size of N * batch_size will automatically be taken for DataParallel
batch_size: 1
# mirror pad the raw data in each axis for sharper prediction near the boundaries of the volume
mirror_padding: [16, 32, 32]
# path to the raw data within the H5
raw_internal_path: raw
# how many subprocesses to use for data loading
num_workers: 8
# test loaders configuration
test:
# paths to the test datasets; if a given path is a directory all H5 files ('*.h5', '*.hdf', '*.hdf5', '*.hd5')
# inside this this directory will be included as well (non-recursively)
file_paths:
- '../resources/random4D.h5'
# 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: [64, 128, 128]
# train stride between patches
stride_shape: [32, 100, 100]
transformer:
raw:
- name: Standardize
- name: ToTensor
expand_dims: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。