Open liziming5353 opened 5 years ago
I have encountered the same problem as you, have you solved it?
detail is as follow:
(python27) user@user-HP-Z4-G4-Workstation:~/AMR/camr$ python amr_parsing.py -m preprocess ~/AMR/camr/../data/test_data.txt
Start Stanford CoreNLP...
java -Xmx2500m -cp stanfordnlp/stanford-corenlp-full-2015-04-20/stanford-corenlp-3.5.2.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/stanford-corenlp-3.5.2-models.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/joda-time.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/xom.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/jollyday.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/protobuf.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/javax.json.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/ejml-0.23.jar edu.stanford.nlp.pipeline.StanfordCoreNLP -props stanfordnlp/default.properties
Loading Models: 4/4
Read token,lemma,name entity file /home/user/AMR/camr/../data/test_data.txt.prp...
。。。。。
'\r\nNLP> \r\n'
Traceback (most recent call last):
File "amr_parsing.py", line 436, in
OK, the reason why Network is unreachable lies the 'some place's internet policy'.
In 'preprocessing.py' and 'depparser.py' python file, the model name and the file address have been writen fixed, so one can use VPN to download the models.
Use a VPN!
When I am trying to fetching the WSJ+Gigaword model, my network is unreachable, so what's the problem please?
File "/home/lzm/AMRParsing/depparser.py", line 29, in parse path_to_model = download_and_install_model(model_type,'./bllip-parser/models') File "/home/lzm/.local/lib/python2.7/site-packages/bllipparser/ModelFetcher.py", line 124, in download_and_install_model reporthook=status_func) ... IOError: [Errno socket error] [Errno 101] Network is unreachable