Ubuntu16.04安装CUDA7.5+Caffe+tensorflow

来源:互联网 发布:淘宝上搜的血滴子是啥 编辑:程序博客网 时间:2024/04/25 13:09

Cuda7.5 安装

Cuda7.5不支持默认的 g++ 版本,所以要降低版本以适应。

sudo apt install g++4.9sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 10sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30sudo update-alternatives --set cc /usr/bin/gccsudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30sudo update-alternatives --set c++ /usr/bin/g++

Caffe安装

Caffe installation

tensorflow安装

TensorFlow Installation

0 0
原创粉丝点击