tensorflow相关配置信息

1.tensflow、cuda、cudnn版本匹配关系

https://blog.csdn.net/yuejisuo1948/article/details/81043962

2.安装cuda

==

3.查看

4.重要链接

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04?tdsourcetag=s_pcqq_aiomsg   配置VNC

 


安装cuda 10

一、硬件条件

(**) For Ubuntu LTS on x86-64, both the HWE kernel (e.g. 4.13.x for 16.04.4) and the server LTS kernel (e.g. 4.4.x for 16.04) are supported in CUDA 10.0. Visit https://wiki.ubuntu.com/Kernel/Support for more information.

1.相关内容查看

1.1 是否含有cuda支持的gpu

lspci | grep -i nvidia

有内容说明已经配置了GPU和相关驱动

1.2 查看Linux版本

uname -m && cat /etc/*release

1.3 查看GCC版本

gcc --version

1.4 查看kernel版本

uname -r

不匹配cuda10的要求

1.4.1 内核降级

https://blog.csdn.net/qq_38262728/article/details/88742198

1.5 验证kernel相应版本的kernel headers and development packages是否安装

2. python和 tensorflow gpu的安装


GPU: 1.14.0

python: 3.7

cudnn: 7.6.3

cuda: 10.0

二、配置pycharm的远程执行

只需要配置解析器就可以了,不需要配置run。但是,如果程序使用了gpu,需要在pycharm中添加环境变量

LD_LIBRARY_PATH(/usr/local/cuda-10.0/lib64),添加方法如下:

https://www.cnblogs.com/sddai/p/11050947.html 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值