请教一下关于空格识别的问题 #12922
Unanswered
0-Maxwei-0
asked this question in
Q&A
请教一下关于空格识别的问题
#12922
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
不需要识别空格,但是我在使用infer_rec这个文件进行推理的时候,如果将配置文件中的use_space_char设置为 false时,识别出来是一堆乱码,还会提示:ppocr WARNING: The shape of model params Teacher.head.ctc_head.fc.weight [64, 6624] not matched with loaded params shape [64, 6625] ! 这里我理解的是模型在训练的时候是use_space_char 设置为True的。但是为什么在使用predict_rec进行推理的时候就可以自由设置use_space_char呢?
Beta Was this translation helpful? Give feedback.
All reactions