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

fix the issue of repeatedly downloading pretrained model #12142

Merged
merged 2 commits into from
May 20, 2024

Conversation

GreatV
Copy link
Collaborator

@GreatV GreatV commented May 20, 2024

当配置文件中指定了 pretrained,每次训练时都会重复下载模型,而不是先检查是否存在此模型。

Teacher:
pretrained: https://paddleocr.bj.bcebos.com/PP-OCRv4/chinese/ch_PP-OCRv4_det_cml_teacher_pretrained/teacher.pdparams
freeze_params: true

Copy link

paddle-bot bot commented May 20, 2024

Thanks for your contribution!

@GreatV GreatV requested a review from tink2123 May 20, 2024 08:18
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

@jzhang533 jzhang533 merged commit f5defab into PaddlePaddle:main May 20, 2024
3 checks passed
@GreatV GreatV deleted the fix_repeate_download branch August 15, 2024 15:08
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.

3 participants