-
Notifications
You must be signed in to change notification settings - Fork 0
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
Train a baseline REGION-BASED model from scratch on dcm-zurich-lesions
datasets using nnUNet
#1
Comments
Thanks for opening the issue, Jan!
Regarding this, I pushed a script for generating QC for both SC and lesions for
As for this, Patrick confirmed in an email on Nov 15th 2023 that the original
and lastly, for this, I noticed that the |
dcm-zurich
datasets using nnUNet
dcm-zurich
datasets using nnUNetdcm-zurich-lesions
datasets using nnUNet
SCIseg worked well -- only 5 subjects needed corrections; labels are pushed.
Great, thanks for confirmation!
Compression labels are single pixels with a value
Yes, this would be super relevant! We have discussed this idea many times with Julien and Sandrine; context here. Note that we have compression labels also for >100 subjects in |
Sounds good!
Right, usually there are more than 1 levels of compression, right? I think for
Nice! at least the model could be pre-trained for detecting compression sites, which, hypothetically could be useful for lesion segmentation (i.e. hyperintensities most likely appear around compressions, if I'm not wrong) |
SC seg and lesion QC copied to
Yes, usually, DCM patients have so-called multi-level compression, i.e., compressions at several levels (e.g., disc C4/C5 and disc C5/C6). So far, we label each compression with a single pixel, meaning that for two compressions, we would have two pixels with the value
Correct, indeed, I believe that hyperintensities most likely appear around compressions. We can verify this with clinicians during a future meeting. |
This comment summarizes training progress. commandsDataset merging and conversion from BIDS to nnUNetpython ~/code/model-seg-dcm/dataset_conversion/convert_bids_to_nnUNetv2.py
--path-data
~/data/dcm-zurich-lesions
~/data/dcm-zurich-lesions-20231115
--region-based
--split 0.8 0.2
--seed 42
--dataset-number 601
--dataset-name DCMlesions
--path-out
${nnUNet_raw}/dcm-zurich-lesions_combined_nnunet Resulting in: Number of training and validation images (across all sites): 41
Number of test images (across all sites): 11
Number of test images in dcm-zurich-lesions: 3
Number of test images in dcm-zurich-lesions-20231115: 8 Trainingconda activate nnunet
cd ~/code/model-seg-dcm
./training/01_run_training_dcm-zurich-lesions.sh Note: all folds below were trained using the default |
dcm-zurich-lesions
datasets using nnUNetdcm-zurich-lesions
datasets using nnUNet
Since all folds trained with the default |
`dcm-zurich-lesions`
`dcm-zurich-lesions-20231115`
|
This issue summarizes experiments related to
Dataset601_DCMlesions
(region-based model trained to using a single input channel (T2w_ax) to segment both SC and lesions).dataset.json
:nnUNetPlans.json:
Dataset601_DCMlesions
will be trained ondcm-zurich-lesions
anddcm-zurich-lesions-20231115
datasets using nnUNetv2 region-based approach (i.e., segmenting both SC and lesions).Manual lesion GTs are available for both datasets.
TODO
dcm-zurich-lesions-20231115
- run inference using the SCIseg model using segment_sc.sh - done; SCIseg worked relatively well -- only 5 of 38 SC segs needed slight manual corrections. Labels are now pushedsct_maths -add
) - not needed; see hereThe text was updated successfully, but these errors were encountered: