Evaluation with CropForegroundd #1529
Unanswered
mikiwang820
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You should be able to apply the same transform to both your ground truth and your segmentation. That way they'll both be the same size. Something like this: CropForegroundd(keys=["image","label"], source_key="label") Here, both |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I used "CropForegroundd" in the validation transform when I was training the model, so I still applied it when I did evaluation and saved my predictive labels.
However, it caused the outputs had the different sizes from the ground truth.
Therefore, I take it out, and the outputs' sizes are right, but the dice score drop from 0.6 to 0.4.
How can I deal with this problem.
Thank you for any help you can provide
Beta Was this translation helpful? Give feedback.
All reactions