-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
fix: Correct misuse of try_import
from paddle.utils
#11820
fix: Correct misuse of try_import
from paddle.utils
#11820
Conversation
This commit addresses the incorrect usage of the `try_import` function from `paddle.utils` in both `ppocr/utils/utility.py` and `ppstructure/pdf2word/pdf2word.py`.
Thanks for your contribution! |
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.
LGTM
…#11820) This commit addresses the incorrect usage of the `try_import` function from `paddle.utils` in both `ppocr/utils/utility.py` and `ppstructure/pdf2word/pdf2word.py`.
* fix: Correct misuse of `try_import` from `paddle.utils` (#11820) This commit addresses the incorrect usage of the `try_import` function from `paddle.utils` in both `ppocr/utils/utility.py` and `ppstructure/pdf2word/pdf2word.py`. * bump version to 2.7.3 --------- Co-authored-by: NeterOster <[email protected]>
* fix: Correct misuse of `try_import` from `paddle.utils` (PaddlePaddle#11820) This commit addresses the incorrect usage of the `try_import` function from `paddle.utils` in both `ppocr/utils/utility.py` and `ppstructure/pdf2word/pdf2word.py`. * bump version to 2.7.3 --------- Co-authored-by: NeterOster <[email protected]>
@neteroster Thanks for your contribution! You will receive a beautiful PaddlePaddle gift. Please provide your mailing address by filling out the following questionnaire before October 18th. Looking forward to the future, we will walk further together in the world of open source! |
hi, @neteroster
|
PR 类型 PR types
Bug fixes
PR 变化内容类型 PR changes
Others
描述 Description
This pull request addresses the incorrect usage of the
try_import
function frompaddle.utils
in bothppocr/utils/utility.py
andppstructure/pdf2word/pdf2word.py
(#11808).此 PR 解决了
ppocr/utils/utility.py
与ppstructure/pdf2word/pdf2word.py
中误用paddle.utils
中的try_import
函数的问题(#11808)。提PR之前的检查 Check-list
This PR is pushed to the dygraph branch or cherry-picked from the dygraph branch. Otherwise, please push your changes to the dygraph branch.