BertSum icon indicating copy to clipboard operation
BertSum copied to clipboard

returned non-zero exit status 2

Open vishaljoshi-066 opened this issue 6 years ago • 3 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

vishaljoshi-066 avatar Nov 14 '19 09:11 vishaljoshi-066

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

haileypark-kr avatar Jan 02 '20 05:01 haileypark-kr

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

Thanks a lot. It works for me, too!

yiyualt avatar Sep 29 '20 09:09 yiyualt

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

GriffyGe avatar Sep 11 '22 04:09 GriffyGe