Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about metrics used in code. #7

Closed
hwei-cs opened this issue May 10, 2021 · 2 comments
Closed

Question about metrics used in code. #7

hwei-cs opened this issue May 10, 2021 · 2 comments

Comments

@hwei-cs
Copy link

hwei-cs commented May 10, 2021

I noticed that when the number of nonzero voxels is zero, the hd95 is artificially set to 373.12866. Why choose it not other?

@jianpengz
Copy link
Owner

Thanks for the question. The HD95 value would be nan if there are no foregrounds in either the prediction or label. It was set to be ~373 following the BraTS challenge (math.sqrt(depth2 + width2 + height**2)), which is not exact but only a penalization item. Another alternative solution is ignoring the cases with nan HD95, which may lead to lower HD.

@hwei-cs
Copy link
Author

hwei-cs commented May 10, 2021

Thank you for your kind reply, this helps me a lot, I will close this issue.

@hwei-cs hwei-cs closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants