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

paddledetection断点恢复训练时未能加载相关参数 #8984

Open
3 tasks done
HRyixin opened this issue May 16, 2024 · 1 comment
Open
3 tasks done

paddledetection断点恢复训练时未能加载相关参数 #8984

HRyixin opened this issue May 16, 2024 · 1 comment
Assignees

Comments

@HRyixin
Copy link

HRyixin commented May 16, 2024

问题确认 Search before asking

  • 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

Bug组件 Bug Component

Training

Bug描述 Describe the Bug

ValueError: Model pretrain path /root/output/epoch_104.pdparams does not exists.

复现环境 Environment

训练语句
python -u /root/autodl-tmp/paddlepaddle/PaddleDetection/tools/train.py -c /root/autodl-tmp/paddlepaddle/PaddleDetection/configs/yolov3/yolov3_darknet53_270e_voc.yml -r /root/output/104 --use_vdl=true --vdl_log_dir="/root/autodl-tmp/paddlepaddle/work/output/vdl_dir/scalar" --eval

看到有人说要写成/root/output/epoch_104,遂改,但找不到路径了,会自动加载一个pdparams的后缀,这样就不会加载pdopt文件了
python -u /root/autodl-tmp/paddlepaddle/PaddleDetection/tools/train.py -c /root/autodl-tmp/paddlepaddle/PaddleDetection/configs/yolov3/yolov3_darknet53_270e_voc.yml -r /root/output/epoch_104 --use_vdl=true --vdl_log_dir="/root/autodl-tmp/paddlepaddle/work/output/vdl_dir/scalar" --eval

Bug描述确认 Bug description confirmation

  • 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • 我愿意提交PR!I'd like to help by submitting a PR!
@HRyixin
Copy link
Author

HRyixin commented May 16, 2024

训练中止是因为系统更新了

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

No branches or pull requests

2 participants