07 - Food Vision Big - Scikit-learn accuracy poor results #620
Qlexio
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been facing poor results while using scikit-learn accuracy whereas tensorflow's evaluation was good.
Here is the initial code:
It returns a serie of 0s.
Fix
label variable is a unique integer. So, argmax of an integer always returns 0.
To fix this, drop the
.argmax()
fonction.Beta Was this translation helpful? Give feedback.
All reactions