首页 > 其他 > 详细

pycaffe使用.solverstate文件继续训练

时间:2018-10-20 00:11:17      阅读:407      评论:0      收藏:0      [点我收藏+]
import caffe  
 
solver_file = "solver.prototxt"
solverstate = "xx.solverstate"
caffe.set_device(0)  
caffe.set_mode_gpu()
solver = caffe.get_solver(solver_file)
solver.restore(solverstate) 
solver.solve()

 

pycaffe使用.solverstate文件继续训练

原文:https://www.cnblogs.com/houjun/p/9819935.html

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