3D UNETR model #1893
Replies: 3 comments 2 replies
-
Hi @abhishekpatil32, thanks for your interest here. You can refer to the spleen segmentation here which is about binary segmentation: https://github.com/Project-MONAI/tutorials/blob/main/3d_segmentation/spleen_segmentation_3d.ipynb Hope it helps, |
Beta Was this translation helpful? Give feedback.
-
Hello @KumoLiu, when I try to run the script for visualization named /unetr_btcv_segmentation_3d_lightning.ipynb
|
Beta Was this translation helpful? Give feedback.
-
Hello @KumoLiu, I am using UNETR model for segmenting a region of interest with 100 training, 28 validation and 32 testing samples. Also our image size is (512, 512, 300-400) and labels have same size but only 15 slices have foreground, all other have 0 in the background and out HU intensity is restricted to -190 to -30 For this work I am using the following code:
For this code, I am able to achieve Dice similarity to be 0.85. But when I infer the model for the test set, I do not get proper segmentations (I applied the same transformations to the test set that were applied to the training still I get improper segmentation on the test set). Also I am not sure how to perform inference on the test dataset. |
Beta Was this translation helpful? Give feedback.
-
I am very new to MONAI and using the 3D UNETR model to train the model and to segment a small region of interest in a CT scan.
What changes are required in the code to run the unetr_btcv_segmentation_3d.ipynb code ??
link: [https://github.com/Project-MONAI/tutorials/blob/main/3d_segmentation/unetr_btcv_segmentation_3d.ipynb]
I did not find any tutorials for binary segmentation.
I really appreciate any help you can provide.
Beta Was this translation helpful? Give feedback.
All reactions