问题1:no module name _caffe
解决python在import caffe时出现的no module name _caffe问题
# 将相对路径改为绝对路径
caffe_root = '/home/brucelau/anaconda3/envs/caffe27/'
# caffe_root = '../' # this file should be run from {caffe_root}/examples (otherwise change this line)
问题2:browser Failed to launch GPU process
How to deal with chrome failing to launch GPU process
export BROWSER=google-chrome
问题3:The kernel appears to have died. It will restart automatically - Running the learning lenet example
- 方法1:
改Gpu
caffe.set_device(0)
caffe.set_mode_gpu()
为Cpu
caffe.set_mode_cpu()
- 方法2
Yes I agree with you. I had gotten that same issue in my other machine too.
But this time I ran the code in jupyter-qtconsole and normal jupyter command line. So the error message and its details were displayed right away on the console itself. I suggest you to run the code on console first to identify the error. Because the browser notebook exits without error statement and details.