Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 87c80f0

Browse files
author
Thomas Capelle
committed
dict typo
1 parent 5e3ccde commit 87c80f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/keras_cvp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def on_epoch_end(self, epoch, logs={}):
5757
self.batch_times.sort()
5858
avg_time_per_batch = sum(self.batch_times[0:-self.drop])/(len(self.batch_times)-self.drop)
5959
samples_s_batch = self.batch_size / avg_time_per_batch
60-
wandb.log({"samples_per_batch", samples_s_batch}, step=epoch)
60+
wandb.log({"samples_per_batch": samples_s_batch}, step=epoch)
6161
self.samples_s += samples_s_batch
6262

6363
def on_train_end(self, logs={}):

0 commit comments

Comments
 (0)