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

卸载原来的tensorflow

pip uninstall tensorflow
pip uninstall tensorflow-tensorboard

下载编译好的whl文件

在这里下载对应版本的文件https://github.com/fo40225/tensorflow-windows-wheel

cd到下载目录去安装,例如

pip install tensorflow-1.11.0-cp36-cp36m-win_amd64.whl

其他问题

由于tensorflow对numpy有一定要求,所以可能出现FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecate

可以适当调节numpy的版本(一般是调低一些),例如:

pip uninstall numpy
pip install numpy==1.16.0
posted @ 2020-02-17 22:58  搞点薯条  阅读(161)  评论(0编辑  收藏  举报