首页 / TENSORFLOW / Win10下TensorFlow安装错误解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
Win10下TensorFlow安装错误解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Win10下TensorFlow安装错误解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含525字,纯文字阅读大概需要1分钟。
内容图文
出现“Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2”错误,是因为为了最大限度的适应各种CPU,pip默认安装的tensorflow版本没有对AVX指令集进行支持,
有两种方法进行解决:
1.禁用Warnning的显示
import os os.environ[ ‘ TF_CPP_MIN_LOG_LEVEL ‘] = ‘2‘
2.第2种上官网找正确的安装版本,这里提供一个网上找到的版本,亲测有效!
链接:https://pan.baidu.com/s/1EvO_s1m10g8lW5TwiCESXw 密码:o6nq
以下在Pycharm进行的测试,可以发现并不报错了:
原文:https://www.cnblogs.com/pompeii2008/p/9409332.html
内容总结
以上是互联网集市为您收集整理的Win10下TensorFlow安装错误解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2全部内容,希望文章能够帮你解决Win10下TensorFlow安装错误解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。