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

support export after save model #13844

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

zhangyubo0722
Copy link
Collaborator

No description provided.

@CLAassistant
Copy link

CLAassistant commented Sep 20, 2024

CLA assistant check
All committers have signed the CLA.

@zhangyubo0722 zhangyubo0722 force-pushed the model_export_enabled branch 2 times, most recently from 03b3b73 to 25d2d6f Compare September 24, 2024 07:49
tools/export_model.py Outdated Show resolved Hide resolved
ppocr/utils/export_model.py Outdated Show resolved Hide resolved
tools/program.py Show resolved Hide resolved
ppocr/utils/save_load.py Show resolved Hide resolved
tools/program.py Outdated Show resolved Hide resolved
ppocr/utils/save_load.py Outdated Show resolved Hide resolved
@TingquanGao TingquanGao changed the title [WIP]support export after save model support export after save model Sep 24, 2024
@TingquanGao
Copy link
Collaborator

支持PaddleX新功能,不影响PaddleOCR默认行为

tools/program.py Outdated
@@ -537,17 +567,33 @@ def train(
log_writer.log_model(is_best=False, prefix="latest")

if dist.get_rank() == 0 and epoch > 0 and epoch % save_epoch_step == 0:
if epoch == config["Global"]["epoch_num"]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

dong_flag = epoch == config["Global"]["epoch_num"

TingquanGao
TingquanGao previously approved these changes Sep 24, 2024
Copy link
Collaborator

@cuicheng01 cuicheng01 left a comment

Choose a reason for hiding this comment

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

LGTM

@cuicheng01 cuicheng01 merged commit 2b51369 into PaddlePaddle:main Sep 24, 2024
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants