-
Notifications
You must be signed in to change notification settings - Fork 60
Add ppocr series models #302
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
Conversation
img_mode: BGR | ||
channel_first: False | ||
to_float32: True | ||
- CTCLabelEncode: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CTCLabelEncode在预处理里面用不到吧?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的,增加在preprocess_skip_ops里面了,只是增加个示例
mean: imagenet | ||
std: imagenet | ||
is_hwc: True | ||
- ToCHWImage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文件末尾要有换行符
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
- DecodeImage: | ||
img_mode: BGR | ||
channel_first: False | ||
- ResizeImage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
映射为keep_ratio=True的Resize,即ScalePadImage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better!
TODO: 后续补充Readme文档,以及精度性能测试结果
ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
存疑点:server / mobile naming
Thank you for your contribution to the MindOCR repo.
Before submitting this PR, please make sure:
Motivation
Test Plan
(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)
Related Issues and PRs
(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)