Closed jimixxperez closed 9 years ago
@jimixxperez the solver interface is changed in my patch merged by @pluskid yesterday. The snippet you give above should be correct for the new code. Is the rest of your checkout fully updated from Git? I'll try a fresh checkout and see if it behaves for me.
@jimixxperez the online doc has been updated to a new solver API incompatible with the old API. I suggest reading the document with v0.0.9 instead of latest, at here: http://mochajl.readthedocs.org/en/v0.0.9/tutorial/mnist.html
For example code of MNIST. Please refer to the locally installed version, usually at ~/.julia/v0.3/Mocha/examples/mnist
.
Hi,
I had the same problem and looked at the new tutorial. Now I have a problem with the
params = SolverParameters(max_iter=10000, regu_coef=0.0005, mom_policy=MomPolicy.Fixed(0.9), lr_policy=LRPolicy.Inv(0.01,0.0001,0.75), load_from=exp_dir)
it gives the error message : "function Dict does not accept keyword arguments"
Any clue ? (my Julia version is 0.3.11)
A.
@AurelienDecelle the new tutorial at "latest" http://mochajl.readthedocs.org/en/latest/tutorial/mnist.html suggests a different way of building the parameters:
method = SGD()
params = make_solver_parameters(method, max_iter=10000, regu_coef=0.0005,
mom_policy=MomPolicy.Fixed(0.9),
lr_policy=LRPolicy.Inv(0.01, 0.0001, 0.75),
load_from=exp_dir)
which should work with the latest code on master. The SolverParameters version is the older syntax for the 0.0.9 release.
indeed it works, thanx
I would to like to apply the presented MNIST example CNN to my own data set. However it sticks at the initialization part of the Solver Method, i.e. solver_method=SGD()
_code: