pycaffe使用.solverstate文件继续训练

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()

 

posted @ 2018-10-19 23:55  HOU_JUN  阅读(694)  评论(0编辑  收藏  举报