caffe之利用mnist数据集训练好的lenet_iter_10000.caffemodel模型测试一张自己的手写体数字+错误+解决

使用caffe训练基于mnist的模型:https://blog.csdn.net/dcrmg/article/details/75209098

训练好caffemodel后测试自己手写的数字,参考博客:https://blog.csdn.net/xunan003/article/details/73126425

错误集锦:

运行命令

sudo build/tools/compute_image_mean examples/mnist/mnist_train_lmdb examples/mnist/mean.binaryproto

出现错误: compute_image_mean: command not found  要在caffe根目录下运行


附有28x28黑白测试图




虽然说是在测试集上识别度很高,但是用自己手写的就蛮低了,可能是我下载的train才9M左右吧。

猜你喜欢

转载自blog.csdn.net/zichen7055/article/details/80649403