changed a to a+ if file doesnt exist, in evaluation.py
This commit is contained in:
parent
8efece9077
commit
cd2a5f7265
@ -24,7 +24,7 @@ print("RMSE: ",metrics[2])
|
||||
|
||||
|
||||
|
||||
with open('eval.csv', 'a', newline='') as f:
|
||||
with open('eval.csv', 'a+', newline='') as f:
|
||||
writer = csv.writer(f)
|
||||
writer.writerow((metrics[0],metrics[1], metrics[2]))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user