0

当我到达时,按照https://www.tensorflow.org/install/install_windows上的说明进行操作

激活 tensorflow-gpu $ python

import tensorflow as tf hello = tf.constant('Hello, TensorFlow!') sess = tf.Session() 屏幕变黑。当我移动光标时,它会移动,然后每 10 秒左右重置到中心并消失在黑暗中,并且不会回到正常屏幕。系统信息

Windows 8.1 专业版 64 位

使用 pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.1.0-cp35-cp35m-win_amd64.whl

Cuda 工具包 8.0

库顿 5.1

英特尔 i7-4700HQ

4G 英伟达 GT 750M:

python -c "将 tensorflow 导入为 tf;print(tf.GIT_VERSION, tf.VERSION)" b'unkown' 1.1.0

// 然后我尝试了:www.tensorflow.org/tutorials/using_gpu#allowing_gpu_memory_growth 允许增长和限制 gpu 内存分数直到 0.1,但仍然出现黑屏。有人建议我存在驱动程序或 GPU 问题。

让我知道我还应该提供什么

4

1 回答 1

1

我有完全相同的问题。非常相似的硬件和软件:

我的数据:
Cuda toolkit 8.0
Cudnn 5.1
intel i7-4500U
NVidia GT 730M

问题:
运行 Python + Tensorflow 后出现光标可见的黑屏。

解决方案:
将 NVidia 显示驱动程序更新到最新版本。
完美地工作。

我认为安装 Cuda 工具包 + Cudnn 后必须更新驱动程序。
祝你好运!

于 2017-08-01T22:38:02.327 回答