Giter Club home page Giter Club logo

pyrouge_for_windows's People

Contributors

angela7126 avatar

Stargazers

 avatar lqy avatar  avatar  avatar Icetear34 avatar  avatar  avatar Winston Anderson avatar Johnny-ZTSD avatar lebronran avatar Elvins. avatar  avatar

Watchers

 avatar

Forkers

xc15071347094

pyrouge_for_windows's Issues

[error]subprocess.CalledProcessError

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.