Skip to content

Commit

Permalink
Merge pull request #6 from fafa28/fix/accumulate-stats
Browse files Browse the repository at this point in the history
Sorry for providing wrong evaluation, and I acknowledge it was my mistake.
Thanks for your contribution.
  • Loading branch information
dev-strender authored Nov 24, 2020
2 parents 03d0558 + 0f616b2 commit c900b6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def accumulate_stats(self, sample_dict):
self.chars_recog += sample_dict['chars_recog']

self.e2e_char_missed += sample_dict['e2e_char_missed']
self.e2e_char_false_positive = sample_dict['e2e_char_false_positive']
self.e2e_recog_score_chars = sample_dict['e2e_recog_score_chars']
self.e2e_recog_score_correct_num = sample_dict['e2e_recog_score_correct_num']
self.e2e_char_false_positive += sample_dict['e2e_char_false_positive']
self.e2e_recog_score_chars += sample_dict['e2e_recog_score_chars']
self.e2e_recog_score_correct_num += sample_dict['e2e_recog_score_correct_num']


def to_dict(self):
Expand Down

0 comments on commit c900b6b

Please sign in to comment.