constructing SGDsolver not from file

3 views
Skip to first unread message

Z.L

unread,
Jun 20, 2017, 2:46:25 PM6/20/17
to Caffe Users

In python to call caffe Solver, we could do 

solver = caffe.SGDSolver("solver.prototxt")

Since I would like to change one item of solver.prototxt each time, is there anyway I could directly construct solver? for example
solver = caffe.SGDSolver()
solver.net = "trian_val.prototxt"

If someone could help, that will be great!


Reply all
Reply to author
Forward
0 new messages