nlpyang / BertSum

Code for paper Fine-tune BERT for Extractive Summarization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

returned non-zero exit status 2

vishaljoshi-066 opened this issue · comments

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

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

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

Thanks a lot. It works for me, too!

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? 👀