Win and linux can run the code
This commit is contained in:
@@ -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"]))
|
||||
|
||||
Reference in New Issue
Block a user