Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Failed precondition: HashTable has different value for same key. Key the has 9 and trying to add value 25 #121

Open
CuZn13 opened this issue Sep 20, 2017 · 6 comments

Comments

@CuZn13
Copy link

CuZn13 commented Sep 20, 2017

What is the cause of this problem? I am training Chinese to English

@chaoyu0804
Copy link

You may have a word that exits in the vocabulary file more than once.

@ghost
Copy link

ghost commented Oct 20, 2017

It is not the case in my problem. I have checked the vocabulary.
Is there anything else that may have caused this?

@tslater
Copy link

tslater commented Apr 23, 2018

@ssokhey Same here. Have you found what is causing the issue? This is driving me crazy.

@wxs19920926
Copy link

这个问题有解决吗?

@ghost
Copy link

ghost commented Jun 7, 2018

@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.

@XinDongol
Copy link

@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?

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

No branches or pull requests

5 participants