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

版面分析模型doclayout 输入shape是固定的1024x1024问题 #3

Open
SWHL opened this issue Nov 4, 2024 · 1 comment
Open

Comments

@SWHL
Copy link
Member

SWHL commented Nov 4, 2024

新建的版面分析模型doclayout 输入shape是固定的1024x1024, 这样会有两个问题:
1、有的图片会因非等比例缩放, 导致结果不准
2、增加计算量
建议, 将onnx模型的输入shape转成dynamic, 图像使用letterBox预处理后送入模型

Originally posted by @jesse01 in RapidAI/RapidOCR#246 (comment)

@SWHL
Copy link
Member Author

SWHL commented Nov 11, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant