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
Add blank_index parameter for ctc_greedy_decoder #39324
Conversation
Add blank_index as parameter with default value None
If blank_index is None then num_classes - 1
Added blank_index as parameter in ctc_greedy_decoder Only accepting positive number
Staffed all test cases in testCTCGreedyDecoder
Added a parameter in ctc_greedy_decoder to specify the index of blank symbol. Updated test cases in ctc_decoder_ops_test Updated Docs
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
It has been 14 days with no activity and the |
Yes, I'm still valid. |
@ebrevdo Can you please review this PR ? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine except for the pyext.cpp_message
->internal.python_message
API golden changes. I assume you'll need to revert those files to get the sanity tests to pass. This will also need an API review.
Thank you very much! |
This PR resolves issue #32903.
Added an extra parameter in ctc_greedy_decoder to be able to specify the blank index. Also updated test cases and documentation.