Win and linux can run the code

This commit is contained in:
MZ YANG
2026-01-22 17:39:31 +08:00
parent c3f750cd9d
commit f37a8ce179
22 changed files with 32572 additions and 87 deletions

View File

@@ -35,7 +35,7 @@ def main():
loss_cont = []
loss_disc = []
with log_path.open("r", encoding="ascii", newline="") as f:
with log_path.open("r", encoding="utf-8", newline="") as f:
reader = csv.DictReader(f)
for row in reader:
steps.append(int(row["step"]))