CTC Loss InvalidArgumentError: sequence_length(b) <= time

后端 未结 1 1725
鱼传尺愫
鱼传尺愫 2020-12-17 17:57

I am running into this error while trying to use tf.nn.ctc_loss through keras (ctc_batch_cost):

InvalidArgumentError (see above for traceback): sequen

相关标签:
1条回答
  • In this case b is each example in a minibatch. sequence_length(b) is the number of time stamps you have for that example. This is specified in the sequence_length argument passed to tf.nn.ctc_loss which is a 1-d tensor of sequence lengths.

    0 讨论(0)
提交回复
热议问题