1 装系统时候注意,另外14.04要好于12.04,自带了无线驱动
ubuntu14.04安装完不要update
2 安装cuda和cudnn
http://blog.csdn.net/l297969586/article/details/53320706
我安装时候cuda8,cudnn选用V5,因为最新的和显卡有问题
3 sudo apt-get upgate出问题:
在安装更新,命令行sudo apt-get update 或者运行更新管理器的时候,出现W: GPG 错误:http://ppa.launchpad.NET lucid Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY FAF69C646FF368B7的问题,可以在终端中运行:sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FAF69C646FF368B7
问题可以解决。
4 安装和编译opencv
http://www.cnblogs.com/weiweisuhe/p/6112850.html
http://www.cnblogs.com/freeweb/p/5794447.html
5 MXNET安装参考文档
http://www.cnblogs.com/weiweisuhe/p/6112850.html
6 安装python NUMPY,SCIPY(before 4)
http://blog.csdn.net/MMChinaMM/article/details/51104450
最后如果有在运行期间遇到下列问题:
File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 137, in <module>
import add_newdocs
File "/usr/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 13, in <module>
from polynomial import *
File "/usr/lib/python2.7/dist-packages/numpy/lib/polynomial.py", line 17, in <module>
from numpy.linalg import eigvals, lstsq
File "/usr/lib/python2.7/dist-packages/numpy/linalg/__init__.py", line 48, in <module>
from linalg import *
File "/usr/lib/python2.7/dist-packages/numpy/linalg/linalg.py", line 23, in <module>
from numpy.linalg import lapack_lite
ImportError: /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv
我的理解是:问题处在 liblapack.so.3gf 这个库里面了。
liblapack.so.3gf: undefined symbol: ATL_chemv:
解决办法:
sudo apt-get remove libopenblas-base
7 python decoding 错误
http://blog.csdn.net/hugleecool/article/details/17996993
8 python CV的支持
安装很简单 apt-cache search python-opencv 搜索下
然后 apt-get install python-opencv 安装就可以了
9 安装matlab
http://blog.csdn.net/lanbing510/article/details/41698285
10 nydusVPN 设置
http://www.nybbs.info/forum.php?mod=viewthread&tid=61826
http://www.nyduschina.org/help#faq
http://www.nybbs.info/forum.php? ... &extra=page%3D1
11 caffe安装编译
(0) make
http://caffe.berkeleyvision.org/installation.html#compilation
sudo apt-get install libboost-all-dev(1)make pycaffe
vi ~/.bashrc
export PYTHONPATH=/usr/caffe/python:$PYTHONPATH
source ~/.bashrc
- sudo apt-get install python-pip
- sudo atp-get install python-dev python-numpy
- sudo apt-get install gfortran
- sudo pip install –r python/requirements.txt (或者把里面的挨个安装了)
- sudo pip install pydotnumpy scipy matplotlib sklearn skimage h5py protobuf leveldb networkx nose pandas gflags Cython ipython gfortran
(2) make matcaffe
在Makefile里面,大约第410行那一句话CXXFLAGS += -MMD -MP下面添加CXXFLAGS += -std=c++11,最后是这样
CXXFLAGS += -MMD -MP
CXXFLAGS += -std=c++11
然后在caffe根目录下make clean,make all
12
libcudart.so.7.5: cannot open shared object file: No such file or directory
64-bit: sudo ldconfig /usr/local/cuda/lib64