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

Restart training from checkpoint #29

Open
bohzio opened this issue Apr 18, 2020 · 2 comments
Open

Restart training from checkpoint #29

bohzio opened this issue Apr 18, 2020 · 2 comments

Comments

@bohzio
Copy link

bohzio commented Apr 18, 2020

Hi, there is a way to restart the training from a specific checkpoint?
I'm trying this command but it starts always from step 0
python train.py
--name gmm_train_new
--stage GMM
--workers 0
--save_count 5000
--checkpoint "checkpoints/gmm_train_new/step_065000.pth"

@KangsanKim07
Copy link

@bohzio , Did you solve that problem? I'm suffering from same problem.

@Amazingren
Copy link

Hi, there is a way to restart the training from a specific checkpoint?
I'm trying this command but it starts always from step 0
python train.py
--name gmm_train_new
--stage GMM
--workers 0
--save_count 5000
--checkpoint "checkpoints/gmm_train_new/step_065000.pth"

In train.py line 56,
change
"for step in range(opt.keep_step + opt.decay_step)"
to
"for step in range(064999, opt.keep_step + opt.decay_step)"

Then it works for me!

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