Skip to content

Update dice.py #1148

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update dice.py #1148

wants to merge 1 commit into from

Conversation

nistring
Copy link

The dice loss varies with batch sizes, and this issue remains unresolved. #712 (comment)

The dice loss varies with batch sizes, and this issue remains unresolved.
qubvel-org#712 (comment)
@qubvel
Copy link
Collaborator

qubvel commented May 14, 2025

Hi @nistring, thanks for your contribution! It would be nice to add different options here, I mean make it configurable while creating DiceLoss, e.g. reduction = "batchwise" / "imagewise".

@nistring
Copy link
Author

@qubvel I agree with your idea. 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

Successfully merging this pull request may close these issues.

2 participants