yzha commited on
Commit
950dce9
1 Parent(s): 7ac6c22
Files changed (1) hide show
  1. 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')