fix: Correct misuse of try_import from paddle.utils#11820
Merged
jzhang533 merged 1 commit intoPaddlePaddle:dygraphfrom Mar 28, 2024
Merged
fix: Correct misuse of try_import from paddle.utils#11820jzhang533 merged 1 commit intoPaddlePaddle:dygraphfrom
try_import from paddle.utils#11820jzhang533 merged 1 commit intoPaddlePaddle:dygraphfrom
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! |
jzhang533
pushed a commit
to jzhang533/PaddleOCR
that referenced
this pull request
Mar 28, 2024
…#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`.
Merged
jzhang533
added a commit
that referenced
this pull request
Mar 28, 2024
* 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 <neteroster@gmail.com>
jzhang533
added a commit
to jzhang533/PaddleOCR
that referenced
this pull request
Mar 28, 2024
* 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 <neteroster@gmail.com>
Collaborator
|
@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! |
Collaborator
|
hi, @neteroster
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 类型 PR types
Bug fixes
PR 变化内容类型 PR changes
Others
描述 Description
This pull request addresses the incorrect usage of the
try_importfunction frompaddle.utilsin bothppocr/utils/utility.pyandppstructure/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.