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 model 和 Initialize indexs of datasets?有没有配置可以关掉的? #13910

Closed
3 tasks done
zengweigit opened this issue Sep 26, 2024 · 7 comments
Labels
bug Something isn't working stale status/close

Comments

@zengweigit
Copy link

🔎 Search before asking

  • I have searched the PaddleOCR Docs and found no similar bug report.
  • I have searched the PaddleOCR Issues and found no similar bug report.
  • I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

image

🏃‍♂️ Environment (运行环境)

ubuntu24.2

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

运行命令
python -m paddle.distributed.launch --gpus 0,1 tools/train.py -c /opt/PaddleOCR/configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_student.yml -o \ Global.pretrained_model=/opt/PaddleOCR/pretrain_models/ch_PP-OCRv3_det_distill_train/student.pdparams \ Global.save_model_dir=/opt/PaddleOCR/output/train/det \ Global.epoch_num=300 \ Global.eval_batch_step="[0, 772]" \ Global.save_epoch_step=10000 \ Optimizer.lr.name=Const \ Optimizer.lr.learning_rate=0.0005 \ Optimizer.lr.warmup_epoch=0 \ Train.dataset.data_dir=/opt/PaddleOCR/train_data \ Train.dataset.label_file_list="[/opt/PaddleOCR/train_data/2024092501/det/train.txt, /opt/PaddleOCR/train_data/2024092502/det/train.txt]" \ Train.dataset.ratio_list="[0.5, 0.5]" \ Train.loader.batch_size_per_card=16 \ Train.loader.num_workers=8 \ Eval.dataset.data_dir=/opt/PaddleOCR/train_data \ Eval.dataset.label_file_list="[/opt/PaddleOCR/train_data/2024092501/det/test.txt, /opt/PaddleOCR/train_data/2024092502/det/test.txt]" \ Eval.loader.batch_size_per_card=16 \ Eval.loader.num_workers=8

@GreatV
Copy link
Collaborator

GreatV commented Sep 26, 2024

可以参考我们的配置文档描述 https://paddlepaddle.github.io/PaddleOCR/ppocr/blog/config.html

@GreatV GreatV closed this as completed Sep 26, 2024
@zengweigit
Copy link
Author

可以参考我们的配置文档描述 https://paddlepaddle.github.io/PaddleOCR/ppocr/blog/config.html

image
是设置save_epoch_step吗?没效果啊,是我命令有问题吗?
image
image

@GreatV
Copy link
Collaborator

GreatV commented Sep 27, 2024

这应该是bug

@GreatV GreatV reopened this Sep 27, 2024
@GreatV
Copy link
Collaborator

GreatV commented Sep 27, 2024

用的是哪个版本的paddleocr呀

@GreatV GreatV added the bug Something isn't working label Sep 27, 2024
@zengweigit
Copy link
Author

用的是哪个版本的paddleocr呀

paddleocr2.8.0

@GreatV GreatV mentioned this issue Dec 2, 2024
3 tasks
Copy link
Contributor

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Dec 27, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale status/close
Projects
None yet
Development

No branches or pull requests

2 participants