I run http://nbviewer.jupyter.org/github/BVLC/caffe/blob/master/examples/01-learning-lenet.ipynb on jupyter notebook.
However, it pops the error: kernel died
, after I run the code
solver = caffe.SGDSolver('mnist/lenet_auto_solver.prototxt')
How to solve this?
Finally, I got an answer. It is to add a line of code solver_mode = GPU
at the end of the file lenet_auto_solver.prototxt
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.