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

Posted 路在脚下丶

tags:

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

为了提升CPU计算速度的。若你有支持cuda的GPU,则可以忽略这个问题,因为安装SSE4.1, SSE4.2, AVX, AVX2, FMA, 仅仅提升CPU的运算速度(大概有3倍)。

解决方法:

  1. 忽视警告,并屏蔽警告

开头输入如下:

import os

os.environ[‘TF_CPP_MIN_LOG_LEVEL‘] = ‘2‘

2.进 tensorflow 官网,从源码安装。

以上是关于安装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

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:(示

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

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

Tensorflow 运行警告提示 Your CPU supports instructions that this TensorFlow binary was not compiled to