Open llijiang opened 6 years ago
Hm...this error might happen if the java version is not the one I was using (my java version is 1.8.0_151) The stanford parser is sort of outdated. BTW, I provided the parsed results in the end of the README.md.
Same error. Seems like running the java command directly like
java -Xmx3g -cp edu.stanford.nlp.pipeline.StanfordCoreNLP -props /media/disk/user/abhinav/refer-parser2/pyutils/corenlp/default.properties
,
gives the error:
Unrecognized option: -props
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
and the errors could be related. The java version installed is 1.8.0_282.
Hm...this error might happen if the java version is not the one I was using (my java version is 1.8.0_151) The stanford parser is sort of outdated. BTW, I provided the parsed results in the end of the README.md.
Hi @lichengunc, the parsed results file is not accessible. Can you share the zip over google drive link?
Seems like the problem is resolved if you extract the fill corenlp jars in the models folder. Link: https://nlp.stanford.edu/software/stanford-corenlp-full-2015-04-20.zip
Seems like the problem is resolved if you extract the fill corenlp jars in the models folder. Link: https://nlp.stanford.edu/software/stanford-corenlp-full-2015-04-20.zip
Hi,could you tell me where should I extract this file?
It should be extracted and put in models file
Hi, When I do the first step (python parse_sents.py --dataset refcoco --splitBy unc --num_workers 4), I got this error: Unrecognized option: -props Error: Could not create the Java Virtual Machine.
I follow the code and found it happened in pyutils/corenlp/corenlp.py: 317 self.corenlp = pexpect.spawn(self.start_corenlp, maxread=8192, searchwindowsize=80)
Could you give me some comments?
Thanks very much.