mpezeshki / CTC-Connectionist-Temporal-Classification

Theano implementation of CTC.
Apache License 2.0
74 stars 26 forks source link

python test_ctc.py failed! #5

Open andyyuan78 opened 9 years ago

andyyuan78 commented 9 years ago

ubgpu@ubgpu:~/github/CTC-Connectionist-Temporal-Classification$ ubgpu@ubgpu:~/github/CTC-Connectionist-Temporal-Classification$ sudo python test_ctc.py [sudo] password for ubgpu: Using gpu device 0: GeForce GTX 970 Building model ... /usr/local/lib/python2.7/dist-packages/theano/scan_module/scan_perform_ext.py:133: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility from scan_perform.scan_perform import Bulding DataStream ... Bulding training process... INFO:blocks.algorithms:Taking the cost gradient INFO:blocks.algorithms:The cost gradient computation graph is built Starting training ... INFO:blocks.main_loop:Entered the main loop INFO:blocks.algorithms:Initializing the training algorithm ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, _kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int64 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_lazy_ifelse ERROR:theano.gof.opt:Optimization failure due to: local_gpu_lazy_ifelse ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 460, in local_gpu_lazy_ifelse outs[i] = gpu_from_host(outs[i]) File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 133, in make_node dtype=x.dtype)()]) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/type.py", line 69, in init (self.class.name, dtype, name)) TypeError: CudaNdarrayType only supports dtype float32 for now. Tried using dtype int32 for variable None

<<!! BUG IN FGRAPH.REPLACE OR A LISTENER !!>> <type 'exceptions.TypeError'> ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce') local_gpu_careduce ERROR (theano.gof.opt): Optimization failure due to: local_gpu_careduce ERROR:theano.gof.opt:Optimization failure due to: local_gpu_careduce ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1527, in process_node fgraph.replace_all_validate(repl_pairs, reason=lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/toolbox.py", line 259, in replace_all_validate fgraph.replace(r, new_r, reason=reason, verbose=False) File "/usr/local/lib/python2.7/dist-packages/theano/gof/fg.py", line 474, in replace str(reason)) TypeError: ('The type of the replacement must be compatible with the type of the original Variable.', Sum{axis=[0], acc_dtype=float64}.0, HostFromGpu.0, TensorType(int32, vector), TensorType(float32, vector), 'local_gpu_careduce')

ERROR (theano.gof.opt): Optimization failure due to: local_gpu_eye ERROR:theano.gof.opt:Optimization failure due to: local_gpu_eye ERROR (theano.gof.opt): TRACEBACK: ERROR:theano.gof.opt:TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 1963, in local_gpu_eye return [gpu_eye(_host_input.owner.inputs)] File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, **kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 3715, in make_node assert tensor.get_scalar_constant_value(k) == 0 AssertionError

ERROR:theano.gof.opt:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1493, in process_node replacements = lopt.transform(node) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/opt.py", line 1963, in local_gpu_eye return [gpu_eye(_host_input.owner.inputs)] File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call node = self.make_node(_inputs, **kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/basic_ops.py", line 3715, in make_node assert tensor.get_scalar_constant_value(k) == 0 AssertionError

ERROR:blocks.main_loop:Error occured during training.

Blocks will attempt to run on_error extensions, potentially saving data, before exiting and reraising the error. Note that the usual after_training extensions will not be run. The original error will be re-raised and also stored in the training log. Press CTRL + C to halt Blocks immediately. Traceback (most recent call last): File "test_ctc.py", line 135, in main_loop.run() File "/usr/local/lib/python2.7/dist-packages/blocks/main_loop.py", line 188, in run reraise_as(e) File "/usr/local/lib/python2.7/dist-packages/blocks/utils/init.py", line 225, in reraise_as six.reraise(type(new_exc), new_exc, orig_exc_traceback) File "/usr/local/lib/python2.7/dist-packages/blocks/main_loop.py", line 164, in run self.algorithm.initialize() File "/usr/local/lib/python2.7/dist-packages/blocks/algorithms/init.py", line 224, in initialize self._function = theano.function(self.inputs, [], updates=all_updates) File "/usr/local/lib/python2.7/dist-packages/theano/compile/function.py", line 266, in function profile=profile) File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py", line 511, in pfunc on_unused_input=on_unused_input) File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1465, in orig_function on_unused_input=on_unused_input).create( File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1160, in init optimizer_profile = optimizer(fgraph) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 90, in call return self.optimize(fgraph) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 81, in optimize ret = self.apply(fgraph, _args, _kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 195, in apply sub_prof = optimizer.optimize(fgraph) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 81, in optimize ret = self.apply(fgraph, _args, _kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 195, in apply sub_prof = optimizer.optimize(fgraph) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 81, in optimize ret = self.apply(fgraph, _args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1837, in apply lopt_change = self.process_node(fgraph, node, lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1498, in process_node lopt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1396, in warn_inplace return NavigatorOptimizer.warn(exc, nav, repl_pairs, local_opt) File "/usr/local/lib/python2.7/dist-packages/theano/gof/opt.py", line 1386, in warn raise exc AssertionError:

Original exception: AssertionError ubgpu@ubgpu:~/github/CTC-Connectionist-Temporal-Classification$

kastnerkyle commented 8 years ago

This is also happening to me, as of the latest Theano