Created
February 6, 2012 11:07
-
-
Save benanne/1751504 to your computer and use it in GitHub Desktop.
theano gradient function optimization errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). | |
| ERROR (theano.gof.opt): Optimization failure due to: local_gpu_elemwise_0 | |
| ERROR (theano.gof.opt): TRACEBACK: | |
| ERROR (theano.gof.opt): Traceback (most recent call last): | |
| File "/home/sander/python_modules/theano/gof/opt.py", line 928, in process_node | |
| replacements = lopt.transform(node) | |
| File "/home/sander/python_modules/theano/sandbox/cuda/opt.py", line 170, in local_gpu_elemwise_0 | |
| upcasted = node.op.make_node(*[tensor.cast(i, 'float32') for i in node.inputs]) | |
| File "/home/sander/python_modules/theano/tensor/elemwise.py", line 470, in make_node | |
| shadow = self.scalar_op.make_node(*[Scalar(dtype=i.type.dtype)() for i in inputs]) | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 695, in make_node | |
| outputs = [t() for t in self.output_types([input.type for input in inputs])] | |
| File "/home/sander/python_modules/theano/scalar/basic.py", line 2371, in output_types | |
| % (self.inputs_type, tuple(input_types))) | |
| TypeError: Wrong types for Composite. Expected (Scalar(float32), Scalar(float32), Scalar(int8), Scalar(float32)), got (Scalar(float32), Scalar(float32), Scalar(float32), Scalar(float32)). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment