Prediction after cascade training failed #1313
-
Hi, in short, what is working:
Next, the idea was to work on high resolution data of the size 400 x 400 x 660 and to train Hence, training was performed (5 folds) for
Next, the command Next, the command
Unfortunately when the command 1.) was executed the prediction started and during the preprocessing the algorithm tried to allocate for each volume / image 1.7TiB; which is simply too hughe: preprocessing RESULTS_FOLDER/......... -> this image size is too big, since the 01_ima01_0000.nii.gz volume is ~ 250 MB (400 x 400 x 660). What is the issue here? THANKS Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey Markus, thanks for the very detailed issue description. I think the error is related to image spacing. nnU-Net determiens the size to which images need to be resampled based on that. My guess is that the image you are trying to predict has a wrong spacing value, causing nnU-Net to compute a way too large target image size for resampling (you can see from the text that it is trying to resample that image to (8376, 5225, 5362)). Please check that the spacing is correct. |
Beta Was this translation helpful? Give feedback.
Hey Markus, thanks for the very detailed issue description. I think the error is related to image spacing. nnU-Net determiens the size to which images need to be resampled based on that. My guess is that the image you are trying to predict has a wrong spacing value, causing nnU-Net to compute a way too large target image size for resampling (you can see from the text that it is trying to resample that image to (8376, 5225, 5362)). Please check that the spacing is correct.
On a side note: You seem to be only interested in the cascade.
nnUNet_find_best_configuration
doesn't really make sense if you only trained one configuration. Just pick that, then. UsennUNet_find_best_configuration
only…