Error implementing ResizeWithPadOrCrop #2635
Unanswered
jmenville11
asked this question in
Q&A
Replies: 1 comment 11 replies
-
Hi @jmenville11 , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apologies if this is an obvious question, I'm new to both Python and Monai. Using the BRATS tutorial as a base, I'm building a multi-label brain segmentation model. However, the tutorial uses CenterSpatialCropd to limit the ROI to (48,48,48). I'd like to instead use Monai's ResizeWithPadOrCrop transform to pad my images to the size of the largest image's volume (for now I just chose a standard size of (200,200,200). However, when I try to execute the following the kernel keeps dying. Is there an issue with how I'm implementing the transform?
Beta Was this translation helpful? Give feedback.
All reactions