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

Is there a way to use dynamic decoding rather than fix output size for the tflite model? #916

Open
SefaZeng opened this issue Dec 23, 2021 · 1 comment

Comments

@SefaZeng
Copy link

The current tflite implementation needs to fix the length of the output sequence,e.g 250. Is there a way to use a really dynamic decodng method?

@gcervantes8
Copy link
Contributor

Maybe? You'd mostly have to modify the opennmt/utils/decoding.py file to find out I believe. When I tried it with TensorFlow 2.3 it didn't work, but maybe with the newest TensorFlow it could work.

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

No branches or pull requests

3 participants