报错入下图所示: 产生bug原因: 是因为你在examples/mnist/ 目录下执行脚本. 解决办法: 回退到caffe目录下, 执行 ./examples/mnist/train_lenet.sh