Skip to content

Commit

Permalink
fix broken nnUNetv2_preprocess entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Feb 22, 2023
1 parent af2f281 commit 30c2858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30c2858

Please sign in to comment.