Closed kaharjan closed 7 years ago
Hi kaharjan: Thanks for using our code. I believe it's a version compatibility issue. Would you mind telling me which version of python and theono you are using?
Thanks, Xiang
Originally my Theano version should be 0.81, then I upgraded it to 0.82, python is 2.7.6, also upgraded Scipy to 0.19.0. the problem is the same. Thank you for your reply. I wish you could give advises.
Hi, sorry for the late reply.
I run it on my machine and on another machine using linux system, the code both works. My theano version is 0.82, python version 2.7.6, scipy version 0.15.1, numpy version 0.11.2.
The other machine has the same theano and python version but has scipy verison 0.18.1, numpy version 0.12.0.
Maybe can you try with these version configurations? Also, are you downloading the embedding from this page http://ttic.uchicago.edu/~kgimpel/commonsense.html of embeddings.txt.gz?
Hope that helps, let me know if you still have issue.
Thank you. Problem is solved, it is the problem of word2vec file format problem.
Thank you for your sharing your code. But when I am running code I encounter the below problem: do you have any ideas what is wrong? thank you!!!