1.install Ubuntu (english to avoid rhombus messy code),set pwd
2.Ctrl+Alt+t
https://caffe.berkeleyvision.org/install_apt.html
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev
3.install cudnn
download
ctrl+alt+f1
sudo service lightdm stop
sudo sh ~/balabal/cudabalabala.run --override(may)
press down and yesyes wait
sudo service lightdm start
3.install others
Blas:
sudo apt-get install libatlas-base-dev
pip:
sudo apt install python-pip
git:
sudo apt install git
4. install caffe
git clone git://github.com/BVLC/caffe.git
5.if u use python,open the python file under caffe file
for req in $(cat requirements.txt); do sudo pip install $req; done
6.cmake
sudo apt install cmake
7.makefile under caffe file
https://caffe.berkeleyvision.org/installation.html
cp Makefile.config.example Makefile.config
# Adjust Makefile.config (for example, if using Anaconda Python, or if cuDNN is desired)
mkdir build
cd build
cmake ..
make all -j8(this is the number of thread)
make install -j8
make runtest -j8
//
ubuntu16.04 + shadowsocks-qt5 + genpac
from 菊花三弄
安装 shadowsocks-qt5
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get updatesudo apt-get install shadowsocks-qt5
安装genpac
sudo apt-get install python-pip
pip install genpac
使用genpac生成autoproxy.pac
genpac -p "SOCKS5 127.0.0.1:1080" --output="autoproxy.pac"
/home/xxx/下面会生成一个autoproxy.pac
shadowsocks-qt5,配置
设置全局pac,auto,file:///home/***/autoproxy.pac,apply system wide