You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The py-rouge failing during evaluation with best. The system generated file has 20K and reference file has 20k german lines.
Trace:
Evaluation with Best
Traceback (most recent call last):
File "testrouge.py", line 42, in
scores = evaluator.get_scores(ref_data, sum_data)
File "XXXXX/lib/python3.6/site-packages/rouge/rouge.py", line 485, in get_scores
scores = {**scores, **self._get_scores_rouge_l_or_w(hypothesis, references, True)}
File "XXXXX/pythonenv3.6/lib/python3.6/site-packages/rouge/rouge.py", line 628, in _get_scores_rouge_l_or_w
score_wlcs = (overlapping_ngrams_for_score / reference_count_for_score) ** (1.0 / self.weight_factor)
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered:
The py-rouge failing during evaluation with best. The system generated file has 20K and reference file has 20k german lines.
Trace:
Evaluation with Best
Traceback (most recent call last):
File "testrouge.py", line 42, in
scores = evaluator.get_scores(ref_data, sum_data)
File "XXXXX/lib/python3.6/site-packages/rouge/rouge.py", line 485, in get_scores
scores = {**scores, **self._get_scores_rouge_l_or_w(hypothesis, references, True)}
File "XXXXX/pythonenv3.6/lib/python3.6/site-packages/rouge/rouge.py", line 628, in _get_scores_rouge_l_or_w
score_wlcs = (overlapping_ngrams_for_score / reference_count_for_score) ** (1.0 / self.weight_factor)
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered: