1、mnist数据集训练中遇到的问题
convert_mnist_data.cpp:48] Check failed: image_file Unable to open file data/mnist/t10k-images-idx3-ubyte *** Check failure stack trace: ***
Aborted (core dumped)
解决方法:
a)检查下载数据集与create_mnist.sh文件中的名字是否一致
b) 在caffe目录下跑数据集
$ ./examples/mnist/create_mnist.sh
Traceback (most recent call last):
File "draw_net.py", line 58, in <module>
main()
File "draw_net.py", line 54, in main
phase)
File "/home/c/caffe/python/caffe/draw.py", line 244, in draw_net_to_file
fid.write(draw_net(caffe_net, rankdir, ext, phase))
File "/home/c/caffe/python/caffe/draw.py", line 223, in draw_net
return get_pydot_graph(caffe_net, rankdir, phase=phase).create(format=ext)
File "/usr/local/lib/python2.7/dist-packages/pydot.py", line 1867, in create
raise OSError(*args)
OSError: [Errno 2] "dot" not found in path.
解决方法
先安装graphviz否则会出现类似:"dot" not found in path的问题
安装graphviz不要用pip install安装,否则还是会找不到可执行程序
安装:sudo apt-get insall graphviz
然后安装pydot:pip install pydot