PaddleOCR 使用其他本地模型仅推理是否需要指定配置文件? #12386
Unanswered
arnodjiang
asked this question in
Q&A
Replies: 2 comments
-
我也有这个问题,手动指定本地模型为 server 模型时,OCR 的效果非常差,怀疑是配置文件没有一起修改导致的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
那是因为他把模型转换为推理的方式,具体参考doc\doc_ch\algorithm_inference.md ,这样推理的时候,自然就不用指定配置文件了 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
根据 https://github.com/PaddlePaddle/PaddleOCR/blob/dygraph/doc/doc_ch/models_list.md 路径,里面提到配置文件
比如:ch_PP-OCRv4_server_det模型的配置文件为:https://github.com/PaddlePaddle/PaddleOCR/blob/dygraph/configs/det/ch_PP-OCRv4/ch_PP-OCRv4_det_teacher.yml
而实际官方给于的推理脚本中,没有提到需要指定配置文件:
Beta Was this translation helpful? Give feedback.
All reactions