Replies: 4 comments
-
please try to set lang to 'ch', or use the en_PP-OCRv4_rec model. |
Beta Was this translation helpful? Give feedback.
-
So what you're saying is that |
Beta Was this translation helpful? Give feedback.
-
Lines 93 to 96 in 69832ab Lines 88 to 91 in 69832ab Model and dictionary need to be consistent, so when you use |
Beta Was this translation helpful? Give feedback.
-
Ah I see now, Chinese + English != {Chinese, English}, got it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I notice if I am calling
this works fine. However, If i set the rec model to the server version as well (
ch_PP-OCRv4_rec_server_infer
), then I get the following error:Which I'm guessing is because it's trying to output Chinese, which has an 8000 character dict, whereas English only has 90 or so. Because it says english is supported by the server model (https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/doc/doc_ch/models_list.md), is it possible to get the ppocrv4 server model to output english successfully?

Beta Was this translation helpful? Give feedback.
All reactions