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

Wing Loss function of constant C #10

Open
Dawson-huang opened this issue Nov 6, 2018 · 2 comments
Open

Wing Loss function of constant C #10

Dawson-huang opened this issue Nov 6, 2018 · 2 comments

Comments

@Dawson-huang
Copy link

Hello, thank you for your job! I have a question need your help.
When |x| >= w, the |x| will subtract the constant C, but I get the constant C is -7.91759 by the formula C = w − w ln(1 + w/epsilon) with w=10 and epsilon = 2. It means that |x| will be larger when |x| >= w. But it not fit the idea of Wing Loss functions, or I am wrong of the constant C when calculating?
Thank you for your help!

@FengZhenhua
Copy link
Owner

@Dawson-huang Hi, yes, |x| will be larger when |x|>=w due to the shift along the Y-axis with the value of C. But this does not conflict the idea of wing loss. In wing loss, we focus on the gradient of a point, rather than its value. The shift does not change the gradient of a point outside [-w, w]. But the gradient is increased for a point inside [-w, w]. Hope my explanation is helpful for you.

@Dawson-huang
Copy link
Author

@FengZhenhua Okay, I understand. I have to try again. Thanks for your reply very much!

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

2 participants