Commit 6eaf11f1 authored by tink2123's avatar tink2123
Browse files

fix lower

parent d1d02e29
......@@ -99,6 +99,7 @@ class BaseRecLabelEncode(object):
self.max_text_len = max_text_length
self.beg_str = "sos"
self.end_str = "eos"
self.lower = False
if character_dict_path is None:
logger = get_logger()
......
......@@ -29,7 +29,6 @@ class BaseRecLabelDecode(object):
if character_dict_path is None:
self.character_str = "0123456789abcdefghijklmnopqrstuvwxyz"
dict_character = list(self.character_str)
self.lower = True
else:
with open(character_dict_path, "rb") as fin:
lines = fin.readlines()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment