Skip to content

Conversation

@wessam611
Copy link

Feat: enable **kwargs in FocalLoss which are being passed to Torch's cross entropy functions

example key: ignore_index

Feat: enable **kwargs in FocalLoss which are being passed to Torch's cross entropy functions

example key: ignore_index
@JJrodny
Copy link

JJrodny commented Feb 14, 2025

+1 from me, this codebase (and PR) looks great, would just love what Wssam611 added - ignore_index - for class balanced loss as well!

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