【发布时间】: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