我在Windows 7 SP1 x64 Ultimate(Python 3.5.2 | Anaconda自定義(64位))上安裝了TensorFlow版本1.0.0-rc2,使用:pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.0.0rc2-cp35-cp35m-win_amd64.whl當(dāng)我嘗試從Eclipse 4.5或控制臺(tái)中的https://web.archive.org/web/20170214034751/https://www.tensorflow.org/get_started/os_setup#test_the_tensorflow_installation運(yùn)行測試腳本時(shí):import tensorflow as tfprint('TensorFlow version: {0}'.format(tf.__version__))hello = tf.constant('Hello, TensorFlow!')sess = tf.Session()print(sess.run(hello))我收到一些錯(cuò)誤消息:TensorFlow version: 1.0.0-rc2'Hello, TensorFlow!'E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflobw\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplitsE c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "CountExtremelyRandomStats" device_type: "CPU"') for unknown op: CountExtremelyRandomStatsE c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "FinishedNodes" device_type: "CPU"') for unknown op: FinishedNodesE c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "GrowTree" device_type: "CPU"') for unknown op: GrowTreeE c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "ReinterpretStringToFloat" device_type: "CPU"') for unknown op: ReinterpretStringToFloatE c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "SampleInputs" device_type: "CPU"') for unknown op: SampleInputs為什么?TensorFlow 0.12.1(安裝有pip install tensorflow==0.12.1)沒有此類問題:TensorFlow version: 0.12.1b'Hello, TensorFlow!'
請(qǐng)問Windows上的TensorFlow版本1.0.0-rc2:“ OpKernel
狐的傳說
2019-12-26 10:14:30