您的CPU支持關(guān)于此TensorFlow二進(jìn)制文件未編譯用于使用的指令:AVXAVX 2我是坦索弗洛的新手。我最近安裝了它(WindowsCPU版本)并收到以下消息:成功安裝了TensorFlow-1.4.0 TensorFlow-tensorboard-0.4.0rc2當(dāng)我試圖逃跑的時候import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')sess = tf.Session()sess.run(hello)'
Hello, TensorFlow!'a = tf.constant(10)b = tf.constant(32)sess.run(a + b)42sess.close()(我發(fā)現(xiàn)https://github.com/tensorflow/tensorflow)我收到以下消息:2017-11-02 01:56:21.698935:C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137]您的cpu支持這樣的指令,即這個TensorFlow二進(jìn)制文件沒有編譯以使用:avx 2。但當(dāng)我跑import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')sess = tf.Session()print(sess.run(hello))它按原樣運行并輸出Hello, TensorFlow!,這表明安裝確實成功,但還有其他錯誤。你知道問題出在哪里嗎?如何解決?謝謝。
您的CPU支持關(guān)于此TensorFlow二進(jìn)制文件未編譯用于使用的指令:AVXAVX 2
慕村225694
2019-07-11 13:12:18