用tensorflow框架执行Python语句时,出现“ Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2”

出现这个提示,但是不影响执行结果,但是就是看着不爽,所以就去网上搜了搜,大致的原因就是说:tensorflow觉得你电脑cpu还行,支持AVX(Advanced Vector Extensions),运算速度还可以提升,所以可以开启更好更快的模式,但是你现在用的模式相对来说可能不是那么快,所以这个其实并不是存在错误,所以如果不嫌当前的模式慢就忽略掉这个警告就好了。

要是想忽略掉这个警告也很容易,搜了一下,stack overflow上给的建议是

Just disables the warning, doesn’t enable AVX/FMA

解决办法为:

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

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2”相关推荐

  1. 成功解决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(二) ...

  2. 成功解决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 目录 ...

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

    大致的原因就是说:tensorflow觉得你电脑cpu还行,支持AVX(Advanced Vector Extensions),运算速度还可以提升,所以可以开启更好更快的模式,但是你现在用的模式相对来 ...

  4. 成功解决Your CPU supports instructions that this TensorFlow binary was not compiled to use AVX AVX2

    ** 避坑必读,强烈建议: 1.说明你电脑支持AVX2,而你的tesorflow版本不支持,重建虚拟环境重装tensorflow 2.离线安装tensorflow,下载安装包之后再安装 3.如果遇到新 ...

  5. 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 ...

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

    ps:这跳出的是一个cpu警告,但我用的是gpu啊!!即使我安装合适版本的(编译过的)tensorflow来满足我cpu的AVX2扩展,也还是没对我的运行速度有太大提高(猜测),所以如果你是使用gpu ...

  7. 去除警告: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 文章 ...

  8. 警告: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 ...

  9. 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 ...

  10. 彻底解决“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 ...

最新文章

  1. c语言五个整数排序,刚学c语言,老师让用if编一个五个数字从大到小的排序,有那个大神能帮我,谢谢啦...
  2. grpc中监听端口添加及绑定
  3. php 简单路由实现
  4. 计算机组成原理实验七,计算机组成原理实验七.doc
  5. 基于实时深度学习的推荐系统架构设计和技术演进
  6. 在控制台中循环录入字符串,输入q时退出。 然后显示一个新的字符(Python)
  7. python顺序结构实验设计_Python程序设计实验报告二:顺序结构程序设计
  8. AE点击按钮添加栅格
  9. mac 上 php 验证码不显示图片
  10. Windows安装Oracle
  11. 2019支付版/聚合支付第三方支付/四方支付系统/提供技术咨询服务
  12. wifi分析仪怎么看哪个信道好_无线路由器设置选择哪条信道比较好
  13. field automation,vif
  14. 谁都可以抱怨监管,唯独蚂蚁不应该
  15. dbca 命令行静默方式创建Oracle RAC
  16. 银河麒麟操作系统开发_银河初级开发者指南
  17. 数据结构 (C++)笔记6 (有序列表 排序器)
  18. 云原生|kubernetes |一文带你搞懂pod调度策略,驱逐策略,污点、容忍调度
  19. 局域网访问提示无法访问检查拼写_Win7访问共享文件夹提示请检查名称的拼写的解决方法...
  20. 详解活动图计算关键路径、最早开始时间、最晚开始时间、冗余时间,C++ 程序实现

热门文章

  1. GitLab 8.9增加了文件锁和硬件U2F支持
  2. 20151221jquery学习笔记--验证插件
  3. [转]python 正则匹配中文
  4. 自minibox-b配置说明
  5. 编程十年 (3):初识计算机
  6. You Like Cake(背包容量过于大的折半搜索法)
  7. linux下mysql5.7以上my.cnf配置文件配置
  8. 引用数据类型的一些知识
  9. 队列 句子分析 精辟的诠释 有图片
  10. [置顶] 提高生产力:开源Java工具包Jodd(Java的”瑞士军刀”)