angela7126 / pyrouge_for_windows Goto Github PK
View Code? Open in Web Editor NEWreviese pyrouge files for supporting winxp win 8.1 win10
reviese pyrouge files for supporting winxp win 8.1 win10
Thanks for your impressive work.
After I tried to test my results, I met some problem. The errors are :
Can't locate DB_File.pm in @INC (you may need to install the DB_File module) (@INC contains: F:\pyrouge-master\pyrouge-master/tools\ROUGE-1.5.5 C:/Perl/site/lib C:/Perl/lib .) at F:\pyrouge-master\pyrouge-master/tools\ROUGE-1.5.5\ROUGE-1.5.5.pl line 178. BEGIN failed--compilation aborted at F:\pyrouge-master\pyrouge-master/tools\ROUGE-1.5.5\ROUGE-1.5.5.pl line 178. Traceback (most recent call last): File "F:/study/project/pointer-generator-master/run_summarization.py", line 329, in <module> tf.app.run() File "F:\ANACONDA\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "F:/study/project/pointer-generator-master/run_summarization.py", line 324, in main decoder.decode() # decode indefinitely (unless single_pass=True, in which case deocde the dataset exactly once) File "F:\study\project\pointer-generator-master\decode.py", line 79, in decode results_dict = rouge_eval(self._rouge_ref_dir, self._rouge_dec_dir) File "F:\study\project\pointer-generator-master\decode.py", line 224, in rouge_eval rouge_results = r.evaluate() File "F:\ANACONDA\lib\site-packages\pyrouge\MyRouge155.py", line 373, in evaluate rouge_output = check_output(command, shell=True).decode("UTF-8") File "F:\ANACONDA\lib\subprocess.py", line 336, in check_output **kwargs).stdout File "F:\ANACONDA\lib\subprocess.py", line 418, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['C:\\Perl\\bin\\perl', 'F:\\pyrouge-master\\pyrouge-master/tools\\ROUGE-1.5.5\\ROUGE-1.5.5.pl', '-e', 'F:\\pyrouge-master\\pyrouge-master/tools\\ROUGE-1.5.5\\data', '-c', '95', '-U', '-r', '1000', '-n', '4', '-a', '-m', 'C:\\Users\\64484\\AppData\\Local\\Temp\\tmpzpmhrgms\\rouge_conf.xml']' returned non-zero exit status 2.
Although I try to read the code, I still get confused because of the lack of some explanation about arguments. Could you please give me some help? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.