PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

paddleocr 模型在本地测试和hubserving上运行的结果不同

Open ericosmic opened this issue 1 year ago • 3 comments

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem 同一张图片使用我们自己训练的同一个模型,在本地用pred_system.py 预测结果和在hubserving服务化上预测结果不同。比如下面这张图 英文 最后一行的预测结果在两个模式下是不同的。

  • 系统环境/System Environment:ubuntu18
  • 版本号/Version:Paddle:2.3.1 PaddleOCR:2.0 问题相关组件/Related components:hubserving
  • 运行指令/Command Code:'python test_hubserving_ocr.py --server_url=http://127.0.0.1:30000/predict/ocr_system --image_dir=../dd/1106eng.png'
  • 完整报错/Complete Error Message:
  • 本地预测结果:

image

hubserving 上预测结果: image

可以看到本地预测结果是正确的, 而hubserving的第一行和最后一行预测结果出现错误。

我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答(请填写yes/no)?/We provide AceIssueSolver to solve issues, do you want it? (Please write yes/no):

请尽量不要包含图片在问题中/Please try to not include the image in the issue.

ericosmic avatar Nov 07 '23 02:11 ericosmic