成功解决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后,进行运算时,出现了红色错误!
import tensorflow as tf
import numpy as np
资料参考:
Advanced Vector Extensions (AVX, also known as Sandy Bridge New Extensions) 先进的矢量扩展(AVX,也称为桑迪桥新的扩展)是从英特尔和英特尔在2008年3月提出的微处理器的X86指令集架构的扩展,第一次由英特尔支持,在第2011季度和以后的SoeBoE桥处理器装运。AMD与推土机处理器航运在Q3 2011。AVX提供了新的特性、新的指令和新的编码方案。AVX2将大多数整数命令扩展为256位,并介绍了融合乘法累加(FMA)操作。AVX-512扩展AVX到512位支持使用一个新的EVEX前缀编码由英特尔提出的2013年7月,第一次支持英特尔与骑士着陆处理器,在2016装运。
import os
os.environ["TF_CPP_MIN_LOG_LEVEL"]='1' # 这是默认的显示等级,显示所有信息
os.environ["TF_CPP_MIN_LOG_LEVEL"]='2' # 只显示 warning 和 Error
os.environ["TF_CPP_MIN_LOG_LEVEL"]='3' # 只显示 Error
解决办法:
在最顶行写入
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
大功告成!继续学习!
相关推荐
感谢该网友提供地址
https://github.com/lakshayg/tensorflow-build
相关文章
成功解决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(二)相关推荐
- 成功解决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 目录 ...
- 成功解决Your CPU supports instructions that this TensorFlow binary was not compiled to use AVX AVX2
** 避坑必读,强烈建议: 1.说明你电脑支持AVX2,而你的tesorflow版本不支持,重建虚拟环境重装tensorflow 2.离线安装tensorflow,下载安装包之后再安装 3.如果遇到新 ...
- Your CPU supports instructions that this TensorFlow binary was not compiled to use AVX AVX2
大致的原因就是说:tensorflow觉得你电脑cpu还行,支持AVX(Advanced Vector Extensions),运算速度还可以提升,所以可以开启更好更快的模式,但是你现在用的模式相对来 ...
- 彻底解决“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 com ...
- tensorflow:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
ps:这跳出的是一个cpu警告,但我用的是gpu啊!!即使我安装合适版本的(编译过的)tensorflow来满足我cpu的AVX2扩展,也还是没对我的运行速度有太大提高(猜测),所以如果你是使用gpu ...
- Tensorflow警告:our 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 u ...
- 去除警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
去除警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 文章 ...
- 警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA(亲测)
警告:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 转载:h ...
- 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 us ...
最新文章
- 图像去马赛克:双线性插值VS高质量线性插值
- 使用jsp+swfupload做上传时报Upload Error: 405错误
- 【干货】实用案例|产品设计中的恰到好处
- python3精要(64)-Python命名风格规范-google版
- 【小题目】输入一个数字表示重量,如果重量<=20,则每千克收费0.35元;如果超过20千克不超过100千克的范围,则超过的部分按照每千克0.5元收费;如果超过100千克,则超过的范围按照每千克0.8元
- 用 Python 手写机器学习最简单的 KNN 算法
- [九度][何海涛] 二叉树中和为某一值的路径
- 【TDA4系列】Linux SDK安装与交叉编译测试,以及刷写SD卡
- 使开发更便捷——Visual Studio 使用技巧——快捷键
- 人间不值得。在既定的规则面前,除了遵守,还能有什么?
- 川大计算机学梡分数线,2017四川大学历年录取分数线
- 入秋的第一篇数据结构算法:看看归并与快排的风采,三面蚂蚁金服成功拿到offer
- MTF 曲线图应该怎么看?
- 全国25省市“智慧路灯”项目大汇总!
- 【Hinton大神新作】Dynamic Routing Between Capsules阅读笔记
- 固件类型bios和uefi_BIOS和固件之间有什么区别?
- Tekton系列之实践篇-使用Tekton Trigger让Tekton使用更简单
- 你所不知道的肠道菌群
- 使用朴素贝叶斯进行问卷分析(C++)
- linux命令及使用技巧 week2
热门文章
- ubuntu9.10 安装 eclipse3.5 的问题
- c#中的模态对话框和非模态对话框
- Linux基础命令---zip
- 65.shell特殊符号与和cut,sort,wc,uniq,tee,tr,split命令
- BZOJ-2748: [HAOI2012]音量调节 (傻逼背包DP)
- Ansible自动化运维基础-------ad-hoc
- ASP读取ini文件的实现方法
- SpringBoot +RabbitMQ 做智能家居,居然如此简单!
- 7 种 JVM 垃圾收集器,看完我跪了。。
- 结构型模式:装饰模式