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

Save recognition inference logs to file #12542

Merged
merged 2 commits into from
May 31, 2024

Conversation

AlexPasqua
Copy link
Contributor

@AlexPasqua AlexPasqua commented May 29, 2024

I added the possibility to save the recognition logs to file.

Same as #12042 but for recognition instead of detection.

If later you want to implement your own logger and move away from AutoLog (as briefly mentioned in this comment), that's also good, but it will require more changes to the code. So, in the meanwhile, this PR quickly implements logging to file for recognition inference 😄

@jzhang533 jzhang533 self-assigned this May 30, 2024
Copy link
Collaborator

@jzhang533 jzhang533 left a comment

Choose a reason for hiding this comment

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

LGTM
thanks for contributing.

@jzhang533 jzhang533 merged commit a764c56 into PaddlePaddle:main May 31, 2024
3 checks passed
luzhongqiu pushed a commit to luzhongqiu/PaddleOCR that referenced this pull request Jun 3, 2024
* Save recognition inference logs to file

* Formatted code with black
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

Successfully merging this pull request may close these issues.

2 participants