tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

Your CPU does not support this TensorFlow compiled binary files used by the instruction: AVX2

If you are a beginner or not much demand for computing speed, add these two lines at the beginning of this hint can ignore

import os

os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

Description:

os.environ [ "TF_CPP_MIN_LOG_LEVEL"] = ' 1' # default, all of the information displayed
os.environ [ "TF_CPP_MIN_LOG_LEVEL"] = ' 2' # warning and display only Error
os.environ [ "TF_CPP_MIN_LOG_LEVEL"] = '. 3' only # Error display

Guess you like

Origin www.cnblogs.com/xin-qing3/p/11525861.html