Skip to content

fix bug: train logger cannot save to train.log file #15151

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lcayvinliu
Copy link

修复bug:训练日志 logger 无法保存到文件 train.log
原因:由于 save_load 文件第35行创建了同名的无文件日志,在训练时 get_logger返回了改同名日志对象
修复方法:重命名训练日志对象为 “ppocr_train"

Copy link

paddle-bot bot commented May 16, 2025

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented May 16, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants