[問題] cmd視窗可以使用gpu, but spyder不行

看板Python作者 (123)時間8年前 (2017/04/04 14:53), 8年前編輯推噓1(101)
留言2則, 1人參與, 最新討論串1/1
在cmd視窗 打上 python 然後使用 theano 套件 可以成功使用GPU執行 但是開spyder卻會失敗 版本都是python2 http://imgur.com/rgRutBn
由這裡可以看出我有沒有使用GPU 想問問看要怎麼解決 謝謝 error log ERROR (theano.sandbox.cuda): nvcc compiler not found on $PATH. Check your nvcc installation and try again. ERROR:theano.sandbox.cuda:nvcc compiler not found on $PATH. Check your nvcc installation and try again. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.78.125.5 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1491288832.A.999.html ※ 編輯: f496328mm (114.42.92.246), 04/04/2017 14:54:34

04/04 21:15, , 1F
在cmd/spider輸入import theano; print(theano.config)
04/04 21:15, 1F

04/04 21:15, , 2F
比較一下結果有沒有不同,尤其是 config.cuda.root
04/04 21:15, 2F
如果 keras gpu 安裝成功 import keras會顯示gpu資訊對八? ※ 編輯: f496328mm (42.78.125.5), 04/04/2017 21:28:51
文章代碼(AID): #1OuqC0cP (Python)
文章代碼(AID): #1OuqC0cP (Python)