Created
January 20, 2019 22:05
-
-
Save Giribushan/1ed485482760f88640e829b005559a5a to your computer and use it in GitHub Desktop.
CTC Error
This file contains 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
File "tools/export_crnn_model_script.py", line 136, in recognize | |
decodes, _ = tf.nn.ctc_beam_search_decoder(inputs=net_out, sequence_length=25*np.ones(None), merge_repeated=False) | |
File "/home/sathish/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/ctc_ops.py", line 277, in ctc_beam_search_decoder | |
merge_repeated=merge_repeated)) | |
File "/home/sathish/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_ctc_ops.py", line 73, in ctc_beam_search_decoder | |
top_paths=top_paths, merge_repeated=merge_repeated, name=name) | |
File "/home/sathish/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper | |
op_def=op_def) | |
File "/home/sathish/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3392, in create_op | |
op_def=op_def) | |
File "/home/sathish/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1734, in __init__ | |
control_input_ops) | |
File "/home/sathish/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1570, in _create_c_op | |
raise ValueError(str(e)) | |
ValueError: Shape must be rank 1 but is rank 0 for 'CTCBeamSearchDecoder' (op: 'CTCBeamSearchDecoder') with input shapes: [?,?,70], []. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment