We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Try different models, copy model locally, and run the prediction on a subset of data locally:
# First, activate ivadomed venv cd MODEL (eg: model_seg_lesion_mp2rage_r20230210_dil32_seed01) ivadomed_segment_image -m model_seg_lesion_mp2rage -i ~/temp/model_seg_basel/data_processed_lesionseg_small/sub-P001/anat/sub-P001_UNIT1.nii.gz
The text was updated successfully, but these errors were encountered:
model_seg_lesion_mp2rage_r20230210_dil32_seed01: ❌
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.
Sorry, something went wrong.
Can close. Issue clarified now.
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: