---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-313-87f74a7df956> in <module>()
----> 1 rr([0.0, 0.1], [0.0, 0.1])
/home/mborisyak/opt/anaconda/lib/python2.7/site-packages/theano/compile/function_module.pyc in __call__(self, *args, **kwargs)
604 self.fn.nodes[self.fn.position_of_error],
605 self.fn.thunks[self.fn.position_of_error],
--> 606 storage_map=self.fn.storage_map)
607 else:
608 # For the c linker We don't have access from
/home/mborisyak/opt/anaconda/lib/python2.7/site-packages/theano/compile/function_module.pyc in __call__(self, *args, **kwargs)
593 t0_fn = time.time()
594 try:
--> 595 outputs = self.fn()
596 except Exception:
597 if hasattr(self.fn, 'position_of_error'):
ValueError: Input dimension mis-match. (input[0].shape[2] = 7, input[1].shape[2] = 2)
Apply node that caused the error: Elemwise{Sub}[(0, 1)](InplaceDimShuffle{x,x,0,1}.0, Reshape{4}.0)
Inputs types: [TensorType(float64, (True, True, False, False)), TensorType(float64, 4D)]
Inputs shapes: [(1, 1, 7, 3), (7, 2, 2, 3)]
Inputs strides: [(168, 168, 24, 8), (96, 48, 24, 8)]
Inputs values: ['not shown', 'not shown']
HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag 'optimizer=fast_compile'. If that does not work, Theano optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.