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.