-
Notifications
You must be signed in to change notification settings - Fork 2
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
Ventral rootlets - results of first segmentation model #36
Comments
Very nice results @LouisThomasLapointe ! Keep up the good work 😊 |
@LouisThomasLapointe nice results! 🚀
This happened to us during dorsal rootlets training in a few subjects too. We QCed the predicted images and fixed the problematic levels manually. A two minor comments/suggestions:
|
Closing -- see summary: #42 |
1) Dataset
The first training was done on 14 subjects (segmented manually by LTL) from the spine-generic and OpenNeuro datasets. Manual segmentation of the ventral rootlets was done while the dorsal rootlets' segmentation were taken from the D5 dataset described here.
2) Model training
nnUNet 3d_fullres model trained on 14 subjects.
To initialize the dataset, the following command was used:
nnUNetv2_plan_and_preprocess -d 101 --verify_dataset_integrity -c 3d_fullres
For starting the training, the following command was used:
CUDA_VISIBLE_DEVICES=0 nnUNetv2_train 101 3d_fullres 0
For running the inference on new images, the following command was used:
nnUNetv2_predict -i nnUNet_raw/Dataset103_M1/imagesTr -o nnUNet_raw/Dataset103_M1/labelsTr -d 101 -c 3d_fullres -f 0
Where the Dataset103_M1 folder contains the images on which inference was run.
3) Results
Here are the learning curves for the training.
Here is an example of the prediction the model give:
The image
The segmentation
We can see that, while not perfect, the predictions the model can produce are promising for a first training on a relatively small dataset. There is some obvious problem with the model, mainly incorrect labelisation of pixels around the rootlets as rootlets pixel, incomplete segmentation of an individual rootlet and incorrect labelisation of rootlets pixels as background pixel. Those errors are all visible in the image below.
Finally, there is some rootlets, especially in the lower cervical levels, that are associated with the wrong spinal level. The problem is rare, but tends to happen in already challenging to segment MRI images or ones where the levels are really close one to another.
The text was updated successfully, but these errors were encountered: