当前位置:网站首页>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
边栏推荐
- 埃拉托斯特尼筛法
- 华为“天才少年”稚晖君又出新作,从零开始造“客制化”智能键盘
- [Yugong Series] July 2022 Go Teaching Course 015-Assignment Operators and Relational Operators of Operators
- [Yugong Series] July 2022 Go Teaching Course 016-Logical Operators and Other Operators of Operators
- Huawei's "genius boy" Zhihui Jun has made a new work, creating a "customized" smart keyboard from scratch
- 蓝牙mesh系统开发三 Ble Mesh 配网器 Provisioner
- typescript11 - data types
- API 网关 APISIX 在Google Cloud T2A 和 T2D 的性能测试
- 场景之多数据源查询及数据下载问题
- Kotlin协程:协程上下文与上下文元素
猜你喜欢
The client series of the DOM series
【952. 按公因数计算最大组件大小】
How to Add a Navigation Menu on Your WordPress Site
Mini Program - Global Data Sharing
This project is so geeky
BOM系列之history对象
typescript12 - union types
[Tang Yudi Deep Learning-3D Point Cloud Combat Series] Study Notes
系统设计.短链系统设计
Go study notes (84) - Go project directory structure
随机推荐
解析云原生消息流系统 Apache Pulsar 能力及场景
35. 反转链表
BOM系列之history对象
ShardingSphere's unsharded table configuration combat (6)
Preparations for web vulnerabilities
Typescript14 - (type) of the specified parameters and return values alone
WMware Tools installation failed segmentation fault solution
typescript9-常用基础类型
Rocky/GNU之Zabbix部署(2)
xss bypass: prompt(1)
typescript18-对象类型
金融政企被攻击为什么要用高防CDN?
【多线程】
[C language course design] C language campus card management system
A complete guide to avoiding pitfalls for the time-date type "yyyy-MM-dd HHmmss" in ES
24. Please talk about the advantages and disadvantages of the singleton pattern, precautions, usage scenarios
【Yugong Series】July 2022 Go Teaching Course 013-Constants, Pointers
87. 把字符串转换成整数
MySQL master-slave replication and read-write separation script - pro test available
Basic usage of async functions and await expressions in ES6