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

前端网站demo流程图制作网站

前端网站demo,流程图制作网站,莱芜中考网站,软件开发文档管理软件这里写目录标题 3090、cuda和tensorflow 1.x 3090、cuda和tensorflow 1.x 因为3090只支持cuda11.0的版本#xff0c;而tensorflow1.已经不再维护#xff0c;没有出支持cuda11.0的版本了。 nvidia提供了TF1.x对RTX 3090、cuda11等新硬件的支持。卸载已有的tensorflow-gpu包和… 这里写目录标题 3090、cuda和tensorflow 1.x 3090、cuda和tensorflow 1.x 因为3090只支持cuda11.0的版本而tensorflow1.×已经不再维护没有出支持cuda11.0的版本了。 nvidia提供了TF1.x对RTX 3090、cuda11等新硬件的支持。卸载已有的tensorflow-gpu包和conda安装的cuda包安装nvidia版本tensorflow: pip install nvidia-pyindex pip install nvidia-tensorflow # 会自动安装相关cuda依赖pip install tensorboard import tensorflow as tf 和 tf.test.is_gpu_available() 测试如果出现以下内容WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.此时还需要再安装一个.重新安装tensorboard。pip install tensorboard即可解决 pip install tensorboard import tensorflow as tf 和 tf.test.is_gpu_available() 测试如果出现以下内容WARNING:root:Limited tf.compat.v2.summary API due to missing TensorBoard installation.此时还需要再安装一个。重新安装tensorboard。pip uninstall tensorboard、pip install tensorboard即可解决 注nvidia-tensorflow仓库提示需要使用Python3.8但我使用Python3.6可用。 参考 https://blog.csdn.net/qq_39543404/article/details/112171851 https://www.cnblogs.com/xikeguanyu/p/16269066.html https://zhuanlan.zhihu.com/p/521957441 https://blog.csdn.net/znevegiveup1/article/details/115053563 测试TF和cuda 1、 #1查看TF版本 import tensorflow as tf tf.__version__ # 此命令为获取安装的tensorflow版本 print(tf.__version__) # 输出版本 tf.__path__ #查看tensorflow安装路径 print(tf.__path__)#2查看cuda是否可用 import tensorflow as tf print(tf.test.is_gpu_available())#如果结果是True表示GPU可用import tensorflow as tf tf.test.is_gpu_available()#(3)查看cuda版本 nvidia-smi #系统中自带的cudaconda list | grep cuda #虚拟环境的cuda或者用pip看包信息2、 import tensorflow as tf gpu_device_name tf.test.gpu_device_name() print(gpu_device_name) tf.test.is_gpu_available()import tensorflow as tf tf.test.is_built_with_cuda() print(tf.test.is_built_with_cuda())#返回true表示可用3、 from tensorflow.python.client import device_lib# 列出所有的本地机器设备 local_device_protos device_lib.list_local_devices() # 打印 print(local_device_protos) # 只打印GPU设备 [print(x) for x in local_device_protos if x.device_type GPU] 测试Pytorch和cuda import torch print(torch.__version__) print(torch.cuda.is_available())CUDA版本 1.查看当前安装的版本nvcc -V 通过nvcc(NVIDIA Cuda compiler driver)命令可查看本机安装的CUDA版本nvcc -V nvcc -V查看的是系统自带的cuda的版本要看虚拟环境中的版本要导入pytorch和tensorflow库进行测试 pytorch中print(torch.__version__) 与 tensorflow中conda list | grep cuda直接在终端里打开相应环境进行查看 2.查看能支持的最高CUDA版本nvidia-smi 通过nvidia-smi 命令可查看本机的Nvidia显卡驱动信息以及该驱动支持的最高的CUDA版本。nvidia-smi例如下面的CUDA Version就是我的电脑上面能够安装的最高版本的CUDA并且该版本号是向下支持的可以安装低于该版本号的所有CUDA套件 tenserflow卸载 检查 sudo pip show tensorflow 卸载使用 pip uninstall protobuf pip uninstall tensorflow pip uninstall tensorflow-gpu pip wheel 安装 TensorRT 安装 nvidia-pyindex 包用下面这条命令 pip install nvidia-pyindex 安装装好之后就可以开始安装 TensorRT 了。使用下面的命令 pip install --upgrade nvidia-tensorrt pip install nvidia-pyindex pip install nvidia-tensorrt8.2.5.1import tensorrt print(tensorrt.__version__) assert tensorrt.Builder(tensorrt.Logger()) 参考https://blog.csdn.net/qq_37541097/article/details/114847600 https://www.cnblogs.com/asnelin/p/15929442.html 同时安装tensorflow、pytorch 主要考虑cudnn、tensorflow、pytorch的版本问题先选cuda的版本和显卡的匹配再选tensorflow、pytorch的cuda对应版本。 cuda、cudnn、tensorflow-gpu、pytorch弄清版本。 参考https://blog.csdn.net/LIWEI940638093/article/details/113811563 链接: 版本安装连接link
http://www.hkea.cn/news/14526534/

相关文章:

  • 黑龙江省建设厅网站的电话客户关系管理系统的功能
  • 做网站一般需要多少钱网站建设与开发是什么岗位
  • 遂宁网站建设哪家好南昌旅游网站建设方案
  • 邯郸wap网站建设公司成都高端网站建设那家好
  • 创意设计网站大全wordpress响应式主题在哪里
  • ssc网站建设展示形网站开发
  • 免费com域名网站开发app和网站的公司
  • 国内html5网站案例无极网络科技有限公司
  • 郑州专做喜宴的网站长沙网络营销平台排行
  • 电视剧下载网站 免费糖醋蒜怎样做公司做网站建设
  • 关于网站建设的问题地产商网站建设
  • 餐饮网站设计公司成都旅行社网站建设
  • 介绍化工项目建设和招聘的网站wordpress添加页面
  • 自己用笔记本做网站福田市网站建设推广
  • 网站策划书3000家具网站建设比较好的
  • 中国建设银行国际互联网网站网站排名怎么优化
  • 凡科建站快车代理登录长春网站建设托管
  • 东莞品牌网站建设报价网站开发工程师asp考试
  • 小游戏网站网址wordpress部署wamp
  • 泉州安溪县住房和城乡建设网站网站维护怎么学
  • 红酒网站建设方案范本建个网站费用大概多少钱一年
  • 个人网站公司网站区别经营区别工作室网站制作
  • 新一代 网站备案怎么快速排名
  • 网站突然打不开了青岛企业网站建站模板
  • 幼教机构网站开发设计论文如何开发wap网站
  • 沈阳中小企业网站建设企业核名查询系统是哪个
  • 佛山专业网站营销辽宁鞍山最新通知
  • 汕头哪里做网站网站建设与维护方式是什么
  • 公司网站的后台西安网站制作工作室
  • 深圳网站建设快速排名湖南长沙有什么好玩的地方