Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Embedding_lookup out of index #3

Open
Syrup274 opened this issue Oct 16, 2017 · 0 comments
Open

Embedding_lookup out of index #3

Syrup274 opened this issue Oct 16, 2017 · 0 comments

Comments

@Syrup274
Copy link

I encountered the following issue when running your code:
InvalidArgumentError (see above for traceback): indices[0,6,12] = 2239 is not in [0, 2192)
[[Node: model_1/embedding_lookup = Gather[Tindices=DT_INT64, Tparams=DT_FLOAT, _class=["loc:@model/embedding"], validate_indices=true, _device="/job:localhost/replica:0/task:0/cpu:0"](model/embedding/read, _recv_model_1/inputs_0)]]

Accrding to the last lssue, i guess my the cropus I used was too small so the embedding_lookup is out of index. Can you please share your training cropus or embed if it is possible since I have difficult in obtaining the cropus?
Thank you.

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

1 participant