提交 b164bb01 编写于 作者: xuyang2233's avatar xuyang2233

fixed predict_rec

上级 1696b36b
...@@ -83,7 +83,7 @@ class TextRecognizer(object): ...@@ -83,7 +83,7 @@ class TextRecognizer(object):
} }
elif self.rec_algorithm == "SPIN": elif self.rec_algorithm == "SPIN":
postprocess_params = { postprocess_params = {
'name': 'SPINAttnLabelDecode', 'name': 'SARLabelDecode',
"character_dict_path": args.rec_char_dict_path, "character_dict_path": args.rec_char_dict_path,
"use_space_char": args.use_space_char "use_space_char": args.use_space_char
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册