athena-team/athena

about WFST decoder for AISHELL-1

Alex-Songs opened this issue · 5 comments

Hello, when I use WFST for AISHELL decoding, the predicted label is one less than the real label, what is the reason for this?

such as:
predictions: tf.Tensor([[2994 717 206 1404 1487 1741 3702 77 1392 84 524]
labels: [[2995 718 207 1405 1488 1742 3703 78 1393 85 525]]

But the beam search is correct.

Thank you, I have solved the problem.

How did you solve it ,Ihave the same problem

Sorry for the late reply. We have met problems like this before if we don't set the starting index of vocab to 0. @DamonYangyang can you check if your vocab for aishell is the same as this one

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue is closed. You can also re-open it if needed.