0,第一步在Ubuntu上安裝NVIDIA的顯卡驅動:https://gist.github.com/dangbiao1991/7825db1d17df9231f4101f034ecd5a2b
1,第二步安裝cuda8和cudnn6:http://blog.csdn.net/yhaolpz/article/details/71375762;http://pan.baidu.com/s/1dFxXYlN,xup9
這里要注意,cuda安裝的第一步選no,就是不再重新安裝顯卡驅動;opengl一定也不要安裝
2,caffe和tensorflow統一用python2.7,因為Ubuntu下caffe和python3.5安裝會出現問題
3,安裝caffe:https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guid
4,安裝tensorflow:https://www.tensorflow.org/install/install_linux
安裝tensorflow建議安裝protobuf==3.2.0版本:sudo pip uninstall protobuf;sudo pip install protobuf;sudo pip upgrade protobuf==3.2.0