SSD-caffe環境配置
sudo apt-get install libprotobuf-dev
sudo apt-get install libleveldb-dev
sudo apt-get install libsnappy-dev
sudo apt-get install libopencv-dev
sudo apt-get install libhdf5-serial-dev
sudo apt-get install protobuf-compiler
sudo apt-get install libgflags-dev
sudo apt-get install libgoogle-glog-dev
sudo apt-get install liblmdb-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install --no-install-recommends libboost-all-dev
通過apt-get安裝指定版本軟體
apt-get install package=version
顯示安裝包的詳情
apt-cache show libprotobuf-dev
apt-cache show protobuf-compiler
使用apt-show-versions列出軟體所有版本,並檢視是否已經安裝
sudo apt-get install apt-show-versions
apt-show-versions -a libprotobuf-dev (別多空格)
install ATLAS by
sudo apt-get install libatlas-base-dev
or install OpenBLAS by
sudo apt-get install libopenblas-dev
matlab使用的是matlab2018b
安裝好了以後:
sudo gedit ~/.bashrc
export PATH=$PATH:/home/apple/MATLAB/R2018b/bin
python使用的是Ubuntu16.04預設安裝的python2.7 sudo apt-get install python-pip pip install pip==9.0.1 #安裝scipy庫時需要它 sudo apt-get install gfortran sudo atp-get install python-dev python-numpy cd ~/caffe/python for req in $(cat requirements.txt); do pip install $req; done 或 cd ~/caffe/python for req in $(cat requirements.txt); do pip install -i https://pypi.tuna.tsinghua.edu.cn/simple $req; done sudo gedit ~/.bashrc export PYTHONPATH=/home/moqi/caffe/python:$PYTHONPATH
python一直出錯
sudo pip install protobuf==2.6.1
sudo pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple