2017-04-04 14 views
0

テンソルフローをインポート中にこれらの警告が表示されます。Tensorflowで警告をインポート

システム:Windows 10 64ビット

のPython:3.5.2

Tensorflow-CPUは:Pythonでそれを実行している間、これらは問題ではありませんが、1.1.0夜間

2017-04-04 16:59:56.185045: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations. 
2017-04-04 16:59:56.185185: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE2 instructions, but these are available on your machine and could speed up CPU computations. 
2017-04-04 16:59:56.186551: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations. 
2017-04-04 16:59:56.187141: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\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. 
2017-04-04 16:59:56.187629: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\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. 
2017-04-04 16:59:56.188138: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\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. 

を構築問題は、私がMATLABからpythonスクリプトを呼び出すときに発生します。私はTheanoと同じことをした友人がいて、MATLAB上で動作するためにはすべてのエラーと警告を無効にしなければならないと教えてくれました。私は利用可能なすべてのソリューションを試しても、これらの警告を解決できませんでした。いくつかのいずれかが、このための答えを持っている場合

、私はあなたがソースからtensorflowを構築しているし、あなたが使用している場合

は事前

+0

[SSE4.2とAVX命令でTensorflowをコンパイルする方法は?](http://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx -instructions) – putonspectacles

+0

これはLinux用で、私もanacondaは使用しません。だからこの質問は重複しないでください –

+0

あなたはソースからビルドしていますか? – putonspectacles

答えて

1

にありがとう本当に感謝される非常に実験的bazel for windows

あなたができましたこれらの引数を使用する:あなたは、Cuを構築していない場合

bazel build -c opt --copt=-mavx --copt=-mavx2 \ 
    --copt=-mfma \ 
    --copt=-mfpmath=both \ 
    --copt=-msse4.2 \ 
    --config=cuda -k //tensorflow/tools/pip_package:build_pip_package 

--config=cuda -kを削除ダサポート。

+0

私は今私のubuntuマシン上にビルドしていて、ウィンドウに.whlファイルをインストールします。 –

+0

ファイルをビルドしようとしましたが失敗したので、警告を完全に無視するようにインタプリタに指示する方法があります –