1.ImportError: No module named 'caffe._caffe'
尝试解决一:make pycaffe
make pycaffe 过程中,出现报错fatal error: numpy/arrayobject.h: No such file or directory
解决办法 sudo apt-get install python3-numpy
2.ImportError: No module named 'skimage'
sudo apt-get install python3-skimage
3.运行caffe自带的minist例子
a.将终端定位到Caffe根目录
cd ~/caffe
b.下载MNIST数据库并解压缩
./data/mnist/get_mnist.sh
c.将其转换成Lmdb数据库格式
./examples/mnist/create_mnist.sh 如果报错
./create_mnist.sh: 17: ./create_mnist.sh: build/examples/mnist/convert_mnist_data.bin: not found 先执行 sudo make all -j8
d.训练网络
./examples/mnist/train_lenet.sh