nlpyang / BertSum

Code for paper Fine-tune BERT for Extractive Summarization
Apache License 2.0
1.47k stars 423 forks source link

returned non-zero exit status 2 #84

Open vishaljoshi-066 opened 4 years ago

vishaljoshi-066 commented 4 years ago

subprocess.CalledProcessError: Command '['/home/sfadmin/summarize/pyrouge/tools/ ROUGE-1.5.5/ROUGE-1.5.5.pl', '-e', '/home/sfadmin/summarize/pyrouge/tools/ROUGE- 1.5.5/data', '-c', '95', '-m', '-r', '1000', '-n', '2', '-a', '../temp/tmpgjaaa8 jv/rouge_conf.xml']' returned non-zero exit status 2.

i am getting this error while running following command:- python BertSum-master/src/train.py -mode v alidate -bert_data_path bert_data/cnndm -model_path BertSum-master/models/bert_c la -visible_gpus 0 -gpu_ranks 0 -batch_size 3000 -result_path BertSum-master/res ults -test_all -block_trigram true error

haileypark-kr commented 4 years ago

try sudo apt-get install libxml-parser-perl command It worked for me 👍

yiyualt commented 4 years ago

try sudo apt-get install libxml-parser-perl command It worked for me 👍

Thanks a lot. It works for me, too!

GriffyGe commented 2 years ago

I tried sudo yum install libxml-parser-perl but the result is : No package libxml-parser-perl available. My Linux system is CentOS7. Does anyone know how to deal with this problem? 👀