I am having a trouble in caffe and I would really appreciate if one could help.
Actually, when I test my trained model in python using this
code gives me a lower testing accuracy compared to the testing accuracy that I get using the caffe command line:
./build/tools/caffe test --model=/home/mymodel/train_val_face.prototxt --weights=data/face/snapshots/bvlc_face_iter_50000.caffemodel -gpu 0 -iterations 5000
My lmdb data is a set of grayscale images and I don't subtract the mean or apply any preprocessing to them when I train the network. Also I made sure about the batch size of testing when I test my model with the command line.
I have also tried to extract the "prob" layer using extract_features.bin then classify my images using the argmax in python it gave me the same accuracy that I got with the testing python code.
Any help would be really appreciated!