pycharm运行TensorFlow警告:Your CPU supports instructions that this TensorFlow binary was not compiled to
2018-01-12 15:46
621 查看
pycharm运行TensorFlow警告:Your CPU supports instructions that this TensorFlow binary was not compiled to还有警告如下:The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations.原始代码如下:
import tensorflow as tf hello=tf.constant("Hello!") sess=tf.Session() print(sess.run(hello))
加入如下两行代码,问题解决,警告消失
import osos.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf hello=tf.constant("Hello!") sess=tf.Session() print(sess.run(hello))
相关文章推荐
- 警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AV
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2”
- 解决Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AV
- Your CPU supports instructions that this TensorFlow binary was not compiled to use:SSE4.1 SSE4.2 AVX
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- Your CPU supports instructions that this TensorFlow binary was not compiled to
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- How to fix the problem 'Your CPU supports instructions that this TensorFlow binary was not compiled'
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- The TensorFlow library wasn'tcompiled to use SSE4.1 instructions, but these are available on your ma
- tensorflow出现一大串 The TensorFlow library wasn't compiled to use SSE instructions, but these are ...
- The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your.....
- tensorflow-gpu bug:The TensorFlow library wasn't compiled to use SSE instructions, but these are
- The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your..
- The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your m