Replies: 1 comment 1 reply
-
Hi @jykkim111 It is not straightforward to pinpoint the problem just from these descriptions. However would be great to try : (1) printing out per class dice values to see if all classes converge properly (2) try including one or two more samples to see if this problem exists. we should be able to overfit to those as well. Thanks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was just trying out the unetr_btcv_segmentation tutorial, but with a smaller scope.
The only change I made from the tutorial is changing the labels so that they have 5 classes instead of 14 [0, 1, 2, 3, 4] including the background. Yes, I did change the model out_channels parameter to 5 along with all the parameters.
Just for a sanity check, I used 1 CT image to see if it overfits and it does overfit well, but when I check out the visualizations of the output, the class labels turn out all wrong. I am having trouble locating the problem. Its weird because the dice scores come out properly, but it shouldn't if the output class labels are incorrect.
In the input label the labels are:
0 - background,
1 - gallbladder,
2 - liver,
3 - stomach,
4 - pancreas
In the output label, the labels are:
0 - background,
1 - liver,
2 - stomach,
3 - nothing, missing**
4 - pancreas
Beta Was this translation helpful? Give feedback.
All reactions