It's your original lenet protobin and caffemodel, I replaced the image with a "5", 28*28 size image, and the result shows it's [8] 