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

Update decoding.py #1713

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update decoding.py #1713

wants to merge 1 commit into from

Conversation

sunvod
Copy link
Contributor

@sunvod sunvod commented Oct 27, 2021

I have noticed that in some cases running the prediction changes the state of the model (model.state) and this change prevents the prediction from being successfully rerun a second time. This modification of the original code ensures that the state is not changed and thus allows the prediction to be repeated successfully.

I have noticed that in some cases running the prediction changes the state and this change prevents the prediction from being successfully rerun a second time. This change ensures that the state is not changed and therefore allows the prediction to be repeated successfully.
@google-cla google-cla bot added the cla: yes label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant