作者f496328mm (123)
看板Python
標題[問題] cmd視窗可以使用gpu, but spyder不行
時間Tue Apr 4 14:53:49 2017
在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
推 banyhong: 在cmd/spider輸入import theano; print(theano.config) 04/04 21:15
→ banyhong: 比較一下結果有沒有不同,尤其是 config.cuda.root 04/04 21:15
如果 keras gpu 安裝成功
import keras會顯示gpu資訊對八?
※ 編輯: f496328mm (42.78.125.5), 04/04/2017 21:28:51