码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2018-05-03 14:19:43      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:可视化   代码   xxx   bsp   txt   class   训练   home   ice   

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

标签:可视化   代码   xxx   bsp   txt   class   训练   home   ice   

原文地址:https://www.cnblogs.com/niulang/p/8984829.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!