mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 18:33:01 +00:00
CallbackNBatchCsv: bugfix .sort() → sorted()
This commit is contained in:
parent
4dddcfcb42
commit
44ad51f483
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class CallbackNBatchCsv(tf.keras.callbacks.Callback):
|
|||
|
||||
def write_header(self, logs): # logs = metrics
|
||||
self.keys = logs.keys()
|
||||
self.keys.sort()
|
||||
self.keys = sorted(self.keys)
|
||||
self.handle.write("\t".join(self.keys)+"\n")
|
||||
|
||||
def on_batch_end(self, batch, logs=None): # logs = metrics
|
||||
|
|
Loading…
Reference in a new issue