aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hypernetworks/hypernetwork.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-10 05:43:42 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-10 05:43:42 +0000
commitf741a98baccae100fcfb40c017b5c35c5cba1b0c (patch)
tree685027bfa989c99583bd4980f437443bf270cec0 /modules/hypernetworks/hypernetwork.py
parent96d6ca4199e7c5eee8d451618de5161cea317c40 (diff)
downloadstable-diffusion-webui-gfx803-f741a98baccae100fcfb40c017b5c35c5cba1b0c.tar.gz
stable-diffusion-webui-gfx803-f741a98baccae100fcfb40c017b5c35c5cba1b0c.tar.bz2
stable-diffusion-webui-gfx803-f741a98baccae100fcfb40c017b5c35c5cba1b0c.zip
imports cleanup for ruff
Diffstat (limited to 'modules/hypernetworks/hypernetwork.py')
-rw-r--r--modules/hypernetworks/hypernetwork.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py
index 1fc49537..9fe749b7 100644
--- a/modules/hypernetworks/hypernetwork.py
+++ b/modules/hypernetworks/hypernetwork.py
@@ -1,4 +1,3 @@
-import csv
import datetime
import glob
import html
@@ -18,7 +17,7 @@ from modules.textual_inversion.learn_schedule import LearnRateScheduler
from torch import einsum
from torch.nn.init import normal_, xavier_normal_, xavier_uniform_, kaiming_normal_, kaiming_uniform_, zeros_
-from collections import defaultdict, deque
+from collections import deque
from statistics import stdev, mean