Skip to content

Add crop_to_bbox function to restore nnUNet compatibility#3

Open
alireza-hokmabadi wants to merge 1 commit intoMIC-DKFZ:masterfrom
alireza-hokmabadi:add-crop-to-bbox-function
Open

Add crop_to_bbox function to restore nnUNet compatibility#3
alireza-hokmabadi wants to merge 1 commit intoMIC-DKFZ:masterfrom
alireza-hokmabadi:add-crop-to-bbox-function

Conversation

@alireza-hokmabadi
Copy link

The crop_to_bbox function was removed recently from acvl_utils.cropping_and_padding.bounding_boxes, causing an import error when using nnUNetPredictor in nnUNet (e.g., with from nnunetv2.inference.predict_from_raw_data import nnUNetPredictor after a fresh installation via pip install nnunetv2).

This pull request restores the crop_to_bbox function to address this compatibility issue, allowing nnUNet users to run inference without import errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant