From 853f6db37df0190e29454ce71cac063f97edbc4b Mon Sep 17 00:00:00 2001 From: tink2123 Date: Tue, 22 Sep 2020 16:06:12 +0800 Subject: [PATCH] fix srn typo --- ppocr/data/rec/dataset_traversal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppocr/data/rec/dataset_traversal.py b/ppocr/data/rec/dataset_traversal.py index 84f325b9..02aa13ba 100755 --- a/ppocr/data/rec/dataset_traversal.py +++ b/ppocr/data/rec/dataset_traversal.py @@ -127,6 +127,7 @@ class LMDBReader(object): img=img, image_shape=self.image_shape, num_heads=self.num_heads, + char_ops=self.char_ops, max_text_length=self.max_text_length) else: norm_img = process_image( -- GitLab