Transform without labels in segmentation #2600
Unanswered
talhaanwarch
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Cropping the foreground is something you can only do if you have the ground truth. So at training time, you can use them, but at validation/testing time, you'll probably want to use a sliding window. In this way, you'll still process images that are the same size as they were at training time, but now you can do the whole image. The spleen segmentation tutorial has examples of this. |
Beta Was this translation helpful? Give feedback.
3 replies
-
issue of bad prediction after |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When we want to predict on test data without labels (mask), how to transform in that case.
I think it should be something like this
But how
CropForegroundd
andRandCropByPosNegLabeld
can know that its foreground and its pos neg label without having a label?One way is to remove these two transforms.
I removed
RandCropByPosNegLabeld
as in spleen tutorial before removing this transform, my result looks like (a bit acceptable).(The following show transform with both image and label)
The first image is ground truth, the second inverted ground truth, third is predicted in each row.
After removing
RandCropByPosNegLabeld
transform techniques results become horrible like thisBeta Was this translation helpful? Give feedback.
All reactions