yzha commited on
Commit
18c3b95
·
1 Parent(s): 2c0bdcf
Files changed (1) hide show
  1. 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='consistency')
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
  }