Open NandaKishoreJoshi opened 4 years ago
Hi, run this command python -m pyrouge.test if you get errors so you can fellow these 6 steps. Maybe this could help you https://stackoverflow.com/questions/45894212/installing-pyrouge-gets-error-in-ubuntu
Follow these steps
pip install pyrouge --upgrade pip install https://github.com/bheinzerling/pyrouge/archive/master.zip pip install pyrouge pip show pyrouge git clone https://github.com/andersjo/pyrouge.git pyrouge_set_rouge_path '/hdd1/kush/Ultrasound/pyrouge/tools/ROUGE-1.5.5'
cd pyrouge/tools/ROUGE-1.5.5/data rm WordNet-2.0.exc.db cd WordNet-2.0-Exceptions rm WordNet-2.0.exc.db ./buildExeptionDB.pl . exc WordNet-2.0.exc.db cd ../
ln -s WordNet-2.0-Exceptions/WordNet-2.0.exc.db WordNet-2.0.exc.db
python3 -m pyrouge.test
getting the below error while trying to run pyrouge to calculate ROUGE on colab
The above error is obtained at PreSumm/src/others/pyrouge.py", line 453, in __get_rouge_home_dir_from_settings with open(self._settings_file) as f: