PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

自己训练的rec模型,为什么onnx推理结果比inference结果要更准

Open nissansz opened this issue 10 months ago • 3 comments

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem

  • 系统环境/System Environment:
  • 版本号/Version:Paddle: PaddleOCR:2.7.5 问题相关组件/Related components:
  • 运行指令/Command Code:
  • 完整报错/Complete Error Message:

自己训练的rec模型,为什么onnx推理结果比inference结果要更准,所有参数都相同,只是模型格式不同

paddle推理对比原文结果 image

onnx推理对比原文结果 image

nissansz avatar Apr 22 '24 12:04 nissansz

正常来说不会的,请问推理代码使用的是同一份嘛?

tink2123 avatar Apr 23 '24 07:04 tink2123

是的。都是用的rapidocr


------------------ 原始邮件 ------------------

发件人: xiaoting @.***>

发送时间: 2024-04-23 15:52:59

收件人:PaddlePaddle/PaddleOCR @.***>

抄送:nissanjp @.>,Author @.>

主题: Re: [PaddlePaddle/PaddleOCR] 自己训练的rec模型,为什么onnx推理结果比inference结果要更准 (Issue #11983)

正常来说不会的,请问推理代码使用的是同一份嘛?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

nissansz avatar Apr 23 '24 07:04 nissansz

不确定rapidocr中是否有额外操作,可以去他们仓库咨询下哈

tink2123 avatar Apr 23 '24 08:04 tink2123