Hi Fred,
following your fix I did this test:
1) I installed the updated theano/gpuarray/dnn.py from
https://github.com/Theano/Theano/pull/5050
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FTheano%2FTheano%2Fpull%2F5050&sa=D&sntz=1&usg=AFQjCNFR8fDmqOsSdghS2mC-7R90hku9Rw>
2) .theanorc is:
[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
3) I use theano.gpuarray.dnn.dnn_conv
out = dnn_conv(img= input,
kerns= self.W,
border_mode='valid',
subsample=(1,1,1),
conv_mode='conv',
direction_hint=None,
workmem=None,
algo=None,
precision=None)
This is the output running a test convnet, that seems quite slow:
Python 2.7.12 |Anaconda 4.2.0 (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.py',
wdir='/home/luca/data/DeepLearningTutorials/Theano-3D-Convnet-master/convnet3d/core')
Mapped name None to device cuda: Tesla K40c
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.")
/home/luca/anaconda2/lib/python2.7/site-packages/scipy/ndimage/interpolation.py:568:
UserWarning: From scipy 0.13.0, the output shape of zoom() is calculated
with round() instead of int() - for these inputs the size of the returned
array has changed.
"the returned array has changed.", UserWarning)
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
ERROR (theano.gof.opt): SeqOptimizer apply <theano.gpuarray.opt.GraphToGPU
object at 0x7faa429bea90>
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'}(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'}(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_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 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
ERROR (theano.gof.opt): SeqOptimizer apply <theano.gpuarray.opt.GraphToGPU
object at 0x7faa36f11690>
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=(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 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:
04/10/2016
12:13:16
Images for training: 19
Images for validation: 8
training @ iter = 0
training cost 0.69971
epoch 1, training batch 19/19, validation error 50.000 %
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.