验证Tensorflow-gpu下载成功
生活随笔
收集整理的這篇文章主要介紹了
验证Tensorflow-gpu下载成功
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
步驟來源于
https://www.bilibili.com/video/BV1Zt411T7zE?p=1
//老師講的很好,建議跟著一步一步來
遇到的各種坑
我弄了好幾天/(ㄒoㄒ)/~~
2.安裝要求我的DRIVER VERSION是417的,tensorflow-cpu和tensorflow-cpu老師推薦都是2.3.0,老師要求DRIVER VERSION必須418,我就想著就那一點點,可真是億點點!其實只要安一個GeForce Experience升級就好,有關步驟鏈接:https://jingyan.baidu.com/article/f96699bb0d056a894e3c1bd5.html。如果在注冊帳戶時選擇了QQ登錄,請在QQ里看一下發你的驗證消息,點開,它有一個授權登錄操作通知,不操作的話,你的GeForce Experience界面是一直是黑屏。
3 騷操作一堆 ,因為我的CUDA是10.0版本,老師的是10.1,我開始下的tensorflow-cpu是2.3.0,為了配CUDA,我下的tensorflow-gpu是10.0.0版本,其中出現的一個bug:
當然不不止這一個bug,還有:ERROR: tensorflow-cpu 2.3.0 has requirement gast0.3.3, but you’ll have gas
Could not find a version that satisfies the requirement tensorflow-cpu2.3.
python.exe: No module named ipykernel
CUDA driver version is insufficient for CUDA runtime version
NameError: name ‘tf’ is not defined
DLL load failed while importing error: 找不到指定的模塊。
InternalError: cudaGetDevice() failed. Status: cudaGetErrorString symbol not found.
…………,不寫了,能犯的錯誤都干過,還不提為了卸虛擬環境下虛擬環境卸這玩意下那玩意走過的各種彎路。解決問題請看1.
進群之后早早把Minianconda下了也不會有那么多事。
總結
以上是生活随笔為你收集整理的验证Tensorflow-gpu下载成功的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: NPDP产品经理小知识:平衡计分卡(一)
- 下一篇: pip安装tensorflow报错:co