From 30c2858f93c9973d70258c1f8af30ae564d7fcb3 Mon Sep 17 00:00:00 2001 From: Fabian Isensee Date: Wed, 22 Feb 2023 07:59:39 +0100 Subject: [PATCH] fix broken nnUNetv2_preprocess entry point --- nnunetv2/experiment_planning/plan_and_preprocess_entrypoints.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nnunetv2/experiment_planning/plan_and_preprocess_entrypoints.py b/nnunetv2/experiment_planning/plan_and_preprocess_entrypoints.py index 7c8dfac9d..d1295c39b 100644 --- a/nnunetv2/experiment_planning/plan_and_preprocess_entrypoints.py +++ b/nnunetv2/experiment_planning/plan_and_preprocess_entrypoints.py @@ -104,7 +104,7 @@ def preprocess_entry(): help='Set this to print a lot of stuff. Useful for debugging. Will disable progrewss bar! ' 'Recommended for cluster environments') args, unrecognized_args = parser.parse_known_args() - preprocess(args.d, args.plans_name) + preprocess(args.d, args.plans_name, configurations=args.c, num_processes=args.np, verbose=args.verbose) def plan_and_preprocess_entry(): diff --git a/setup.py b/setup.py index de7f65179..477c637f3 100755 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ 'nnUNetv2_plan_and_preprocess = nnunetv2.experiment_planning.plan_and_preprocess_entrypoints:plan_and_preprocess_entry', # api available 'nnUNetv2_extract_fingerprint = nnunetv2.experiment_planning.plan_and_preprocess_entrypoints:extract_fingerprint_entry', # api available 'nnUNetv2_plan_experiment = nnunetv2.experiment_planning.plan_and_preprocess_entrypoints:preprocess_entry', # api available - 'nnUNetv2_preprocess = nnunetv2.experiment_planning.plan_and_preprocess_entrypoints:preprocess', # api available + 'nnUNetv2_preprocess = nnunetv2.experiment_planning.plan_and_preprocess_entrypoints:preprocess_entry', # api available 'nnUNetv2_train = nnunetv2.run.run_training:run_training_entry', # api available 'nnUNetv2_predict_from_modelfolder = nnunetv2.inference.predict_from_raw_data:predict_entry_point_modelfolder', # api available 'nnUNetv2_predict = nnunetv2.inference.predict_from_raw_data:predict_entry_point', # api available