Skip to content
Snippets Groups Projects
Commit 0be81e05 authored by Jacques Fize's avatar Jacques Fize
Browse files

debug EpochTimer

parent ebb50517
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,7 @@ class EpochTimer(Callback): ...@@ -184,7 +184,7 @@ class EpochTimer(Callback):
# self.output = open(log_filename,'a') # self.output = open(log_filename,'a')
# self.epoch = pd.read_csv(log_filename).Epoch.max() # self.epoch = pd.read_csv(log_filename).Epoch.max()
# else: # else:
self.output = open(log_filename,'w') self.output = open(log_filename,'a')
self.output.write("{0},{1},{2},{3},{4},{5}\n".format("Epoch","Execution Time","Loss","Val_Loss","Accuracy","Accuracy_val")) self.output.write("{0},{1},{2},{3},{4},{5}\n".format("Epoch","Execution Time","Loss","Val_Loss","Accuracy","Accuracy_val"))
self.output.flush() self.output.flush()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment