Skip to content

Wessam611 focal loss kwargs (#1)#2

Open
wessam611 wants to merge 1 commit into
wildoctopus:mainfrom
wessam611:main
Open

Wessam611 focal loss kwargs (#1)#2
wessam611 wants to merge 1 commit into
wildoctopus:mainfrom
wessam611:main

Conversation

@wessam611

Copy link
Copy Markdown

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

JJrodny commented Feb 14, 2025

Copy link
Copy Markdown

+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