-2

I am new to tensorflow, I used pip to install tensorflow, the result:

Installing collected packages: tensorflow
Successfully installed tensorflow-1.4.0

next I try to run the example "hello tensorflow"

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

the result:

import tensorflow as tf  
hello = tf.constant('Hello, TensorFlow!')  
sess = tf.Session()  
2017-11-23 17:22:38.024094: I 
tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports 
instructions that this TensorFlow binary was not compiled to use: 
SSE4.1 SSE4.2 AVX AVX2 FMA  
print(sess.run(hello))  
Hello, TensorFlow!

HELP!

Roshin Raphel
  • 2,612
  • 4
  • 22
  • 40

1 Answers1

2

It's not an error but a warning. So you do not have to worry about it

Basically says that Tensorflow does not make the most of your CPUs because it has not been configured for that.

The solution is to install it from source

Pop
  • 12,135
  • 5
  • 55
  • 68