yzha commited on
Commit
7ac6c22
·
1 Parent(s): 3a81753
Files changed (1) hide show
  1. ctc_eval.py +2 -0
ctc_eval.py CHANGED
@@ -97,6 +97,8 @@ 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
  ctc_score = self.scorer.score(doc=references[0], refs=[], hypo=predictions[0], aspect='consistency')
101
  return {
102
  "ctc_score": ctc_score,
 
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')
103
  return {
104
  "ctc_score": ctc_score,