FAQ - 0001 安装Tensorflow出现的问题(SSE4.1,SSE4.2,AVX,AVX2)

(tensorflow) ➜ ~ python

Python 2.7.14 |Anaconda, Inc.| (default, Dec  7 2017, 17:05:42)

[GCC 7.2.0] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import tensorflow as tf

>>> hello = tf.constant('Hello, TensorFlow!')

>>> sess = tf.Session()

2018-04-23 20:43:39.447676: W 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.

2018-04-23 20:43:39.447717: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.

2018-04-23 20:43:39.447733: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.

2018-04-23 20:43:39.447745: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.

2018-04-23 20:43:39.447759: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.

>>> print(sess.run(hello))

Hello, TensorFlow!

     参考问题解释内容如下:出现上面内容,依旧可以使用,只是某些特性功能暂时无法使用,因为是ai的小白,暂时不用这些内容,跟着学习着,能整体走通,然后在进行细节优化.问题解决参考如下:

    1. https://blog.csdn.net/Nicholas_Wong/article/details/70215127

    2.https://blog.csdn.net/weixin_35653315/article/details/71279987

你可能感兴趣的:(FAQ - 0001 安装Tensorflow出现的问题(SSE4.1,SSE4.2,AVX,AVX2))