win7下anaconda 配置theano完成后,配置cuda,使用GPU出现问题

cswwp 2016-04-04 04:36:15
Using gpu device 0: GeForce GT 705
Traceback (most recent call last):

File "<ipython-input-1-053dfe4c2165>", line 1, in <module>
runfile('D:/python/CONV.py', wdir='d:/Python')

File "D:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile
execfile(filename, namespace)

File "D:\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)

File "D:/python/CONV.py", line 12, in <module>
from theano.tensor.nnet import conv

File "D:\Anaconda2\lib\site-packages\theano\__init__.py", line 98, in <module>
theano.sandbox.cuda.tests.test_driver.test_nvidia_driver1()

File "D:\Anaconda2\lib\site-packages\theano\sandbox\cuda\tests\test_driver.py", line 39, in test_nvidia_driver1
if not numpy.allclose(f(), a.sum()):

File "D:\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 606, in __call__
storage_map=self.fn.storage_map)

File "D:\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 595, in __call__
outputs = self.fn()

RuntimeError: Cuda error: kernel_reduce_ccontig_node_c8d7bd33dfef61705c2854dd1f0cb7ce_0: invalid device function. (grid: 1 x 1; block: 256 x 1 x 1)

Apply node that caused the error: GpuCAReduce{add}{1}(<CudaNdarrayType(float32, vector)>)
Inputs types: [CudaNdarrayType(float32, vector)]
Inputs shapes: [(10000,)]
Inputs strides: [(1,)]
Inputs values: ['not shown']

HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag 'optimizer=fast_compile'. If that does not work, Theano optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.
...全文
3666 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
hello_csdn1111 2016-11-21
  • 打赏
  • 举报
回复
我连安装theano都遇到了问题 楼主能不能给些指导
vanhelsing_ 2016-07-28
  • 打赏
  • 举报
回复
楼主我也遇到这个问题 你现在解决了么
cswwp 2016-04-04
  • 打赏
  • 举报
回复
我的theano已经配置好了,Cpu是可以正常使用的,但是安装完vs2013和cuda,在配置环境变量和.theano.txt后,就出现这个错误,不能使用gpu,错误提示不可用的设备方法,求帮忙看下,怎么解决

231

社区成员

发帖
与我相关
我的任务
社区描述
CUDA on Windows XP
社区管理员
  • CUDA on Windows XP社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧