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

Improve format of logging from lstmtraining #4066

Merged
merged 2 commits into from May 8, 2023

Conversation

stweil
Copy link
Contributor

@stweil stweil commented May 5, 2023

  • always use C ("classic") locale
  • limit output of floating point values to 3 digits
  • remove unneeded linefeed after log message "wrote checkpoint"

- always use C ("classic") locale
- limit output of floating point values to 3 digits
- remove unneeded linefeed after log message "wrote checkpoint"

Signed-off-by: Stefan Weil <sw@weilnetz.de>
lstmtraining had written checkpoints using names like ONB_68.852000_6368_6500.checkpoint.
Now the superfluous '000' is omitted and the name will be ONB_68.852_6368_6500.checkpoint.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
@stweil
Copy link
Contributor Author

stweil commented May 5, 2023

I added another commit which limits the floating point values in the names of the checkpoint files to 3 digits, too.

@zdenop zdenop merged commit c9895db into tesseract-ocr:main May 8, 2023
7 checks passed
@zdenop
Copy link
Contributor

zdenop commented May 8, 2023

thanks.

@stweil stweil deleted the lstmtraining branch May 8, 2023 17:43
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.

None yet

2 participants