ubuntu18.04从0开始+cuda10.0安装tensorflow-gpu

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/owenfy/article/details/85232639

安装Ubuntu系统必做的事情(常用软件安装+系统配置)

1、安装chrome

https://linuxconfig.org/how-to-install-google-chrome-web-browser-on-ubuntu-18-04-bionic-beaver-linux

2、安装sougou

https://blog.csdn.net/lupengCSDN/article/details/80279177

3、截图

https://ywnz.com/linuxjc/3056.html

5、git clone很慢

https://blog.csdn.net/hzwwpgmwy/article/details/79043251

6、nvidia显卡驱动与编译器版本的查询命令

https://blog.csdn.net/s_sunnyy/article/details/64121826

4、安装tensorflow

1) 安装显卡驱动 

2)安装cuda10.0

  1. `sudo dpkg -i cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48_1.0-1_amd64.deb`
  2. `sudo apt-key add /var/cuda-repo-<version>/7fa2af80.pub`
  3. `sudo apt-get update`
  4. `sudo apt-get install cuda
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

source ~/.bashrc

查看是否安装成功

nvcc -V

3)安装cudann

按照官方来安装

再安装tensorflow-gpu就行了

 

 

展开阅读全文

没有更多推荐了,返回首页