当前位置:网站首页>Installation problem corresponding to tensorflow and GPU version
Installation problem corresponding to tensorflow and GPU version
2022-07-31 00:59:00 【The young man who rides the wind】
tensorflow and cuda versions correspond
The corresponding form
The corresponding URL is:
https://www.tensorflow.org/install/source#common_installation_problems
https://www.tensorflow.org/install/source_windows
Check if cuda is available
import tensorflow as tftf.test.is_built_with_cuda()print(tf.test.is_built_with_cuda())#Return true means available
Check if GPU is available
import tensorflow as tfprint(tf.test.is_gpu_available())#If the result is True, it means the GPU is available
Wind10 system Python, tensoflow and CPU, GPU correspondence.
Correspondence between GPU and tensorflow
边栏推荐
猜你喜欢
随机推荐
typescript15-(同时指定参数和返回值类型)
Error ER_NOT_SUPPORTED_AUTH_MODE Client does not support authentication protocol requested by serv
分布式系统的一致性与共识(1)-综述
ROS2系列知识(3):环境配置
MySQL master-slave replication and read-write separation script - pro test available
【c语言课程设计】C语言校园卡管理系统
MySQL database constraints, table design
这个项目太有极客范儿了
MySQL系列一:账号管理与引擎
场景之多数据源查询及数据下载问题
[Yugong Series] July 2022 Go Teaching Course 016-Logical Operators and Other Operators of Operators
华为“天才少年”稚晖君又出新作,从零开始造“客制化”智能键盘
822. 走方格
ShardingSphere read-write separation (8)
【愚公系列】2022年07月 Go教学课程 015-运算符之赋值运算符和关系运算符
typescript13 - type aliases
权限管理怎么做的?
解析云原生消息流系统 Apache Pulsar 能力及场景
WEB Security Basics - - - Vulnerability Scanner
DOM系列之scroll系列