Skip to content

Doubt about resuming training #2

@xv5kVu4FN

Description

@xv5kVu4FN

Hi! First of all, thanks for sharing this awesome repository.
I have a doubt regarding how to resume training.

In the code, the diffusion_process_trainer calls the load method, where the ckpt/pretrained.pt is loaded and we do: self.step = data['step']
Now, I was peeking on the values that pretrained.pt has and I see that step is set to zero.

If I now run train.py, will it use pretrained.pt and resume the the training or will it start from scratch?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions