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

请问断点续训应该如何设置 #178

Open
elesun2018 opened this issue Apr 11, 2024 · 6 comments
Open

请问断点续训应该如何设置 #178

elesun2018 opened this issue Apr 11, 2024 · 6 comments

Comments

@elesun2018
Copy link

image
没有找到优化器保存呢,
断点续训 如何继承 优化器

@elesun2018
Copy link
Author

学习率继承方面:只看到client_lr_scheduler保存,但是没有找到client_lr_scheduler的加载和调用

@elesun2018
Copy link
Author

image
请问optimizer不用继承前期训练的学习器,lr_scheduler是通过args.iteration继承的前期训练的学习率吗

@elesun2018
Copy link
Author

能否指点一下,谢谢

@1049451037
Copy link
Member

实在抱歉,sat目前还不支持optmizer的断点复原。

@guoyanhui03
Copy link
Collaborator

guoyanhui03 commented Apr 24, 2024 via email

@1049451037
Copy link
Member

因为optimizer状态一般会占用比较大的磁盘空间,所以我们没有保存optmizer。如果希望通过iteration来继承学习率,需要将--mode finetune换成--mode pretrain

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

3 participants