Skip to content
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

Repair the bug in the inference script for LaTeX OCR #13750

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

liuhongen1234567
Copy link
Contributor

修复 LaTeX OCR 导出模型推理脚本的bug,当时在LaTeX OCR 数据集中的图片中推理正常,近期使用论文中截取图片进行预测时,识别结果出现乱码 与预测脚本结果不一致。最终定位到归一化 scale写错,应为1/255, 而不是255.

Copy link
Collaborator

@GreatV GreatV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GreatV GreatV merged commit 30811fb into PaddlePaddle:main Aug 26, 2024
3 of 4 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants