1. 警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
意思是:你的CPU支持AVX扩展,但是你安装的TensorFlow版本无法编译使用。
解决方法:
输入指令 import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'