Skip to content
New issue

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

Improving manual ground truth segmentation #39

Open
plbenveniste opened this issue Nov 8, 2024 · 3 comments
Open

Improving manual ground truth segmentation #39

plbenveniste opened this issue Nov 8, 2024 · 3 comments
Assignees

Comments

@plbenveniste
Copy link
Collaborator

In this issue, I investigate how to improve the lesion ground truth segmentation used for training our model.

We saw recently that on multiple images on the test, the predictions were actually better than the ground-truth. This can be shown on the below GIFs.

Images used are : sub-P088_UNIT1.nii.gz sub-m255816_ses-20190416_acq-ax_chunk-2_T2w.nii.gz, sub-edm088_ses-M0_PSIR.nii.gz and sub-cal072_ses-M0_STIR.nii.gz.

One idea we want to explore is to replace the ground-truth segmentation by the prediction of the model. Then the model would be trained again to see how it performs on unseen data.

@plbenveniste plbenveniste self-assigned this Nov 8, 2024
@plbenveniste
Copy link
Collaborator Author

I am building the Dataset601_msLesionAgnostic which has the same images as 301, but the labels (both LabelsTr and LabelsTs) are predicted using the model in release r20241101.

On GPU, the model takes around 40 seconds per image.

@plbenveniste
Copy link
Collaborator Author

Note

I noticed that the model sometimes segments lesions outside the spinal cord (in the brain). If we decide to use the predictions of the model as GT for retraining, we should pre-process the predictions to remove lesions outside the spinal cord.

@plbenveniste
Copy link
Collaborator Author

I am training the model using the ResEnc Large architecture with the labels being the predicted labels.

Code
CUDA_VISIBLE_DEVICES=1 nnUNetv2_train 601 3d_fullres 0 -p nnUNetResEncUNetLPlans

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

No branches or pull requests

1 participant