convert deque -> list

I don't feel this being efficient
This commit is contained in:
AngelBottomless 2022-10-23 21:41:39 +09:00 committed by AUTOMATIC1111
parent 348f89c8d4
commit 0d2e1dac40

View File

@ -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: