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

Error of reading the pre_trained embedding? #16

Open
TRY0513 opened this issue Feb 26, 2019 · 0 comments
Open

Error of reading the pre_trained embedding? #16

TRY0513 opened this issue Feb 26, 2019 · 0 comments

Comments

@TRY0513
Copy link

TRY0513 commented Feb 26, 2019

File "/home/hxm/link_prediciton/graphutils.py", line 83, in read_embeddings
embedding_matrix[int(emd[0]), :] = str_list_to_float(emd[1:])
IndexError: index 34 is out of bounds for axis 0 with size 34

This error is always reported when I run my own network and read the pre_trained embedding for the network. Does anyone know the reason?

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

No branches or pull requests

1 participant