提交 27f4e8a8 编写于 作者: A andyjpaddle

rm visionlan invalid params

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