采用nVIDIA GEFORCE 920M GPU的Windows 10 Intel Core i3处理器上的Tensorflow安装

时间:2017-05-28 04:47:34

标签: python-3.x gpu tensorflow-gpu

我正在尝试使用说明here

进行安装

我在系统上安装了兼容的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计算和#34;我该怎么纠正这个?

  3. 请提供一步一步的解决方案。没有其他。

  4. 提前感谢您的回答。

1 个答案:

答案 0 :(得分:0)

好的,我找到了答案:

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

Ans:转到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?

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

Please give a step by step solution. None other.
答:如果上述应该有效,那对我有用。