Python Tensorflow未识别GPU Dell XPS 15
我的电脑有Nvidia gpu和Intel gpu。我的电脑是戴尔XPS15。我在anaconda环境中安装了tensforflow gpu版本。之后,我运行以下代码并得到nothingPython Tensorflow未识别GPU Dell XPS 15,python,tensorflow,anaconda,gpu,Python,Tensorflow,Anaconda,Gpu,我的电脑有Nvidia gpu和Intel gpu。我的电脑是戴尔XPS15。我在anaconda环境中安装了tensforflow gpu版本。之后,我运行以下代码并得到nothing import tensorflow as tf tf.test.gpu_device_name() 然后我运行以下代码 from tensorflow.python.client import device_lib device_lib.list_local_devices() 所以结果是, [name:
import tensorflow as tf
tf.test.gpu_device_name()
然后我运行以下代码
from tensorflow.python.client import device_lib
device_lib.list_local_devices()
所以结果是,
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 18376951021740919654]
这是什么问题?我需要启用某些功能吗<代码>CUDA可视设备
我按照以下步骤安装tensorflow gpu
- C:\Program Files\NVIDIA GPU计算工具包\CUDA\v9.0\bin
- C:\Program Files\NVIDIA GPU计算工具包\CUDA\v9.0\libnvvp
- conda create-n[name]python=3.6
- 激活[名称]
- pip安装--忽略已安装--升级tensorflow gpu
- pip安装keras
我想你的意思是说你的系统有一个英特尔CPU(不是gpu)。但不管怎样,你对TF的看法是什么?有些版本只支持CPU。我想你的意思是说你的系统有一个Intel CPU(不是gpu)。但不管怎样,你对TF的看法是什么?有些版本只支持CPU。