提交 6eaf11f1 编写于 作者: T tink2123

fix lower

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册