Replies: 1 comment 1 reply
-
|
您好,可以看下 E:\ocr\ocr_models\PP-OCRv5_mobile_det 和 E:\ocr\ocr_models\PP-OCRv5_mobile_rec 下的 inference.yml 文件中的 model_name 和 text_detection_model_name、text_recognition_model_name 是否一致。 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
目前需要将代码拷贝到一个不能上网的环境中运行,所以不能在运行时下载det及rec模型,看起来模型存储的位置是在用户目录的.paddlex\official_models(Win10),将目录拷贝到其他位置(如:
E:\ocr\ocr_models)并保持子目录文件名不变,通过text_detection_model_dir,及text_recognition_model_dir参数传入模型路径,会报如下错误:代码如下:
不知道用法错在那里,请帮忙解答,感谢!
Beta Was this translation helpful? Give feedback.
All reactions