Spaces:
Runtime error
Runtime error
update
Browse files- ctc_eval.py +1 -0
ctc_eval.py
CHANGED
@@ -97,6 +97,7 @@ class CTC_Eval(evaluate.EvaluationModule):
|
|
97 |
"""Returns the scores"""
|
98 |
# TODO: Compute the different scores of the module
|
99 |
assert len(predictions) == len(references)
|
|
|
100 |
print(predictions)
|
101 |
print(references)
|
102 |
ctc_score = self.scorer.score(doc=references[0], refs=[], hypo=predictions[0], aspect='consistency')
|
|
|
97 |
"""Returns the scores"""
|
98 |
# TODO: Compute the different scores of the module
|
99 |
assert len(predictions) == len(references)
|
100 |
+
print('computing...')
|
101 |
print(predictions)
|
102 |
print(references)
|
103 |
ctc_score = self.scorer.score(doc=references[0], refs=[], hypo=predictions[0], aspect='consistency')
|