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

Wrong metric --> Wrong accuracy #1

Open
michael20at opened this issue Oct 14, 2019 · 2 comments
Open

Wrong metric --> Wrong accuracy #1

michael20at opened this issue Oct 14, 2019 · 2 comments

Comments

@michael20at
Copy link

Hi, I think your accuracy is wrong. If you use binary crossentropy, "acc" metric is only valid for binary classification problems. Cifar10 has 10 classes, you should use "categorical_accuracy" as metric, which is accurate, "acc" does not work correctly and reports wrong (too high) numbers in this case!

@michael20at
Copy link
Author

Also, more of a question, why use binary cross entropy at all for cifar10, instead of categorical?

@AnanyaKumar
Copy link

Yup that's right, this should be fixed or added to the repository so people who find this repo on Google don't get the wrong numbers.

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