Current Progress: After final design presentation

This commit is contained in:
wls2002
2023-06-14 10:20:55 +08:00
parent 2b79f2c903
commit bd421de9ad
6 changed files with 99 additions and 113 deletions

View File

@@ -43,7 +43,7 @@ def main():
else:
res = "success"
with open("log", "wb") as f:
with open("log", "ab") as f:
f.write(f"{res}, total time: {total_time:.2f}s, evaluate time: {evaluate_time:.2f}s, total_it: {total_it}\n".encode("utf-8"))
f.write(str(pipeline.generation_time_list).encode("utf-8"))