Python:Tensorflow Your CPU supports ... not compiled to use AVX2 FMA

完整提示如下:

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

在需要使用tensorflow的py文件前面加上

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

猜你喜欢

转载自blog.csdn.net/shelldawn/article/details/80223059
今日推荐