Skip to content

Commit 20e426c

Browse files
authored
Fix bug in train_dreambooth_lora (#3183)
* Update train_dreambooth_lora.py fix bug * Update train_dreambooth_lora.py
1 parent 90eac14 commit 20e426c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dreambooth/train_dreambooth_lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ def main(args):
743743
)
744744
temp_pipeline._modify_text_encoder(text_lora_attn_procs)
745745
text_encoder = temp_pipeline.text_encoder
746-
accelerator.register_for_checkpointing(unet_lora_layers)
746+
accelerator.register_for_checkpointing(text_encoder_lora_layers)
747747
del temp_pipeline
748748

749749
if args.scale_lr:

0 commit comments

Comments
 (0)