问题解决:I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this T

遇到了这个问题,出现这个提示并不妨碍程序执行。意思似乎是说CPU的匹配上可以优化

这里写图片描述

在开头加上这两行可以解决
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

猜你喜欢

转载自blog.csdn.net/zhaohaibo_/article/details/80573676