Skip to content
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

How can I apply this algorithm for detector with focal loss #1

Closed
lichengwei-code opened this issue Oct 27, 2021 · 2 comments
Closed

Comments

@lichengwei-code
Copy link

lichengwei-code commented Oct 27, 2021

Hi, I am very interested in your work. So I wanna apply this algorithm for my work. As a commonly used loss function focal loss, the output of clssification is different from the cross entropy loss. The classification output layer num is equal to the class num, not class num add 1, So I wanna know how to change the loss function in this paper for applying focal loss output. Thanks a lot.

@jwchoi384
Copy link
Contributor

Hello,
I have known that focal loss in their paper (https://arxiv.org/pdf/1708.02002.pdf) is based on a cross-entropy loss with a modulating factor.
I think you need to add a modulating factor that takes into account Gaussian mixing parameters to our proposed loss function.

@Shanyaodedanshen
Copy link

Hello, I have known that focal loss in their paper (https://arxiv.org/pdf/1708.02002.pdf) is based on a cross-entropy loss with a modulating factor. I think you need to add a modulating factor that takes into account Gaussian mixing parameters to our proposed loss function.

"add a modulating factor that takes into account Gaussian mixing parameters to our proposed loss function." Yes, I agree with it. It is also recommended that the project "pod-compare", "probdet" in github.

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

No branches or pull requests

3 participants