1

我正在尝试使用此处的说明进行安装

我在系统上安装了兼容的 nVIDIA GEFORCE 920M GPU 和 CRUD DNN 工具包和驱动程序。当我在 python 程序上执行步骤以测试 GPU 上的 tensorflow 安装时:

import tensorflow as tf
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))

我得到的输出是:

>>> sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
2017-05-28 09:38:01.349304: W c:\tf_jenkins\home\workspace\release-   
win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] 
The TensorFlow library wasn't compiled to use SSE instructions, but these 
are available on your machine and could speed up CPU computations.


2017-05-28 09:38:01.349459: W c:\tf_jenkins\home\workspace\release- 
win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] 
The TensorFlow library wasn't compiled to use SSE2 instructions, but these 
are available on your machine and could speed up CPU computations.

2017-05-28 09:38:01.349583: W c:\tf_jenkins\home\workspace\release-
win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45]  
The TensorFlow library wasn't compiled to use SSE3 instructions, but these 
are available on your machine and could speed up CPU computations.

2017-05-28 09:38:01.349705: W c:\tf_jenkins\home\workspace\release-
win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] 
The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these 
are available on your machine and could speed up CPU computations.

2017-05-28 09:38:01.354312: I c:\tf_jenkins\home\workspace\release-
win\device\cpu\os\windows\tensorflow\core\common_runtime\direct_session.cc:257] Device mapping:

我向您提出的问题是:

  1. 为什么在安装所有库和工具包时未检测到 nVIDIA GPU?

  2. 为什么输出说“TensorFlow 库未编译为使用 SSE4.1 指令,但这些在您的机器上可用并且可以加速 CPU 计算”,我该如何纠正这个问题?

  3. 请给出一步一步的解决方案。没有别的。

提前感谢您的回答。

4

1 回答 1

0

好的,我的精确答案:

Why is the nVIDIA GPU not getting detected when all librariries and toolkits are installed without errors?

回答:转到 NVidia GEFORCE 应用程序并更新驱动程序,然后库将开始被检测到并且错误将消失。

Why is it the output saying "TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations" and how do i rectify this?

回答:完成上述更新后,TensorFlow 库将停止提供 SSE 错误。这将解决您的问题。

Please give a step by step solution. None other.

回答: 鉴于以上应该工作它对我有用。

于 2017-06-11T14:19:53.507 回答