Giter Site home page Giter Site logo

Exception: Cannot set data directory because the path /absolute/path/to/ROUGE-1.5.5/directory/data does not exist. about pyrouge HOT 7 OPEN

bheinzerling avatar bheinzerling commented on June 8, 2024
Exception: Cannot set data directory because the path /absolute/path/to/ROUGE-1.5.5/directory/data does not exist.

from pyrouge.

Comments (7)

bheinzerling avatar bheinzerling commented on June 8, 2024 10

Hi, in order for pyrouge to work you need to download ROUGE-1.5.5, since pyrouge is just a wrapper for ROUGE-1.5.5.
ROUGE-1.5.5 is not included in pyrouge because I don't know if its license allows redistribution.
ROUGE-1.5.5 is not available anymore from its official website anymore, but you can download ROUGE-1.5.5 from various unofficial github repositories, e.g. https://github.com/andersjo/pyrouge/tree/master/tools/ROUGE-1.5.5
Once you've done that, you need to remember in which folder you downloaded ROUGE-1.5.5 and tell the absolute path of this folder to pyrouge using the pyrouge_set_rouge_path command.

from pyrouge.

astariul avatar astariul commented on June 8, 2024 10

To fix script not found :

pip uninstall pyrouge
git clone https://github.com/bheinzerling/pyrouge
cd pyrouge
pip install -e .
pyrouge_set_rouge_path </absolute/path/to/ROUGE-1.5.5/directory>
python -m pyrouge.test

from pyrouge.

sanjita-suresh avatar sanjita-suresh commented on June 8, 2024 3

from pyrouge.

sanjita-suresh avatar sanjita-suresh commented on June 8, 2024

Any update on this? I have the same error.

from pyrouge.

commencement avatar commencement commented on June 8, 2024

good!

from pyrouge.

Related Issues (20)

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.