Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

returned non-zero exit status 2 #84

Open
vishaljoshi-066 opened this issue Nov 14, 2019 · 3 comments
Open

returned non-zero exit status 2 #84

vishaljoshi-066 opened this issue Nov 14, 2019 · 3 comments

Comments

@vishaljoshi-066
Copy link

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
Copy link

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

@yiyualt
Copy link

yiyualt commented Sep 29, 2020

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

Thanks a lot. It works for me, too!

@GriffyGe
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants