mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Fix bug in train_dreambooth_lora (#3183)
* Update train_dreambooth_lora.py fix bug * Update train_dreambooth_lora.py
This commit is contained in:
@@ -743,7 +743,7 @@ def main(args):
|
||||
)
|
||||
temp_pipeline._modify_text_encoder(text_lora_attn_procs)
|
||||
text_encoder = temp_pipeline.text_encoder
|
||||
accelerator.register_for_checkpointing(unet_lora_layers)
|
||||
accelerator.register_for_checkpointing(text_encoder_lora_layers)
|
||||
del temp_pipeline
|
||||
|
||||
if args.scale_lr:
|
||||
|
||||
Reference in New Issue
Block a user