-
Notifications
You must be signed in to change notification settings - Fork 1
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
Try 2D nnUnet #30
Comments
Hi ! |
Hi @plbenveniste!
Regarding two suffixes; |
Hi @valosekj ! |
Hey @plbenveniste, thanks for your questions! Let us go through them step-by-step:
Unless I missed something, shouldn't you be using the
yes, you're right. In most cases, it assumes that there are two or more "contrasts" but a single (common) label.
A quick workaround for this would be to slightly modify the
If the above does not work, then you could check out the dataset conversion instructions on nnUNet's repo. Even monai's tutorials have some examples on dataset conversion. Hope this helps! |
Indeed, I was mistaken. I thought I had to use the |
@plbenveniste Can you please move your developments under a branch in this repository? It will be easier to manage/crossref discussions/issues/code/results if development stays in one repos. Thx! |
Done. |
great! could you also open a PR so we can discuss developments / code design in the PR directly |
Update :
To do:
|
Training crashed at epoch 74. No information in the training_log_1.txt regarding the reasons of the crash UPDATE: crashed because I wasn't using screen |
The model performs similarly to what we gave him as segmentation masks. It is good at segmentation but only on a few slices: that's because annotations were only performed on a few masks. Solution:
|
@plbenveniste The 3D kernel cannot 'properly' be applied in this scenario, because as you noted, slices are only sparsely annotated. To train a 3D kernel, you need ground truth with adjacent slices annotated. So yes, 2D nnUnet would be the way to go. |
Training and testing with the 2D nnU-Net: Solution:
@jcohenadad what do you advise ? |
I tried using multiple runs of a 3D nnU-Net, in order to get different slices annotated and concatenate them in order to end-up with a full annotation of the spinal cord. It didn't work as the model always outputs the annotations for the same slices. |
no, this is not the right approach. A 3D UNet only makes sense if there is spatial autocorrelation across th 3rd dimension, which is not the case if you concatenate slices that are physically far apart. I would just do 2D nnUnet, not 3D. And in fact, I noticed that the title of the issue said "3D nnUnet", but it was a mistake, i meant 2D nnUnet. |
UPDATE: TO DO:
|
UPDATE:
TO DO:
|
Given the high performance of the nnUnet in general, it would be a good idea to have a benchmark with this architecture.
Todo (update if necessary):
Related to #17
Tagging @naga-karthik @louisfb01 @valosekj for help
The text was updated successfully, but these errors were encountered: