当前位置: 首页 > news >正文

网站鉴赏景区官方网站建设方案

网站鉴赏,景区官方网站建设方案,学编程先学什么,莱州网站建设有限公司cuda9.0cudnn7.0tensorflow-gpu1.9.0 cuda和cudnn网上的安装教程都有很多,这里我就不详细说了 查看cuda和cudnn是否安装成功: cuda一般安装在 /usr/local/cuda/ 路径下,该路径下有一个version.txt文档,里面记录了cuda的版本信息…

cuda9.0+cudnn7.0+tensorflow-gpu1.9.0

cuda和cudnn网上的安装教程都有很多,这里我就不详细说了

查看cuda和cudnn是否安装成功:

cuda一般安装在 /usr/local/cuda/ 路径下,该路径下有一个version.txt文档,里面记录了cuda的版本信息

cat  /usr/local/cuda/version.txt 即可查询

同理,cudnn的信息在其头文件里

cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2  即可查询

重点来了-----------------

tensorflow一定要装1.9.0,不然虽然安装好了,但是import tensorflow的时候就会报错

安装tensorflow用下面的语句:

pip install tensorflow-gpu==1.9.0

安装好之后用下列代码测试一下

import tensorflow as tf
tf.test.is_gpu_available()

会出现以下信息就说明gpu版本的装好了

2019-03-20 10:51:12.233358: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-03-20 10:51:12.635285: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1392] Found device 0 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:02:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2019-03-20 10:51:12.884465: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1392] Found device 1 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:04:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2019-03-20 10:51:13.072415: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1392] Found device 2 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:83:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2019-03-20 10:51:13.270321: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1392] Found device 3 with properties:
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:84:00.0
totalMemory: 10.92GiB freeMemory: 10.76GiB
2019-03-20 10:51:13.274725: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1471] Adding visible gpu devices: 0, 1, 2, 3
2019-03-20 10:51:14.588672: I tensorflow/core/common_runtime/gpu/gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-03-20 10:51:14.588747: I tensorflow/core/common_runtime/gpu/gpu_device.cc:958]      0 1 2 3
2019-03-20 10:51:14.588765: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0:   N Y N N
2019-03-20 10:51:14.588778: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 1:   Y N N N
2019-03-20 10:51:14.588791: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 2:   N N N Y
2019-03-20 10:51:14.588803: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 3:   N N Y N
2019-03-20 10:51:14.590197: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1084] Created TensorFlow device (/device:GPU:0 with 10413 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:02:00.0, compute capability: 6.1)
2019-03-20 10:51:14.771710: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1084] Created TensorFlow device (/device:GPU:1 with 10413 MB memory) -> physical GPU (device: 1, name: GeForce GTX 1080 Ti, pci bus id: 0000:04:00.0, compute capability: 6.1)
2019-03-20 10:51:14.992416: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1084] Created TensorFlow device (/device:GPU:2 with 10413 MB memory) -> physical GPU (device: 2, name: GeForce GTX 1080 Ti, pci bus id: 0000:83:00.0, compute capability: 6.1)
2019-03-20 10:51:15.209922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1084] Created TensorFlow device (/device:GPU:3 with 10413 MB memory) -> physical GPU (device: 3, name: GeForce GTX 1080 Ti, pci bus id: 0000:84:00.0, compute capability: 6.1)
True

 

 

http://www.yayakq.cn/news/235067/

相关文章:

  • 行业排名查询网站网站建设丿选择金手指15
  • 宿迁做网站多少钱wordpress 预定插件
  • 网站建设工作室图片天元建设集团有限公司单位
  • 用html做的网站加背景音乐设计网页英语
  • 广东省网站设计与开发html制作新闻信息展示页面
  • 网站建站安全需求模板制作视频免费软件
  • 网站开发刷新图片钓鱼转转网站在线生成
  • 互联网技术网站互联网网站建设彭聪
  • 请人做网站域名和主机仿 wordpress主题
  • 石家庄住建局网站网络彩票建立网站
  • 网站制作千知寻欧美简约风格网站设计
  • 如何自己制作一个网站域名备案信息查询系统
  • 企业网站建设需注意什么昆明学校网站建设
  • 如何建设企业网站ppt网站更改关键词
  • 商城网站建设价格低免费行情网站app大全
  • 做调查问卷的网站知乎建设一个网站需要什么技术指标
  • 大型企业网站制作68设计网站
  • 知名高端网站建设报价wordpress手机接口
  • wordpress网站搬进入网站前如何做环境检测
  • 网站备案 年审婚庆公司简介模板
  • 去哪里找人做网站网站要做手机版怎么做的
  • 湖南专业做网站公司排名营销策略有哪几种
  • 石景山广州网站建设卖书网站开发的背景
  • 大连做网站孙晓龙开发一个电商app软件多少钱
  • 网站建设到底怎么回事无锡做网站公司在哪里
  • 专业做网站广州排名优化公司好不好
  • 建设银行网银盾连接不上网站二级建造师注册查询
  • 北京网站建设类岗位wordpress首页内容放哪里
  • 备案的网站建设书是什么汕头企业建站系统模板
  • 什么网站可以做ui小动画个人工作室如何纳税