You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loss = tf.nn.ctc_loss(targets, logits, maxT, time_major=False)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow /python/ops/ctc_ops.py", line 145, in ctc_loss
ctc_merge_repeated=ctc_merge_repeated)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_ctc_ops.py", line 165, in _ctc_loss
name=name)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op
op_def=op_def)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2339, in create_op
set_shapes_for_outputs(ret)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1719, in set_shapes_for_outputs
shapes = shape_func(op)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1669, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.py", line 610, in call_cpp_shape_fn
debug_python_shape_fn, require_shape_fn)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.py", line 676, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Shape must be rank 1 but is rank 0 for 'CTCLoss' (op: 'CTCLoss') with input shapes: [?,64,23], [?,?], [?], [].
The text was updated successfully, but these errors were encountered:
This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there. Thanks!
TF version 1.1.0, Ubunu 16.04 Cuda 8.0, Cudnn 6
loss = tf.nn.ctc_loss(targets, logits, maxT, time_major=False)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow /python/ops/ctc_ops.py", line 145, in ctc_loss
ctc_merge_repeated=ctc_merge_repeated)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_ctc_ops.py", line 165, in _ctc_loss
name=name)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op
op_def=op_def)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2339, in create_op
set_shapes_for_outputs(ret)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1719, in set_shapes_for_outputs
shapes = shape_func(op)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1669, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.py", line 610, in call_cpp_shape_fn
debug_python_shape_fn, require_shape_fn)
File "/home/ilab/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.py", line 676, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Shape must be rank 1 but is rank 0 for 'CTCLoss' (op: 'CTCLoss') with input shapes: [?,64,23], [?,?], [?], [].
The text was updated successfully, but these errors were encountered: