aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hypernetworks/hypernetwork.py
diff options
context:
space:
mode:
authorAngelBottomless <35677394+aria1th@users.noreply.github.com>2022-10-23 12:41:39 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-24 06:07:39 +0000
commit0d2e1dac407a0e2f5b148d314715f0457b2525b7 (patch)
treec52986f831c24549cb307dd4ab90bd6e74aede92 /modules/hypernetworks/hypernetwork.py
parent348f89c8d40397c1875cff4a7331018785f9c3b8 (diff)
downloadstable-diffusion-webui-gfx803-0d2e1dac407a0e2f5b148d314715f0457b2525b7.tar.gz
stable-diffusion-webui-gfx803-0d2e1dac407a0e2f5b148d314715f0457b2525b7.tar.bz2
stable-diffusion-webui-gfx803-0d2e1dac407a0e2f5b148d314715f0457b2525b7.zip
convert deque -> list
I don't feel this being efficient
Diffstat (limited to 'modules/hypernetworks/hypernetwork.py')
-rw-r--r--modules/hypernetworks/hypernetwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py
index 48b56029..fb510fa7 100644
--- a/modules/hypernetworks/hypernetwork.py
+++ b/modules/hypernetworks/hypernetwork.py
@@ -282,7 +282,7 @@ def report_statistics(loss_info:dict):
for key in keys:
try:
print("Loss statistics for file " + key)
- info, recent = statistics(loss_info[key])
+ info, recent = statistics(list(loss_info[key]))
print(info)
print(recent)
except Exception as e: