Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug related to batch beam decoding #110

Closed
abhinavg4 opened this issue Jan 12, 2021 · 0 comments · Fixed by #113
Closed

Bug related to batch beam decoding #110

abhinavg4 opened this issue Jan 12, 2021 · 0 comments · Fixed by #113

Comments

@abhinavg4
Copy link

Hi I think the following line should be changed after the commit 3d5c7f3

https://github.com/TensorSpeech/TensorFlowASR/blob/main/tensorflow_asr/models/transducer.py#L541

to

paddings=[[0, 2 *  (total_time - encoded_length[batch])]],

otherwise, the decoded.stack might throw an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant