tensorflow的Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX报错

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/AI_JOKER/article/details/91611478

1.解决Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2报错
在程序开始输入以下两行代码:

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

猜你喜欢

转载自blog.csdn.net/AI_JOKER/article/details/91611478