未验证 提交 a8277114 编写于 作者: A andyj 提交者: GitHub

Merge pull request #8128 from andyjpaddle/rm_lower

rm visionlan invalid params
......@@ -1396,10 +1396,9 @@ class VLLabelEncode(BaseRecLabelEncode):
max_text_length,
character_dict_path=None,
use_space_char=False,
lower=True,
**kwargs):
super(VLLabelEncode, self).__init__(
max_text_length, character_dict_path, use_space_char, lower)
super(VLLabelEncode, self).__init__(max_text_length,
character_dict_path, use_space_char)
self.dict = {}
for i, char in enumerate(self.character):
self.dict[char] = i
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册