彻底解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

使用pip安装的tensorflow运行时,会出现:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 等警告
网上的一些方法是屏蔽掉警告
研究了一下发现可以完全解决,还能提升cpu运算速度(然并卵,还是gpu好用 )
到这个地址:https://github.com/lakshayg/tensorflow-build
或者这个:https://github.com/fo40225/tensorflow-windows-wheel
根据自己的python版本,gpu能力(或没有),cpu支持( SSE4.1,SSE4.2,AVX,AVX2,FMA)
找到对应的.whl文件
彻底解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
楼主的是这个
下载运行安装 pip install 包名
再运行tensorflow程序就没有警告了
彻底解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2