From ac79a612ae696af224169cbefde7519354782e64 Mon Sep 17 00:00:00 2001 From: "Kovacs, Balint" Date: Mon, 11 Nov 2024 15:43:35 +0100 Subject: [PATCH] delete crop_to_bbox --- nnunetv2/preprocessing/cropping/cropping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nnunetv2/preprocessing/cropping/cropping.py b/nnunetv2/preprocessing/cropping/cropping.py index 354f3d3bf..de28090ff 100644 --- a/nnunetv2/preprocessing/cropping/cropping.py +++ b/nnunetv2/preprocessing/cropping/cropping.py @@ -2,7 +2,7 @@ from scipy.ndimage import binary_fill_holes # Hello! crop_to_nonzero is the function you are looking for. Ignore the rest. -from acvl_utils.cropping_and_padding.bounding_boxes import get_bbox_from_mask, crop_to_bbox, bounding_box_to_slice +from acvl_utils.cropping_and_padding.bounding_boxes import get_bbox_from_mask, bounding_box_to_slice def create_nonzero_mask(data):