-
Notifications
You must be signed in to change notification settings - Fork 599
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
HausdorffERLoss is not differentiable #21
Comments
Hi, @shijianjian |
Isn't this the erosion based HD loss? https://github.com/JunMa11/SegLoss/blob/master/losses_pytorch/hausdorff.py#L83-L173 |
Oh, I apologize for the inconvenience. The erosion-based HD loss was copied from https://github.com/SilmarilBearer/HausdorffLoss and I have not tested it. I would recommend raising an issue in the original repo. |
is the HausdorffDLoss possible for multi class segmentation? |
Hi, I wonder why there is no normalize operation when calculating edt in HausdorffDTLoss, the loss value may be too large |
I wrote a doctest for the erosion based hausdorff loss and I found it is not differentiable:
I would suspect something is missing from your implementation.
The text was updated successfully, but these errors were encountered: