Skip to content

Commit

Permalink
fix typo in train dreambooth lora description (#5332)
Browse files Browse the repository at this point in the history
  • Loading branch information
themez authored Oct 8, 2023
1 parent 306dc6e commit 0513a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dreambooth/train_dreambooth_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ def main(args):
# For Stable Diffusion, it should be equal to:
# - down blocks (2x attention layers) * (2x transformer layers) * (3x down blocks) = 12
# - mid blocks (2x attention layers) * (1x transformer layers) * (1x mid blocks) = 2
# - up blocks (2x attention layers) * (3x transformer layers) * (3x down blocks) = 18
# - up blocks (2x attention layers) * (3x transformer layers) * (3x up blocks) = 18
# => 32 layers

# Set correct lora layers
Expand Down

0 comments on commit 0513a8c

Please sign in to comment.