运行警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
简单粗暴:
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
运行警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
简单粗暴:
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'