Nitin1901
Nitin1901

Reputation: 150

Input arguments to CTC loss in TensorFlow

I wanted to use CTC loss for a sequence model and decided to use Tensorflow API. But when I tried the ctc_loss function, there were 2 arguments label_length, logit_length I am unaware of.

Can someone please give some details about what those parameters are?

Thank you in advance.

Upvotes: 0

Views: 153

Answers (1)

Abhishek Verma
Abhishek Verma

Reputation: 1729

Label_length is a tensor of length = batch_size, each of the values will denote the length of your labels.

Logit_length is a tensor of length = batch_size, each of the values will denote the length of your inputs.

Upvotes: 1

Related Questions