Skip to content

Conversation

@aymuos15
Copy link
Contributor

@aymuos15 aymuos15 commented Nov 2, 2025

This should now close: #1358

As per the discussion here: #1366 (comment) the weighing with dice should accommodate some more overlap losses automatically.

Copy link
Collaborator

@rdyro rdyro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you for this PR! I left 1 comment

)


def dice_plus_ce_loss(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the spirit of modularity, maybe this can be removed? Can the user add the dice and ce losses themselves? Do you see an advantage to exposing this as a single function?

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.

Add segmentation based losses

2 participants