[caffe] 安装及使用注意
1. 安装cuda 一定按照官方教材,官方教材地址:
2. 安装blas 别弄那些mlk之类的东西,直接在命令行直接安装就好。
3. 运行caffe时要在主目录下进行,否则会有莫名的错误比如:
(a)./create_mnist.sh: 16: ./create_mnist.sh: build/examples/mnist/convert_mnist_data.bin: not found
4. 训练imageNet时,在create_image_mean.sh 里边将
./build/tools/compute_image_mean examples/imagenet/ilsvrc12_train_leveldb \
data/ilsvrc12/imagenet_mean.binaryproto
修改为
./build/tools/compute_image_mean examples/imagenet/ilsvrc12_train_lmdb \
data/ilsvrc12/imagenet_mean.binaryproto
ImportError: /home/kongtao/anaconda/bin/../lib/libm.so.6: version `GLIBC_2.15' not found (required by /usr/lib/x86_64-linux-gnu/libxvidcore.so.4)
进入aniconda/lib目录,去掉libm.so.6即可
2.No module named google.protobuf.internal
这说明你没有添加google.protobuf.的位置
sys.path.append('/usr/lib/python2.7/dist-packages/')
3. python
ImportError: No module named skimage
缺乏skimage工具箱
pip install scikit-image
原创文章,转载请注明出处!
http://www.cnblogs.com/taokongcn/p/4341290.html