首页 > 编程语言 > 详细

caffe的python接口学习(3)训练模型training

时间:2018-05-03 13:55:05      阅读:131      评论:0      收藏:0      [点我收藏+]

 如果不进行可视化,只想得到一个最终的训练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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!