Skip to content

Commit

Permalink
attention ocr
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang0jhon committed Nov 15, 2019
1 parent 8503a84 commit c08e5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def eval(args, filenames, polygons, labels, label_dict=cfg.label_dict):
total_num += 1
Normalized_ED += sim

print("total_num: %d, N.E.D: %.4f, average time: %.4f" % (total_num, Normalized_ED/total_num, total_time/total_num))
print("total_num: %d, 1-N.E.D: %.4f, average time: %.4f" % (total_num, Normalized_ED/total_num, total_time/total_num))


if __name__ == '__main__':
Expand Down

0 comments on commit c08e5a8

Please sign in to comment.