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

Soft dice score #7

Open
Ycblue opened this issue Jul 5, 2021 · 0 comments
Open

Soft dice score #7

Ycblue opened this issue Jul 5, 2021 · 0 comments

Comments

@Ycblue
Copy link

Ycblue commented Jul 5, 2021

Hey :D
I stumbled upon your code while looking up rising transforms!
I think the soft dice score in losses.soft_dice.py should return
1 - torch.mean(frac, dims=1)
instead of just taking the mean so the optimizer can minimize it to zero.
Or is there another reason that it is implemented that way?

Cheers!

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