简单记录一下:
tensorflow-gpu 1.7.0
cuda 9.0.176
cudnn 7.0
keras 2.1.6
中途因为numpy版本问题运行不起来:AttributeError: module ‘numpy’ has no attribute ‘integer’
解决方法:卸载numpy,重新安装1.6版本的。
卸载时遇到一个问题:PermissionError: [WinError 5] 拒绝访问。什么什么的
解决方法:找到你的anaconda3安装文件夹,以及环境env文件夹位置。conda env list就可以看到
然后:https://blog.csdn.net/weixin_40161254/article/details/83073910
搞定
最后装keras,版本要和tensorflow对上,我的是2.1.6
参考:https://www.cnblogs.com/carle-09/p/11661261.html