Closed jcohenadad closed 1 year ago
model_seg_lesion_mp2rage_r20230210_dil32_seed01
: ❌
Same model applied on less tightly cropped data: ✅
Cropping by 20: ✅
sct_crop_image -i /Users/julien/temp/model_seg_basel/20230130_ensemble/sub-P001_UNIT1_crop.nii.gz -xmin 9 -xmax 76 -zmin 9 -zmax 77 -o sub-P001_UNIT1_crop2.nii.gz
Cropping by 40: ✅
So maybe the issue is when the input image size is smaller than the kernel size.
Can close. Issue clarified now.
To save time, I tried cropping only with a 5vox ball (instead of 5vox ball + 32vox disk as in the processing), however the results was disastrous.
Suggestion: train model with only 5vox ball dilation.
Investigations
Try different models, copy model locally, and run the prediction on a subset of data locally: