Forwarding the response to the ML: The default algo selected by Theano is not correct for conv3d (only exists for 2D), this should be fixed. In the mean time, try: [dnn.conv] algo_fwd = time_once algo_bwd_filter = time_once algo_bwd_data = time_once
On Fri, Sep 30, 2016, luca.wagner.0...@gmail.com wrote: > Hi Pascal, > > I did the previous test using > [global] > floatX = float32 > device=gpu > [cuda] > > Following your answer I did another test with > floatX = float32 > device=cuda0 > > > but it doesn't work: ValueError: ("convolution algo %s can't be used for 3d > convolutions", ('small',)) > > Using > floatX = float16 > device=cuda0 > I have the same error: ValueError: ("convolution algo %s can't be used for > 3d convolutions", ('small',)) > > > > This is the output: > Python 2.7.12 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:42:40) > [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > Anaconda is brought to you by Continuum Analytics. > Please check out: http://continuum.io/thanks and https://anaconda.org > >>> runfile('/home/luca/data/ > DeepLearningTutorials/Theano-3D-ConvNet-master/convnet3d/core/run_multi_conv_t.py', > > wdir='/home/luca/data/DeepLearningTutorials/Theano-3D-ConvNet-master/convnet3d/core') > Mapped name None to device cuda0: GeForce 840M > Using cuDNN version 5103 on context None > /home/luca/data/Theano-master/theano/tensor/signal/downsample.py:6: > UserWarning: downsample module has been moved to the > theano.tensor.signal.pool module. > "downsample module has been moved to the theano.tensor.signal.pool > module.") > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/home/luca/anaconda2/lib/python2.7/site-packages/spyderlib/widgets/externalshell/sitecustomize.py", > > line 714, in runfile > execfile(filename, namespace) > File > "/home/luca/anaconda2/lib/python2.7/site-packages/spyderlib/widgets/externalshell/sitecustomize.py", > > line 81, in execfile > builtins.execfile(filename, *where) > File > "/home/luca/data/DeepLearningTutorials/Theano-3D-ConvNet-master/convnet3d/core/run_multi_conv_t.py", > > line 32, in <module> > run_experiments() > File > "/home/luca/data/DeepLearningTutorials/Theano-3D-ConvNet-master/convnet3d/core/run_multi_conv_t.py", > > line 25, in run_experiments > Learning_rate=0.001 > File "mpr_convnet_class_t.py", line 169, in __init__ > b ) > File "cuddn_convnet3d.py", line 113, in __init__ > precision=None) > File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line 958, in > dnn_conv > return gpu_dnn_conv(algo=algo)(img, kerns, out, desc) > File "/home/luca/data/Theano-master/theano/gof/op.py", line 602, in > __call__ > node = self.make_node(*inputs, **kwargs) > File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line 513, in > make_node > "3d convolutions", (self.algo,)) > ValueError: ("convolution algo %s can't be used for 3d convolutions", > ('small',)) > > -- > > --- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Pascal -- --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.