Spaces:
Runtime error
Runtime error
update
Browse files- ctc_eval.py +1 -1
ctc_eval.py
CHANGED
@@ -116,7 +116,7 @@ class CTC_Eval(evaluate.EvaluationModule):
|
|
116 |
print('computing...')
|
117 |
print(predictions)
|
118 |
print(references)
|
119 |
-
ctc_score = self.scorer.score(doc=references[0], refs=[], hypo=predictions[0], aspect=
|
120 |
return {
|
121 |
"ctc_score": ctc_score
|
122 |
}
|
|
|
116 |
print('computing...')
|
117 |
print(predictions)
|
118 |
print(references)
|
119 |
+
ctc_score = self.scorer.score(doc=references[0], refs=[], hypo=predictions[0], aspect=self.aspect)
|
120 |
return {
|
121 |
"ctc_score": ctc_score
|
122 |
}
|