parlance / ctcdecode

PyTorch CTC Decoder bindings
MIT License
829 stars 245 forks source link

Confidence score computing #145

Open sanakhamekhem opened 4 years ago

sanakhamekhem commented 4 years ago

I'm using the following code to get the transcription:

beam_result, beam_scores, timesteps, out_seq_len = decoder.decode(probs_seq)

Now, I would like t get the confidence score from the beam_scores variable. Is it possible? and How? I will appreciate any help. Thank you in advance.

luvwinnie commented 1 year ago

@sanakhamekhem I need to get the confidence score too, do you solve the problem? how can we get the confidence score?