summaryrefslogtreecommitdiffstats
path: root/training
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-01-16 10:03:05 +0100
committerVolpeon <git@volpeon.ink>2023-01-16 10:03:05 +0100
commitd5696615a84a768307e82d13e50b4aef64f69dbd (patch)
tree47cfaa5b8922edbfd567739ecd770977e339f8d7 /training
parentImplemented extended Dreambooth training (diff)
downloadtextual-inversion-diff-d5696615a84a768307e82d13e50b4aef64f69dbd.tar.gz
textual-inversion-diff-d5696615a84a768307e82d13e50b4aef64f69dbd.tar.bz2
textual-inversion-diff-d5696615a84a768307e82d13e50b4aef64f69dbd.zip
Extended Dreambooth: Train TI tokens separately
Diffstat (limited to 'training')
-rw-r--r--training/functional.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/training/functional.py b/training/functional.py
index f5c111e..1b6162b 100644
--- a/training/functional.py
+++ b/training/functional.py
@@ -486,6 +486,7 @@ def train_loop(
486 if accelerator.is_main_process: 486 if accelerator.is_main_process:
487 print("Interrupted") 487 print("Interrupted")
488 on_checkpoint(global_step + global_step_offset, "end") 488 on_checkpoint(global_step + global_step_offset, "end")
489 raise KeyboardInterrupt
489 490
490 491
491def train( 492def train(