mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-15 23:22:48 +03:00
convert deque -> list
I don't feel this being efficient
This commit is contained in:
parent
348f89c8d4
commit
0d2e1dac40
@ -282,7 +282,7 @@ def report_statistics(loss_info:dict):
|
|||||||
for key in keys:
|
for key in keys:
|
||||||
try:
|
try:
|
||||||
print("Loss statistics for file " + key)
|
print("Loss statistics for file " + key)
|
||||||
info, recent = statistics(loss_info[key])
|
info, recent = statistics(list(loss_info[key]))
|
||||||
print(info)
|
print(info)
|
||||||
print(recent)
|
print(recent)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user