caffe ubuntu

前端之家收集整理的这篇文章主要介绍了caffe ubuntu前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

(1)git clone
(2)
vi Makefile.config

Adjust Makefile.config (for example,if using Anaconda Python)

uncomment cpu_ONLY := 1

(3) make -j4
(4)make pycaffe
(5)make test
(6) make runtest
(7)
cd caffe
sh data/mnist/get_mnist.sh
sh examples/mnist/create_mnist.sh
vi examples/mnist/lenet_solver.prototxt

修改 solver_mode 为 cpu

./examples/mnist/train_lenet.sh

原文链接:https://www.f2er.com/ubuntu/351670.html

猜你在找的Ubuntu相关文章