On Fri, Oct 7, 2016 at 11:31 AM, Pascal Lamblin <lambl...@iro.umontreal.ca>
wrote:

> On Fri, Oct 07, 2016, luca.wagner.0...@gmail.com wrote:
> > Hi Fred,
> > I did a test using:
> >
> > theano.tensor.nnet.conv3d2d import conv3d
>
> That's the old conv3d2d code, that should not be needed with cuDNN, and
> that has some pieces that do not work in float16.
> These are not the problems we should try to solve, we should focus on
> what happens when using dnn_conv3d instead.
>

not dnn_conv3d, but the new conv interface: theano.tensor.nnet.conv3d().
Use that one, with float=float15 and device=cuda.


>
> >
> > this PR: https://github.com/Theano/Theano/pull/4862
> >
> > [global]
> > floatX = float16
> > device=cuda
> > [cuda]
> > root = /usr/local/cuda-7.5
> >
> > [nvcc]
> > fastmath=True
> >
> > optimizer = fast_compile
> >
> > [dnn.conv]
> > algo_fwd =  time_once
> > algo_bwd_filter = time_once
> > algo_bwd_data = time_once
> >
> > The output is much slower then using float32:
> >
> > 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 cuda: GeForce 840M
> > WARNING (theano.gof.compilelock): Overriding existing lock by dead
> process
> > '3119' (I am process '3598')
> > 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.")
> > Disabling C code for Elemwise{mul,no_inplace} due to unsupported float16
> > Disabling C code for Elemwise{Cast{float32}} due to unsupported float16
> > Disabling C code for Elemwise{Cast{float16}} due to unsupported float16
> > Disabling C code for Elemwise{Cast{float16}} due to unsupported float16
> > Disabling C code for Alloc due to unsupported float16
> > ERROR (theano.gof.opt): SeqOptimizer apply <theano.gpuarray.opt.GraphToGP
> U
> > object at 0x7f3944076110>
> > ERROR (theano.gof.opt): Traceback:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 235, in
> apply
> >     sub_prof = optimizer.optimize(fgraph)
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 90, in
> > optimize
> >     ret = self.apply(fgraph, *args, **kwargs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 355, in
> > apply
> >     node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_grad_stride
> > ERROR (theano.gof.opt): node: MaxPoolGrad{ds=(3, 3), ignore_border=True,
> > st=(3, 3), padding=(0, 0), mode='max'}(sigmoid.0, Pool{ds=(3, 3),
> > ignore_border=True, st=(3, 3), padding=(0, 0), mode='max'}.0,
> Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1888,
> > in local_gpua_pool_dnn_grad_stride
> >     inp, out, out_grad, ws, stride, pad = inputs
> > ValueError: need more than 3 values to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_grad_stride
> > ERROR (theano.gof.opt): node: MaxPoolGrad{ds=(3, 3), ignore_border=True,
> > st=(3, 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0,
> Pool{ds=(3,
> > 3), ignore_border=True, st=(3, 3), padding=(0, 0), mode='max'}.0,
> > Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1888,
> > in local_gpua_pool_dnn_grad_stride
> >     inp, out, out_grad, ws, stride, pad = inputs
> > ValueError: need more than 3 values to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_grad_stride
> > ERROR (theano.gof.opt): node: MaxPoolGrad{ds=(3, 3), ignore_border=True,
> > st=(3, 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0,
> Pool{ds=(3,
> > 3), ignore_border=True, st=(3, 3), padding=(0, 0), mode='max'}.0,
> > Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1888,
> > in local_gpua_pool_dnn_grad_stride
> >     inp, out, out_grad, ws, stride, pad = inputs
> > ValueError: need more than 3 values to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_grad_stride
> > ERROR (theano.gof.opt): node: MaxPoolGrad{ds=(3, 3), ignore_border=True,
> > st=(3, 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0,
> Pool{ds=(3,
> > 3), ignore_border=True, st=(3, 3), padding=(0, 0), mode='max'}.0,
> > Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1888,
> > in local_gpua_pool_dnn_grad_stride
> >     inp, out, out_grad, ws, stride, pad = inputs
> > ValueError: need more than 3 values to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_grad_stride
> > ERROR (theano.gof.opt): node: MaxPoolGrad{ds=(3, 3), ignore_border=True,
> > st=(3, 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0,
> Pool{ds=(3,
> > 3), ignore_border=True, st=(3, 3), padding=(0, 0), mode='max'}.0,
> > Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1888,
> > in local_gpua_pool_dnn_grad_stride
> >     inp, out, out_grad, ws, stride, pad = inputs
> > ValueError: need more than 3 values to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_grad_stride
> > ERROR (theano.gof.opt): node: MaxPoolGrad{ds=(3, 3), ignore_border=True,
> > st=(3, 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0,
> Pool{ds=(3,
> > 3), ignore_border=True, st=(3, 3), padding=(0, 0), mode='max'}.0,
> > Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1888,
> > in local_gpua_pool_dnn_grad_stride
> >     inp, out, out_grad, ws, stride, pad = inputs
> > ValueError: need more than 3 values to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_grad_stride
> > ERROR (theano.gof.opt): node: MaxPoolGrad{ds=(1, 3), ignore_border=True,
> > st=(1, 3), padding=(0, 0), mode='max'}(Reshape{4}.0, Pool{ds=(1, 3),
> > ignore_border=True, st=(1, 3), padding=(0, 0), mode='max'}.0,
> > HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1888,
> > in local_gpua_pool_dnn_grad_stride
> >     inp, out, out_grad, ws, stride, pad = inputs
> > ValueError: need more than 3 values to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > Disabling C code for DiagonalSubtensor{inplace} due to unsupported
> float16
> > Disabling C code for Pool{ds=(3, 3), ignore_border=True, st=(3, 3),
> > padding=(0, 0), mode='max'} due to unsupported float16
> > Disabling C code for Pool{ds=(1, 3), ignore_border=True, st=(1, 3),
> > padding=(0, 0), mode='max'} due to unsupported float16
> > Disabling C code for MaxPoolGrad{ds=(1, 3), ignore_border=True, st=(1,
> 3),
> > padding=(0, 0), mode='max'} due to unsupported float16
> > Disabling C code for MaxPoolGrad{ds=(3, 3), ignore_border=True, st=(3,
> 3),
> > padding=(0, 0), mode='max'} due to unsupported float16
> > Disabling C code for IncDiagonalSubtensor due to unsupported float16
> > ERROR (theano.gof.opt): SeqOptimizer apply <theano.gpuarray.opt.GraphToGP
> U
> > object at 0x7f393587d710>
> > ERROR (theano.gof.opt): Traceback:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 235, in
> apply
> >     sub_prof = optimizer.optimize(fgraph)
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 90, in
> > optimize
> >     ret = self.apply(fgraph, *args, **kwargs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 355, in
> > apply
> >     node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(1, 3), ignore_border=True, st=(1,
> > 3), padding=(0, 0), mode='max'}(Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(1, 3), ignore_border=True, st=(1,
> > 3), padding=(0, 0), mode='max'}(Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(1, 3), ignore_border=True, st=(1,
> > 3), padding=(0, 0), mode='max'}(Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(1, 3), ignore_border=True, st=(1,
> > 3), padding=(0, 0), mode='max'}(Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(1, 3), ignore_border=True, st=(1,
> > 3), padding=(0, 0), mode='max'}(Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(1, 3), ignore_border=True, st=(1,
> > 3), padding=(0, 0), mode='max'}(Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(1, 3), ignore_border=True, st=(1,
> > 3), padding=(0, 0), mode='max'}(Reshape{4}.0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > ERROR (theano.gof.opt): Optimization failure due to:
> > local_gpua_pool_dnn_alternative
> > ERROR (theano.gof.opt): node: Pool{ds=(3, 3), ignore_border=True, st=(3,
> > 3), padding=(0, 0), mode='max'}(HostFromGpu(gpuarray).0)
> > ERROR (theano.gof.opt): TRACEBACK:
> > ERROR (theano.gof.opt): Traceback (most recent call last):
> >   File "/home/luca/data/Theano-master/theano/gof/opt.py", line 1820, in
> > process_node
> >     replacements = lopt.transform(node)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/opt.py", line
> 203, in
> > local_opt
> >     new_op = maker(node.op, context_name, node.inputs, node.outputs)
> >   File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line
> 1874,
> > in local_gpua_pool_dnn_alternative
> >     img, ws, stride, pad = inputs
> > ValueError: need more than 1 value to unpack
> >
> > Disabling C code for DiagonalSubtensor{inplace} due to unsupported
> float16
> > Disabling C code for Pool{ds=(3, 3), ignore_border=True, st=(3, 3),
> > padding=(0, 0), mode='max'} due to unsupported float16
> > Disabling C code for Pool{ds=(1, 3), ignore_border=True, st=(1, 3),
> > padding=(0, 0), mode='max'} due to unsupported float16
> > Disabling C code for MaxAndArgmax due to unsupported float16
> >
> >
> > start time:
> > 07/10/2016
> > 14:08:56
> >
> >
> > Images for training: 316
> > Images for validation: 56
> > Epochs: 100
> >
> >
> > training @ iter =  0
> > training cost 0.69287
> > epoch 1, training batch 316/316, validation error 39.286 %
> > training @ iter =  400
> >
> > --
> >
> > ---
> > 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.
>

-- 

--- 
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.

Reply via email to