Skip to content

Instantly share code, notes, and snippets.

@rizar
Created October 31, 2014 09:34
Show Gist options
  • Save rizar/509e88a9b1145d08208d to your computer and use it in GitHub Desktop.
Save rizar/509e88a9b1145d08208d to your computer and use it in GitHub Desktop.
............/home/rizar/Dist/theano/theano/scan_module/scan_perform_ext.py:133: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
from scan_perform.scan_perform import *
...ERROR (theano.gof.opt): SeqOptimizer apply <theano.gof.opt.EquilibriumOptimizer object at 0x4ac9c50>
ERROR (theano.gof.opt): Traceback:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/home/rizar/Dist/theano/theano/gof/opt.py", line 195, in apply
sub_prof = optimizer.optimize(fgraph)
File "/home/rizar/Dist/theano/theano/gof/opt.py", line 81, in optimize
ret = self.apply(fgraph, *args, **kwargs)
File "/home/rizar/Dist/theano/theano/gof/opt.py", line 1693, in apply
gopt.apply(fgraph)
File "/home/rizar/Dist/theano/theano/scan_module/scan_opt.py", line 1142, in apply
self.process_node(fgraph, node)
File "/home/rizar/Dist/theano/theano/scan_module/scan_opt.py", line 1011, in process_node
nw_input = scan_utils.expand(_nw_input, nw_steps)
File "/home/rizar/Dist/theano/theano/scan_module/scan_utils.py", line 372, in expand
zeros_shape = [size + shapes[0]] + shapes[1:]
IndexError: list index out of range
E
======================================================================
ERROR: test_seqgen.test_sequence_generator
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/rizar/LISA/pyhog6/blocks/blocks/tests/test_seqgen.py", line 50, in test_sequence_generator
n_steps=n_steps)]
File "/home/rizar/LISA/pyhog6/blocks/blocks/bricks.py", line 258, in call_wrapper
return self(brick, *args, **kwargs)
File "/home/rizar/LISA/pyhog6/blocks/blocks/bricks.py", line 282, in __call__
outputs = func(self, brick, *inputs, **kwargs)
File "/home/rizar/LISA/pyhog6/blocks/blocks/bricks.py", line 987, in recurrent_apply
go_backwards=reverse)
File "/home/rizar/Dist/theano/theano/scan_module/scan.py", line 1007, in scan
scan_outs = local_op(*scan_inputs)
File "/home/rizar/Dist/theano/theano/gof/op.py", line 492, in __call__
node = self.make_node(*inputs, **kwargs)
File "/home/rizar/Dist/theano/theano/scan_module/scan_op.py", line 338, in make_node
outer_sitsot = format(_outer_sitsot, as_var=inner_sitsot)
File "/home/rizar/Dist/theano/theano/scan_module/scan_op.py", line 239, in format
rval = tmp.filter_variable(rval)
File "/home/rizar/Dist/theano/theano/tensor/type.py", line 206, in filter_variable
self=self)
TypeError: Cannot convert Type TensorType(float64, (False, True, True)) (of Variable IncSubtensor{Set;:int64:}.0) into Type TensorType(float64, (False, False, True)). You can try to manually convert IncSubtensor{Set;:int64:}.0 into a TensorType(float64, (False, False, True)).
-------------------- >> begin captured logging << --------------------
theano.gof.opt: ERROR: SeqOptimizer apply <theano.gof.opt.EquilibriumOptimizer object at 0x4ac9c50>
theano.gof.opt: ERROR: Traceback:
theano.gof.opt: ERROR: Traceback (most recent call last):
File "/home/rizar/Dist/theano/theano/gof/opt.py", line 195, in apply
sub_prof = optimizer.optimize(fgraph)
File "/home/rizar/Dist/theano/theano/gof/opt.py", line 81, in optimize
ret = self.apply(fgraph, *args, **kwargs)
File "/home/rizar/Dist/theano/theano/gof/opt.py", line 1693, in apply
gopt.apply(fgraph)
File "/home/rizar/Dist/theano/theano/scan_module/scan_opt.py", line 1142, in apply
self.process_node(fgraph, node)
File "/home/rizar/Dist/theano/theano/scan_module/scan_opt.py", line 1011, in process_node
nw_input = scan_utils.expand(_nw_input, nw_steps)
File "/home/rizar/Dist/theano/theano/scan_module/scan_utils.py", line 372, in expand
zeros_shape = [size + shapes[0]] + shapes[1:]
IndexError: list index out of range
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 16 tests in 13.705s
FAILED (errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment