BertSum icon indicating copy to clipboard operation
BertSum copied to clipboard

no such file:home/luohm/.pyrouge/settings.ini

Open luohm111 opened this issue 5 years ago • 2 comments

when i run this command python train.py -mode validate -bert_data_path ../bert_data/cnndm -model_path ../models/bert_classifier -visible_gpus 0 -gpu_ranks 0 -batch_size 30000 -log_file ../logs/cnndm.log -result_path ../results/cnndm -test_all -block_trigram true,it raises th error,but i don't know why, can you help me?

luohm111 avatar Apr 20 '20 06:04 luohm111

before install pyrouge you must install the rouge witch is very difficult to install. so you should pass the param '-report_rouge False' to ignore rouge.

lee2015new avatar May 26 '20 12:05 lee2015new

when i run this command python train.py -mode validate -bert_data_path ../bert_data/cnndm -model_path ../models/bert_classifier -visible_gpus 0 -gpu_ranks 0 -batch_size 30000 -log_file ../logs/cnndm.log -result_path ../results/cnndm -test_all -block_trigram true,it raises th error,but i don't know why, can you help me?

to install pyrouge in unbuntu. you can follow this page. Link.

FYYFU avatar Mar 14 '21 05:03 FYYFU