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

Posted ZSYL

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2相关的知识,希望对你有一定的参考价值。

TensorFlow使用控制台警告

问题描述

使用TensorFlow控制台发出警告:
2021-08-13 14:46:53.284312: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

解决方法

该警告Warning不影响,正常模型训练,忽略即可!

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

以上是关于Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2的主要内容,如果未能解决你的问题,请参考以下文章

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

tensorflow输出提示Your CPU supports instructions that this TensorFlow binary was not compiled to use: AV

安装tensorflow遇到:Your CPU supports instructions that this TensorFlow binary was not compiled to use(示例

Win10下TensorFlow安装错误解决:Your CPU supports instructions that this TensorFlow binary was not compiled t

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

解决tensorflow问题:Your CPU supports instructions that this TensorFlow binary was not compiled to use:(示