-
Notifications
You must be signed in to change notification settings - Fork 7.4k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PP-OCRv4在线体验版使用离线推理的效果不一致 #12114
Comments
在线体验版是AIStudio平台的在线体验吗? |
我也遇到了同样的情况,体验版地址:https://aistudio.baidu.com/community/app/91660 |
|
|
目前定位到的问题可能是线上上传图片后,图片被压缩导致的。 |
我与原题主的测试图片不相同,但遇到的问题类型是相同的:某一行文字漏检。对于我来说线上版本的检测结果很理想,但离线模型就会出现漏检;补充说明下:我是通过 from paddleocr import PaddleOCR
res = PaddleOCR(use_angle_cls=True, lang="ch").ocr(img_arr, cls=True)[0]
print(res ) 期间,我查阅了其他issue,使用了多种trick,比如调参: 从您 @UserWangZz 的检测结果上来看 离线server模型下也出现了漏检 通过您的实验,我的疑问是: |
Q1: 线上和离线模型参数一致 |
好的明了了~ |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
无法获取在线体验版的使用的模型版本,分别尝试了det模型的ch_PP-OCRv4 infer版和server_infer版,以及rec模型的infer版和server_infer版,发现效果均差于线上体验版。
例如识别图片:
Black Sesame Mushroom Powder 黑芝麻香菇粉 ESTLADY
-离线版结果:
('Black', 0.9862731099128723)
('Desame', 0.8805373311042786)
('Mushroom Powder', 0.9594960808753967)
('黑芝麻香菇粉', 0.9991157054901123)
对比结果离线版错将Sesame识别为Desame,漏掉了NESTLADY
The text was updated successfully, but these errors were encountered: