Skip to content

on the textual inversion training colab, a way to output .bin file before the training is fully completed #524

Closed

Description

@ciaobnsr

since the training usually takes few hours, and for different datasets, objects or styles, you can adapt with different training parameters, is there a way to output the .bin -let's say- every 1000 steps or so?

that would be very useful to check if the training is going in a good direction and maybe you can economize your gpu/usage if you are happy with the results.
it's very frustrating when you are 1000steps to complete a 10000steps training and runtime disconnects ending with hours of hours of training gone without a checkpoint.

also the ability to somehow save and resume the training would be a dream.

Activity

  1. patrickvonplaten commented on Sep 17, 2022

    @patrickvonplaten
    Contributor
  2. isamu-isozaki commented on Sep 25, 2022

    @isamu-isozaki
    Contributor

    HI! I implemented this for my project and I'm happy to make a pr here if you want! It can also log images at fixed intervals

  3. isamu-isozaki commented on Sep 26, 2022

    @isamu-isozaki
    Contributor

    I think I did it here #645

  4. patil-suraj commented on Sep 28, 2022

    @patil-suraj
    Contributor

    Thanks a lot for the PR @isamu-isozaki, taking a look now!

  5. isamu-isozaki commented on Sep 28, 2022

    @isamu-isozaki
    Contributor

    @patil-suraj Np! Glad to help.

  6. patrickvonplaten commented on Oct 25, 2022

    @patrickvonplaten
    Contributor

    @patil-suraj - re-pinging you here

  7. isamu-isozaki commented on Oct 25, 2022

    @isamu-isozaki
    Contributor

    @patrickvonplaten @patil-suraj hullo. I made a pr and I think it already got merged.

  8. patrickvonplaten commented on Oct 26, 2022

    @patrickvonplaten
    Contributor

    Super, closing this one then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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