How should I use MONAI's HausdorffDistanceMetric function for UNETR segmentaton result? #4619
Unanswered
AustinYuAo
asked this question in
Q&A
Replies: 1 comment
-
Could you please elaborate 'it did not work'? What is the expected and the observations? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to use MONAI's HausdorffDistanceMetric function in UNETR repository's test.py.
As shown below, I have tried to add codes in the test.py.
But it didn't work,what should I do?
Thank you!!
from monai.metrics import HausdorffDistanceMetric
hd_metric = HausdorffDistanceMetric(include_background=False, distance_metric="euclidean", percentile=None, directed=True)
Beta Was this translation helpful? Give feedback.
All reactions