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

Focal Loss is Huge #18

Closed
nectario opened this issue Oct 15, 2018 · 3 comments
Closed

Focal Loss is Huge #18

nectario opened this issue Oct 15, 2018 · 3 comments

Comments

@nectario
Copy link

Focal loss is huge. Why is that?

For example: loss: 38107.2309

@hemmer
Copy link

hemmer commented Feb 12, 2019

Probably just because it isn't normalised by the number of pixels anywhere (only K.sum is used).

EDIT: see #16

@capilano
Copy link

Use reduce_sum instead of K.sum

@mkocabas
Copy link
Owner

5852a88 should solve the issue

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

4 participants