Merge pull request #7020 from smilelite/spin_branch

fixed predict_rec
pull/7064/head
zhoujun 2022-08-01 19:52:32 +08:00 committed by GitHub
commit 3fc04c5b33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}