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

Resume Training After Interruption #150

Open
mabubakarsaleem opened this issue Jul 18, 2024 · 0 comments
Open

Resume Training After Interruption #150

mabubakarsaleem opened this issue Jul 18, 2024 · 0 comments

Comments

@mabubakarsaleem
Copy link

Hi,

I was training my model using the configuration file train_HAT_SRx4_finetune_from_ImageNet_pretrain.yml, and the training got interrupted. I have the model checkpoint net_g_1500.pth and the training state 1500.state.

Could you please guide me on how to update the configuration file below to resume training from this checkpoint and state?

File below : train_HAT_SRx4_finetune_from_ImageNet_pretrain.yml

path:
pretrain_network_g: ./experiments/train_HAT_SRx4_ImageNet_from_scratch/models/HAT_SRx4_ImageNet-pretrain.pth
param_key_g: 'params_ema'
strict_load_g: true
resume_state: ~

and if there are other settings which i should change then also guide me and also guide me the command to resume that training.

And also guide me if i want to save my weights in google drive during the training on goole colab then on which file i should change to save the models saving path.

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

1 participant