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

How to resume the train? #24

Open
dengxiongshi opened this issue Aug 22, 2024 · 1 comment
Open

How to resume the train? #24

dengxiongshi opened this issue Aug 22, 2024 · 1 comment

Comments

@dengxiongshi
Copy link

@HankYe Hello! If the compress script is kill, I want to continu train the experiment. So, what can I do?

@HankYe
Copy link
Owner

HankYe commented Aug 23, 2024

Hello, thanks for ur attention to our work. To resume training the pruned model, you can add some codes to load the optimizer states of the pruned model after line 192. Meanwhile, the value of start epoch should be updated.

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