The TensorFlow library wasn’t compiled to use SSE4.1 instructions

2017-08-19 09:02:27.038166: W 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-08-19 09:02:27.038428: W 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-08-19 09:02:27.038597: W 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.

These are just warnings. They just inform you that tensorflow can be faster on your machine if you build from source code. By default, these instructions are not enabled on available versions, which I think may be related to more CPU compatibility

import os
os.environ[‘TF_ CPP_ MIN_ LOG_ LEVEL’]=’2′

TF_ CPP_ MIN_ LOG_ Level is a tensorflow environment variable responsible for logging. It is required to set the forbidden info log to 1, the filter warning to 2, and the Forbidden error log (not recommended) to 3

Similar Posts: