caffe官网:http://caffe.berkeleyvision.org/gathered/examples/mnist.html
下载caffe地址:https://github.com/BVLC/caffe
问题1:参考:https://github.com/BVLC/caffe/issues/559
缺少libatlas-base-dev 包,则输入sudo apt-get install libatlas-base-dev
问题2:
参考:http://www.cnblogs.com/littlemonsters/p/5783690.html
1
2
3
|
sudo
cp
/etc/apt/sources
.list
/etc/apt/sources
.list.bak
#备份
sudo
vim
/etc/apt/sources
.list
#修改
sudo
apt-get update
#更新列表
|
deb http:
//mirrors
.aliyun.com
/ubuntu/
trusty main restricted universe multiverse
deb http:
//mirrors
.aliyun.com
/ubuntu/
trusty-security main restricted universe multiverse
deb http:
//mirrors
.aliyun.com
/ubuntu/
trusty-updates main restricted universe multiverse
deb http:
//mirrors
.aliyun.com
/ubuntu/
trusty-proposed main restricted universe multiverse
deb http:
//mirrors
.aliyun.com
/ubuntu/
trusty-backports main restricted universe multiverse
deb-src http:
//mirrors
.aliyun.com
/ubuntu/
trusty main restricted universe multiverse
deb-src http:
//mirrors
.aliyun.com
/ubuntu/
trusty-security main restricted universe multiverse
deb-src http:
//mirrors
.aliyun.com
/ubuntu/
trusty-updates main restricted universe multiverse
deb-src http:
//mirrors
.aliyun.com
/ubuntu/
trusty-proposed main restricted universe multiverse
deb-src http:
//mirrors
.aliyun.com
/ubuntu/
trusty-backports main restricted universe multiverse
问题3:ImportError: /root/anaconda2/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/liyongfen/caffe/python/caffe/../../build/lib/libcaffe.so.1.0.0-rc3)
conda install libgcc