windows 10, python, mnist data, SGDSolver

47 views
Skip to first unread message

elhadj....@gmail.com

unread,
Jul 6, 2016, 11:56:06 AM7/6/16
to Caffe Users
I am trying to get the example "Solving in Python with LeNet" (http://nbviewer.jupyter.org/github/BVLC/caffe/blob/master/examples/01-learning-lenet.ipynb) working on windows 10, but so far it is not working:

(1) getting the data is not working, I get the error:

./examples/mnist/create_mnist.sh: line 16: build/examples/mnist/convert_mnist_data.bin: No such file or directory
./examples/mnist/create_mnist.sh: line 18: build/examples/mnist/convert_mnist_data.bin: No such file or directory

It looks that the convert_mnist_data.bin is not available for the windows code (Microsoft branch).
 
(2) I managed to get the data from the link

But then I couldn't get the SGDSolver to work on cpu ( in the example http://nbviewer.jupyter.org/github/BVLC/caffe/blob/master/examples/01-learning-lenet.ipynb ,  they use the gpu):

import caffe
caffe.set_mode_cpu()
solver = caffe.SGDSolver('mnist/lenet_auto_solver.prototxt')

the solver doesn't get created, it restarts the python shell.

I would appreciated your help to solve this issue.

Thanks!

Reply all
Reply to author
Forward
0 new messages