Commit 0d2e1dac authored by AngelBottomless's avatar AngelBottomless Committed by AUTOMATIC1111

convert deque -> list

I don't feel this being efficient
parent 348f89c8
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment