2019-09-16 16:42:03.621946: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA Traceback (most recent call last):
在文件开始加入
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'