python - Tensorflow-gpu 未检测到 GPU
问题描述
我已经多次重新安装 tensorflow-gpu。Cuda 和 Cudnn 已经安装并添加了路径,但 tensorflow 的可用 gpu 对我来说始终为 0。
解决方案
我再次重新安装了 tensorflow-gpu,但使用了以下命令。
conda install tensorflow-gpu=2.3 tensorflow=2.3=mkl_py38h1fcfbd6_0
推荐阅读
- java - 如何使用 openGL ES 移动和旋转 AR 对象?
- python - 如何消除空(暗)图像上的“盐和胡椒”噪声
- r - 从 R 数据框中的字符列中提取 %
- r - 根据条件更新多行
- python - 如何使用 Python 根据匹配的键值在字典列表中附加其他数据
- c# - 根据环境配置 URL
- azureservicebus - Auzre Java SDK 等效于 NamespaceManager.RevokePublisher(Servicebus / EventHub 发布者撤销列表管理)
- reactjs - 浏览器自动完成问题
- kotlin - Recycler View为空时如何显示TextView?
- lua - 如何使用 Pktgen 生成 64B 数据包大小的 100Mpps 流量?