-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
why accuracy always 0 #4054
Comments
If the labels are zeros and ones, the num_output should be 1 as the label is one dimensional. |
My label is two and three,then the num_output should be what? |
Still 2. Just change your labels to 0 and 1. You can simply map the output of network to whatever label you want as long as they are distinct. |
From https://github.com/BVLC/caffe/blob/master/CONTRIBUTING.md:
|
I'm doing the two classification, the last innerproduct num_output=2,use softmax as loss,but the accuracy always 0!
who can hep me !
The text was updated successfully, but these errors were encountered: