Closed Stepin2 closed 9 years ago
hello, I got the same problem now. Would like to know if you fixed it and how??
Try to run from the main directory. For example, th relatedness/main.lua. You are trying to run the program from relatedness or semantics directory.
Is this issue eventually solved? I ran ./fetch_and_preprocess.sh from the main folder but still got the error above. Can someone advise?
I am getting the same error.
I'm not sure what went wrong the first time, but I had to delete the glove vector dir and re-run the part of fetch_and_preprocess.sh
that downloads and runs the glove vectors. As a hack I tried to copy the txt file to the .vocab
path the program was trying to point to, and fetch_and_preprocess.sh
would fail while it was like that.
I'd like to ask, when I am running you program, there's an error happened "treelstm-master/util/Vocab.lua:19: attempt to index local 'file' (a nil value)"
when I looked into the file directory, there is no file named as "glove.840B.300d.th" in the code, only "glove.840B.300d.txt.gz".. Thanks.