theano/sandbox/cuda is the old gpu back-end that work with device=gpu*. theano/gpuarray is the new back-end with device=cuda*. Don't mix both of them, it won't work.
Can you try this PR: https://github.com/Theano/Theano/pull/4862 and use theano.tensor.nnet.conv3d()? This add the good user interface as conv2d to conv3d. Hopefully, we will merge it this week. On Mon, Oct 3, 2016 at 4:25 AM, <luca.wagner.0...@gmail.com> wrote: > Hi Pascal, > thanks for your answer. > In .theanorc I set Theano flag: > > floatX = float32 > device=cuda0 > dnn.conv.algo_fwd = time_once > dnn.conv.algo_bwd_filter = time_once > dnn.conv.algo_bwd_data = time_once > > Using theano.gpuarray.dnn.dnn_conv the output is: ValueError: > ("convolution algo %s can't be used for 3d convolutions", ('small',)) > Same output with float16. > > > If I use theano.sandbox.cuda.dnn.dnn_conv3d with Theano flags > floatX = float16 > device=cuda0 > dnn.conv.algo_fwd = time_once > dnn.conv.algo_bwd_filter = time_once > dnn.conv.algo_bwd_data = time_once > > the output is: TypeError: CudaNdarrayType only supports dtype float32 for > now. Tried using dtype float16 for variable None > > > > -- > > --- > 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. > -- --- 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.