z***@gmail.com
2017-08-31 17:56:30 UTC
I installed theano 0.9.0-dev and lasagne 0.2.0 dev. When I run my code
using CPU, it works. When I my code using GPU, it shows me error as below:
sing cuDNN version 5110 on context None
Preallocating 10295/11439 Mb (0.900000) on cuda0
Mapped name None to device cuda0: Tesla K80 (0000:04:00.0)
Using Theano backend.
Compiling...
theano_layers.py:266: UserWarning: DEPRECATION: the 'ds' parameter is not
going to exist anymore as it is going to be replaced by the parameter 'ws'.
impulse = pool.pool_2d(inp, ds=self.poolsize, st=self.stride,
ignore_border=self.ignore_border, mode='average_inc_pad')
Compiled.
Running network...
Traceback (most recent call last):
File "<ipython-input-1-19fd13cf8377>", line 1, in <module>
runfile('/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer/test_convnet_binary_bias3.py',
wdir='/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer')
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py",
line 880, in runfile
execfile(filename, namespace)
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py",
line 94, in execfile
builtins.execfile(filename, *where)
File
"/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer/test_convnet_binary_bias3.py",
line 161, in <module>
main(**kargs)
File
"/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer/test_convnet_binary_bias3.py",
line 107, in main
dt=dt, max_rate=1000, proc_fn=get_output, reset_fn=final_dense)
File "spike_tester_theano.py", line 128, in run_tester
out_mem, t, Ntransmittedspikes, conv1_spikes, conv2_spikes,
conv3_spikes = proc_fn(inp_images.astype('float32'), float(t))
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 898, in __call__
storage_map=getattr(self.fn, 'storage_map', None))
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/theano/gof/link.py",
line 325, in raise_with_op
reraise(exc_type, exc_value, exc_trace)
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 884, in __call__
self.fn() if output_subset is None else\
RuntimeError: error doing operation: CUDNN_STATUS_INTERNAL_ERROR
using CPU, it works. When I my code using GPU, it shows me error as below:
sing cuDNN version 5110 on context None
Preallocating 10295/11439 Mb (0.900000) on cuda0
Mapped name None to device cuda0: Tesla K80 (0000:04:00.0)
Using Theano backend.
Compiling...
theano_layers.py:266: UserWarning: DEPRECATION: the 'ds' parameter is not
going to exist anymore as it is going to be replaced by the parameter 'ws'.
impulse = pool.pool_2d(inp, ds=self.poolsize, st=self.stride,
ignore_border=self.ignore_border, mode='average_inc_pad')
Compiled.
Running network...
Traceback (most recent call last):
File "<ipython-input-1-19fd13cf8377>", line 1, in <module>
runfile('/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer/test_convnet_binary_bias3.py',
wdir='/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer')
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py",
line 880, in runfile
execfile(filename, namespace)
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py",
line 94, in execfile
builtins.execfile(filename, *where)
File
"/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer/test_convnet_binary_bias3.py",
line 161, in <module>
main(**kargs)
File
"/var/home/xzhang/code_repository/network_08_03/network_07_20/relulastlayer/test_convnet_binary_bias3.py",
line 107, in main
dt=dt, max_rate=1000, proc_fn=get_output, reset_fn=final_dense)
File "spike_tester_theano.py", line 128, in run_tester
out_mem, t, Ntransmittedspikes, conv1_spikes, conv2_spikes,
conv3_spikes = proc_fn(inp_images.astype('float32'), float(t))
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 898, in __call__
storage_map=getattr(self.fn, 'storage_map', None))
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/theano/gof/link.py",
line 325, in raise_with_op
reraise(exc_type, exc_value, exc_trace)
File
"/var/home/xzhang/anaconda2/lib/python2.7/site-packages/theano/compile/function_module.py",
line 884, in __call__
self.fn() if output_subset is None else\
RuntimeError: error doing operation: CUDNN_STATUS_INTERNAL_ERROR
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.