但屈指西风几时来,又不道流年暗中偷换。网站首页详情

解决一个tensorflow一个cpu编译不支持的警告

原因是下载TensorFlow的版本不支持cpu的AVX2编译。

可能是因为安装时使用的pip install tensorflow ,这样默认会下载X86_64的SIMD版本。

有两种解决方案,一是忽略这个错误,二是下载正确的版本,版本地址:https://github.com/fo40225/tensorflow-windows-wheel/blob/master/1.12.0/py37/CPU/avx2/tensorflow-1.12.0-cp37-cp37m-win_amd64.whl

参考文章:https://blog.csdn.net/Fourierrr_/article/details/79749899

文章评论

    文章写的很棒,继续加油!