Skip to content

Creating Various Checkpoint During Training #133

Answered by caniyabanci76
cryptoguard asked this question in Q&A
Discussion options

You must be logged in to vote

Yes there is a way. I've been doing runs where I have checkpoints saved at every 250 or 500 step intervals.

go to the directory Dreambooth-Stable-Diffusion/configs/stable-diffusion/

Open to edit the file v1-finetune_unfrozen.yaml

at around line 106 you will see a block :

lightning:
  modelcheckpoint:
    params:
      every_n_train_steps: 500
  callbacks:
    image_logger:
      target: main.ImageLogger
      params:
        batch_frequency: 500
        max_images: 8
        increase_log_steps: False

  trainer:
    benchmark: True
    max_steps: 3000

Change it so that it looks something like this :

lightning:
  modelcheckpoint:
    params:
      every_n_train_steps: 500      
      auto…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@cryptoguard
Comment options

@geocine
Comment options

@caniyabanci76
Comment options

@dragoriano
Comment options

Answer selected by cryptoguard
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants