Commit 56cadac3 authored by Constantin Pape's avatar Constantin Pape

Add note on axis order to script help

parent 888971ed
......@@ -186,9 +186,9 @@ def main():
parser.add_argument('--ext', type=str, default='.tif', help="Image file extension, default: .tif")
parser.add_argument('--validation_fraction', type=float, default=.1,
help="The fraction of available data that is used for validation, default: .1")
parser.add_argument('--patch_size', type=int, nargs=3, default=[128, 128, 128],
help="Size of the image patches used to train the network, default: 128, 128, 128")
aniso_help = """Anisotropy factor, needs to be passed as json encoded list, e.g. \"[1.0,1.0,0.5]\".
psize_help = "Size of the image patches, given in ZYX axis order, used to train the network, default: 128, 128, 128."
parser.add_argument('--patch_size', type=int, nargs=3, default=[128, 128, 128], help=psize_help)
aniso_help = """Anisotropy factor, needs to be passed as json encoded list, e.g. \"[0.5,1.0,1.0]\" in ZYX axis order.
If not given, will be computed from the dimensions of the input data, default: None"""
parser.add_argument('--anisotropy', type=str, default=None, help=aniso_help)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment