summaryrefslogtreecommitdiffstats
path: root/training
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-01-04 12:18:07 +0100
committerVolpeon <git@volpeon.ink>2023-01-04 12:18:07 +0100
commit01fee7d37a116265edb0f16e0b2f75d2116eb9f6 (patch)
tree6389f385191247fb3639900da0d29a3064259cb7 /training
parentBetter eval generator (diff)
downloadtextual-inversion-diff-01fee7d37a116265edb0f16e0b2f75d2116eb9f6.tar.gz
textual-inversion-diff-01fee7d37a116265edb0f16e0b2f75d2116eb9f6.tar.bz2
textual-inversion-diff-01fee7d37a116265edb0f16e0b2f75d2116eb9f6.zip
Various updates
Diffstat (limited to 'training')
-rw-r--r--training/optimization.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/training/optimization.py b/training/optimization.py
index 14c2bd5..dd84f9c 100644
--- a/training/optimization.py
+++ b/training/optimization.py
@@ -5,10 +5,6 @@ from functools import partial
5import torch 5import torch
6from torch.optim.lr_scheduler import LambdaLR 6from torch.optim.lr_scheduler import LambdaLR
7 7
8from diffusers.utils import logging
9
10logger = logging.get_logger(__name__)
11
12 8
13class OneCyclePhase(NamedTuple): 9class OneCyclePhase(NamedTuple):
14 step_min: int 10 step_min: int