参考https://blog.youkuaiyun.com/Fourierrr_/article/details/79749899
1 使用Anaconda Prompt 查看tensorflow版本
输入pip list,如下显示本人安装的tensorflow。
2.Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
原因是下载TensorFlow的版本不支持cpu的AVX2编译。可能是因为安装时使用的pip install tensorflow ,这样默认会下载X86_64的SIMD版本。如果想要彻底解决,就要换成支持cpu用AVX2编译的TensorFlow版本。
首先,卸载原来的ensorFlow版本
pip uninstall tensorflow
windows对应版本可以查看GitHub
然后安装pip install tensorflow-1.6.0-cp36-cp36m-win_amd64.whl
MemoryError
参考:https://blog.youkuaiyun.com/weixin_39750084/article/details/81501395
我通过关闭一些不用的程序,释放了内存,就消除了这个错误。
不断总结中