【问题标题】:Tensorflow instalation on Windows 10 Intel Core i3 Processor with nVIDIA GEFORCE 920M GPU在带有 nVIDIA GEFORCE 920M GPU 的 Windows 10 Intel Core i3 处理器上安装 Tensorflow
【发布时间】:2017-10-28 15:58:08
【问题描述】:

我正在尝试使用说明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 计算速度”,我该如何解决这个问题?

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

提前感谢您的回答。

【问题讨论】:

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


    【解决方案1】:

    好的,我的准确答案:

    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?
    

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

    Please give a step by step solution. None other.
    

    Ans:上面给出的应该对我有用。

    【讨论】:

    • 这也对我有用。感谢您的针尖回答@Hillary
    猜你喜欢
    • 2021-08-10
    • 2020-07-03
    • 2018-09-11
    • 2021-08-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-04-10
    • 2021-04-07
    相关资源
    最近更新 更多