fixed predict_rec

pull/7020/head
smilelite 2022-07-27 22:49:04 +08:00
parent 1696b36bdb
commit b164bb0165
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class TextRecognizer(object):
}
elif self.rec_algorithm == "SPIN":
postprocess_params = {
'name': 'SPINAttnLabelDecode',
'name': 'SARLabelDecode',
"character_dict_path": args.rec_char_dict_path,
"use_space_char": args.use_space_char
}