链接: [link]https://blog.youkuaiyun.com/tz_zs/article/details/75747603.
图片:
警告:你的机器是支持使用AVX指令的,使用SSE可以加速你的CPU计算。但是,你的Tensorflow库没有编译,所以用不了。
遇到这个警告的原因是,你是使用例如 “pip install tensorflow” 这种方法安装的Tensorflow,而不是从源码编译安装的。
这只是个警告,只是影响cpu计算速度而已。使用或者不使用AVX,你的程序都是可以运行的。
此外,如果你是使用的gpu版本,在gpu上的运行是不受AVX影响的。
stackoverflow:https://stackoverflow.com/questions/43134753/tensorflow-wasnt-compiled-to-use-sse-etc-instructions-but-these-are-availab
问题举例:1060卡 + win10 + python3.5.4 + cuda8,开始使用的anaconda和pip安装tensorflow-gpu 1.4 时也报过这个警告。通过conda install tensorflow-gpu==1.4安装tf和keras的时候给我装上了1.2的tensorflow,似是错误由此引起。随后重新找了1.4 的.whl文件的源安装,之后就没再报出这类警告了。