【问题标题】:Tensorflow GPU Device "Failed to get device properties"TensorFlow GPU 设备“无法获取设备属性”
【发布时间】:2019-12-26 20:40:52
【问题描述】:

当我在 Python Tensorflow 中使用我的深度学习模型运行 session.run() 时,由于某种原因,我收到以下错误:

E tensorflow/core/grappler/clusters/utils.cc:87] Failed to get device properties, error code: 30

Failed to initialize GPU device #0: unknown error

\tensorflow/core/kernels/conv_2d_gpu.h:441] Non‑OK‑status: 

CudaLaunchKernel(ShuffleInTensor3Simple, config.block_count, config.thread_per_block, 0, d.stream(), config.virtual_thread_count, in.data(), combined_dims, out.data()) status: Internal: invalid configuration argument

我使用的 Windows 笔记本电脑配备了集成的 Intel 显卡和 NVIDIA GeForce GTX 1050 GPU。我也在使用 tensorflow-gpu 1.14.0。

有时,如果此错误没有弹出,我的 Spyder IDE 中的内核会重新启动,然后停止工作。如果不是,我从session.run() 得到的结果是完全错误的。

任何想法将不胜感激!

【问题讨论】:

    标签: tensorflow gpu


    【解决方案1】:

    我实际上能够通过更新我的 NVIDIA GPU 图形驱动程序来解决它。现在它正在工作!

    【讨论】:

      猜你喜欢
      • 2020-08-14
      • 2015-10-15
      • 2020-05-18
      • 1970-01-01
      • 2018-06-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-01
      相关资源
      最近更新 更多