I provide both training and validation data as Dataset iterators during training by fit
function. I want to save best model by validation dataset accuracy. However, during training at each epoch, I get warning like Can save best model only with val_acc, skipping.
I compiled the model with metrics = ['accuracy']
, declared monitor='val_acc'
in callback, and provided validation data as Dataset iterator like validation_data=my_val_dataset
in fit
. What else am I missing here?
I would really appreciate any help.
My Jupyter notebook is in my GitHub repo.