I am following along this tutorial, https://www.tensorflow.org/tutorials/keras/basic_classification
When I fit the model using model.fit(train_images, train_labels, epochs=5, verbose =1)
, the times are displayed in the python console. I want to get the wall time of each epoch by using time.clock()
.
I am assuming that when more epochs are added the fitting time increases linearly, but I want to graph this to be sure.
Besides fitting with 1 epoch, then 2 epochs, then 3 epochs, etc, how can I work out the training time (fitting time) for an increasing number of epochs?