記錄安裝tensorflow-gpu,版本選擇問題,短平快解決戰鬥

簡單記錄一下:
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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章