I am trying to plot the training data. I am using
for i in range(epoch_size):
history = model.fit(trainingX[:10], trainingY[:10], epochs=1, batch_size=batch_size,callbacks = [early_stop], verbose=2)
in loop of 50
and then
plt.plot(history.history['acc'])
plt.title('model accuracy')
plt.ylabel('acc')
plt.xlabel('epoch')
plt.legend(['train', 'test'], loc='upper left')
plt.show()
yet the plot is always empty, why is that? img