-
Notifications
You must be signed in to change notification settings - Fork 30
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 with load_embeddings.py "can't fix" #13
Comments
for the embedding am using ntua_twitter_300.txt. "embeddings_file": "ntua_twitter_300" |
$ python -m model.pretraining.sentiment2017 |
Is there a fix for this? I am currently facing exactly the same issue. Thanks a lot! |
I found out the problem myself. The reason why I got this error was because of the fact that I was using a newer version of numpy than v1.13.1, which is listed in requirements.txt. I hope this helps! |
Kindly, help me to solve the problem with this error which I receive when doing the steps to run
python -m model.pretraining.sentiment2017
File "/utils/load_embeddings.py", line 93, in load_word_vectors
embeddings = numpy.array(embeddings, dtype=numpy.float32)
ValueError: setting an array element with a sequence.
Thanks
The text was updated successfully, but these errors were encountered: