You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
I am using python 3.6.1 with tensorflow version of 1.2.1.
It seems like the function get_translation didn't work well.
The problem may caused by the reverse_target_vocab_table which convert target sample id into target words.
The result of look up operation on reverse_target_vocab_table is not pure str type. Instead it is something like byte string, which is
[b'<s>', b'</s>']
And this causes mismatch between '</s>' and b'</s>'.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using python 3.6.1 with tensorflow version of 1.2.1.
It seems like the function get_translation didn't work well.
The problem may caused by the
reverse_target_vocab_table
which convert target sample id into target words.The result of look up operation on
reverse_target_vocab_table
is not pure str type. Instead it is something like byte string, which isAnd this causes mismatch between
'</s>'
andb'</s>'
.The text was updated successfully, but these errors were encountered: