用caffe训练LeNet网络的步骤

以mnist手写体数据为例

1.准备数据

cd $CAFFE_ROOT
./data/mnist/get_mnist.sh
./examples/mnist/create_mnist.sh

2.定义Net
$CAFFE_ROOT/examples/mnist/lenet_train_test.prototxt

3.配置Solver
$CAFFE_ROOT/examples/mnist/lenet_solver.prototxt

4.训练和测试
cd $CAFFE_ROOT
./examples/mnist/train_lenet.sh

猜你喜欢

转载自blog.csdn.net/zwr1994/article/details/80015105
今日推荐