如果不进行可视化,只想得到一个最终的训练model, 那么代码非常简单,如下 :
import caffe
caffe.set_device(0)
caffe.set_mode_gpu()
solver = caffe.SGDSolver(‘/home/xxx/data/solver.prototxt‘)
solver.solve()
caffe的python接口学习(3)训练模型training
原文:https://www.cnblogs.com/niulang/p/8984829.html