ffa271e34384438030753e46e20322ea8dc489a4,niftynet/utilities/user_parameters_default.py,,add_network_args,#Any#,152
Before Change
type=float,
default=0)
parser.add_argument(
"--reg_type",
metavar="TYPE_STR",
choices=["L1","L2","None"],
help="[Training only] Specify regulariser type",
default="L2")
parser.add_argument(
"--volume_padding_size",
metavar="",
After Change
default=0)
import niftynet.layer.loss_segmentation
parser.add_argument(
"--reg_type",
metavar="TYPE_STR",
choices=list(niftynet.layer.loss_segmentation.SUPPORTED_OPS),
help="[Training only] Specify regulariser type_str",
default="Dice")
parser.add_argument(
"--volume_padding_size",
metavar="",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: NifTK/NiftyNet
Commit Name: ffa271e34384438030753e46e20322ea8dc489a4
Time: 2017-08-23
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_default.py
Class Name:
Method Name: add_network_args
Project Name: NifTK/NiftyNet
Commit Name: d2040ace48ee0795af21e5176a8e5b443bf68116
Time: 2018-08-07
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_default.py
Class Name:
Method Name: add_network_args
Project Name: NifTK/NiftyNet
Commit Name: a40a1303eaeda6494a1933754c4581be16855196
Time: 2018-08-07
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_default.py
Class Name:
Method Name: add_network_args