errors in caffe classifier

31 views
Skip to first unread message

yuan ma

unread,
Aug 20, 2015, 5:32:29 AM8/20/15
to Caffe Users
I've trained the MINIST dataset, and get the caffemodel file. And now I want classify an image by this model.
I used the file  caffe-master\examples\cpp_classification\classification.cpp to get a classifier
While an error appear when I run : classifier.exe lenet_train_test.prototxt lenet_iter_10000.caffemodel mnist_mean.binaryproto label.txt 0.bmp
F0820 net_->num_inputs() ==1(0 vs 1)...
So, why my num_inputs() == 0? moreover, I found the para num_outputs() == 2(shouldn't it be 10?)
Reply all
Reply to author
Forward
0 new messages