Skip to content

Conversation

@ATATC
Copy link
Contributor

@ATATC ATATC commented Nov 30, 2025

See #109.

@ATATC ATATC added this to the 1.1.0 milestone Nov 30, 2025
@ATATC ATATC self-assigned this Nov 30, 2025
@ATATC ATATC added the bug Something isn't working label Nov 30, 2025
@ATATC ATATC linked an issue Nov 30, 2025 that may be closed by this pull request
@ATATC ATATC added the todo New task or assignment label Nov 30, 2025
@ATATC
Copy link
Contributor Author

ATATC commented Nov 30, 2025

@perctrix

Copy link
Collaborator

@perctrix perctrix left a comment

Choose a reason for hiding this comment

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

After movedim, the tensor is discontinued in convert_ids_to_logits. Either add .contiguous() after nn.functional.onhot, or use .reshape to replace .view in soft_dice_coefficient

@perctrix
Copy link
Collaborator

LGTM

@ATATC ATATC merged commit a7e34de into main Nov 30, 2025
3 checks passed
@ATATC ATATC deleted the 109 branch November 30, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working todo New task or assignment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DiceBCELossWithLogits is expected to support multiclass

3 participants