caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Generalizing Learning Rate

Open seewalker opened this issue 12 years ago • 1 comments

Looking at the caffe source code, it seems there are four learning rate policies: fixed, inv, exp, step. It appears these have to be hardcoded into the net specification. In my project I'm using a net with many layers, so I'm concerned about tunneling out of local minima. Is there a way to combine the exp policy with simulated annealing?

Also, according to this talk, it can be effective to use a fixed learning policy for the first few iterations and using an inverse policy for the rest of training. Is there a way to write stateful net specifications to this end?

Thanks.

seewalker avatar Jun 18 '14 16:06 seewalker

I think the simplest resolution of this is to expose the solver learning rate through pycaffe so that it can be arbitrarily modified when the fixed policy is used.

shelhamer avatar Apr 13 '17 20:04 shelhamer