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 can't I classify the last class? #6124
Comments
You have 10 images of 40 different people (400 images total) and each person is a class, right ? |
@fengpingbaustem ,Hello, I'm also working with fine-tuning VGGFACE, But I got low accuracy. Can I contact u for further communication? |
Is VGGFace handling the dataset the same way Caffe would? E.g. labels should start from 0 to 9 for 10 classes. |
@fengpingbaustem Sounds like that is the problem, you should rearrange your data according to Caffe. You can refer to some guides for preparing your own dataset from scratch for Caffe. |
Closing as it looks like the issue is solved. In case you need further assistance, please post on the caffe-users list. |
I used a dataset which have 40 person and each have 10 pictures, and I did the fine tuning based on the VGG 16 module. It was quite good then fine-tuning. Here is the result:
When I doing the testing(classification), I found each picture was correctly classified but the last one. Should I set the num_output in train_val_deploy.prototxt to 41(I didn't noticed anyone who have done in that way)? It really confused me.
The text was updated successfully, but these errors were encountered: