nmt
nmt copied to clipboard
Failed precondition: HashTable has different value for same key. Key the has 9 and trying to add value 25
What is the cause of this problem? I am training Chinese to English
You may have a word that exits in the vocabulary file more than once.
It is not the case in my problem. I have checked the vocabulary. Is there anything else that may have caused this?
@ssokhey Same here. Have you found what is causing the issue? This is driving me crazy.
这个问题有解决吗?
@tslater I forgot to add the following at the start of vocab files for both languages.
<unk>
<s>
</s>
It worked for me after this.
@tslater I forgot to add the following at the start of vocab files for both languages.
<unk> <s> </s>
It worked for me after this.
Why we have to add these three lines?