summaryrefslogtreecommitdiffstats
path: root/training/strategy/dreambooth.py
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-04-10 10:34:12 +0200
committerVolpeon <git@volpeon.ink>2023-04-10 10:34:12 +0200
commiteb6a92abda5893c975437026cdaf0ce0bfefe2a4 (patch)
treea1525010b48362986e0cc2b7c3f7505a35dea71a /training/strategy/dreambooth.py
parentUpdate (diff)
downloadtextual-inversion-diff-eb6a92abda5893c975437026cdaf0ce0bfefe2a4.tar.gz
textual-inversion-diff-eb6a92abda5893c975437026cdaf0ce0bfefe2a4.tar.bz2
textual-inversion-diff-eb6a92abda5893c975437026cdaf0ce0bfefe2a4.zip
Update
Diffstat (limited to 'training/strategy/dreambooth.py')
-rw-r--r--training/strategy/dreambooth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/strategy/dreambooth.py b/training/strategy/dreambooth.py
index 695174a..42624cd 100644
--- a/training/strategy/dreambooth.py
+++ b/training/strategy/dreambooth.py
@@ -198,7 +198,7 @@ def dreambooth_prepare(
198 198
199 text_encoder.text_model.embeddings.requires_grad_(False) 199 text_encoder.text_model.embeddings.requires_grad_(False)
200 200
201 return text_encoder, unet, optimizer, train_dataloader, val_dataloader, lr_scheduler, {} 201 return text_encoder, unet, optimizer, train_dataloader, val_dataloader, lr_scheduler
202 202
203 203
204dreambooth_strategy = TrainingStrategy( 204dreambooth_strategy = TrainingStrategy(