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

Loss function #11

Open
vianamp opened this issue Oct 31, 2017 · 2 comments
Open

Loss function #11

vianamp opened this issue Oct 31, 2017 · 2 comments

Comments

@vianamp
Copy link

vianamp commented Oct 31, 2017

Hi. Good job putting this together. I was wondering whether loss=K.sum(...) should be replaced with K.max(...) once we are interested on the output for the class with highest output value only. What do you think?

@jacobgil
Copy link
Owner

jacobgil commented Nov 3, 2017

Notice that the last layer type is target_category_loss,
K.sum here is the same as K.max, only a single class is activated.

@vianamp
Copy link
Author

vianamp commented Nov 3, 2017

Absolutely. Thanks.

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