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

boundary-loss can not converge #63

Open
Xxvn-c opened this issue Sep 12, 2024 · 0 comments
Open

boundary-loss can not converge #63

Xxvn-c opened this issue Sep 12, 2024 · 0 comments

Comments

@Xxvn-c
Copy link

Xxvn-c commented Sep 12, 2024

Hello,

First of all, thank you for your idea. I am encountering some issues when using the boundary-loss:

I have been able to train good models on a custom dataset using ohem-loss and dice-loss. However, I want to add the boundary loss function to enhance the segmentation boundary effects. So I am using “1 * ohem-loss + 1 * dice-loss + 0.01 * boundary-loss”. During training, while ohem-loss and dice-losse converge normally, the boundary-loss does not seem to converge and keeps oscillating around a certain value. Here are some details:

  • There are 4 categories for segmentation, and boundary-loss is applied only to one of them.

  • The input image resolution is 800x768.

Could you provide some suggestions? Thank you!

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

1 participant