-
Notifications
You must be signed in to change notification settings - Fork 167
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 from a checkpoint #67
Comments
@itouchzh can you you tell what steps you carried out to start training and did you keep the dataset as it is for training or made some changes. Please Help |
File "/content/TryYours-Virtual-Try-On/HR-VITON-main/train_condition.py", line 503, in |
Hi.
How can I resume training from the breakpoint without starting over when the training is interrupted unexpectedly?
Is modifying the load_step option in the code and loading the desired checkpoint a correct approach?
Like this:
parser.add_argument("--load_step", type=int, default=70000) parser.add_argument('--gen_checkpoint', type=str, default='./checkpoints/gen_step_070000.pth', help='gen checkpoint') parser.add_argument('--dis_checkpoint', type=str, default='./checkpoints/dis_step_070000.pth', help='dis checkpoint')
Is there anything else that needs to be done besides this?
Thanks.
The text was updated successfully, but these errors were encountered: